2 writes to _rootSchema
dotnet-svcutil-lib (2)
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (2)
94_rootSchema = schema; //Need to lock main schema here 123_rootSchema = GetChameleonSchema(targetNamespace, _rootSchema); //Chameleon include at top-level
24 references to _rootSchema
dotnet-svcutil-lib (24)
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (24)
98_rootSchema.ImportedSchemas.Clear(); 99_rootSchema.ImportedNamespaces.Clear(); 102if (_rootSchema.BaseUri != null) 104if (_schemaLocations[_rootSchema.BaseUri] == null) 106_schemaLocations.Add(_rootSchema.BaseUri, _rootSchema); 110if (_rootSchema.TargetNamespace != null) 114targetNamespace = _rootSchema.TargetNamespace; 116else if (targetNamespace != _rootSchema.TargetNamespace) 118SendValidationEvent(ResXml.Sch_MismatchTargetNamespaceEx, targetNamespace, _rootSchema.TargetNamespace, _rootSchema); 123_rootSchema = GetChameleonSchema(targetNamespace, _rootSchema); //Chameleon include at top-level 127LoadExternals(_rootSchema); 129BuildSchemaList(_rootSchema); 145_rootSchemaForRedefine = _rootSchema; 146Preprocess(_rootSchema, targetNamespace, _rootSchema.ImportedSchemas); 176_rootSchema.IsPreprocessed = !HasErrors; //For chameleon at top-level 254return _rootSchema; //This is required to get back a cloned chameleon 714if (includedSchema != _rootSchema) 722if (!_rootSchema.ImportedNamespaces.Contains(importNS)) 724_rootSchema.ImportedNamespaces.Add(importNS); 1482if (_rootSchema.IdentityConstraints[constraint.QualifiedName] != null) 1489_rootSchema.IdentityConstraints.Add(constraint.QualifiedName, constraint);