System.Xml.Serialization.CodeExporter.CheckScope C# (CSharp) 메소드

CheckScope() 개인적인 메소드

private CheckScope ( TypeScope scope ) : void
scope TypeScope
리턴 void
        internal void CheckScope(TypeScope scope) {
            if (this.scope == null) {
                this.scope = scope;
            }
            else if (this.scope != scope) {
                throw new InvalidOperationException(Res.GetString(Res.XmlMappingsScopeMismatch));
            }
        }