2 writes to _rootSchema
System.Private.Xml (2)
System\Xml\Schema\Preprocessor.cs (2)
89_rootSchema = schema; // Need to lock main schema here 118_rootSchema = GetChameleonSchema(targetNamespace, _rootSchema); //Chameleon include at top-level
24 references to _rootSchema
System.Private.Xml (24)
System\Xml\Schema\Preprocessor.cs (24)
93_rootSchema.ImportedSchemas.Clear(); 94_rootSchema.ImportedNamespaces.Clear(); 97if (_rootSchema.BaseUri != null) 99if (_schemaLocations![_rootSchema.BaseUri] == null) 101_schemaLocations.Add(_rootSchema.BaseUri, _rootSchema); 105if (_rootSchema.TargetNamespace != null) 109targetNamespace = _rootSchema.TargetNamespace; 111else if (targetNamespace != _rootSchema.TargetNamespace) 113SendValidationEvent(SR.Sch_MismatchTargetNamespaceEx, targetNamespace, _rootSchema.TargetNamespace, _rootSchema); 118_rootSchema = GetChameleonSchema(targetNamespace, _rootSchema); //Chameleon include at top-level 122LoadExternals(_rootSchema); 125BuildSchemaList(_rootSchema); 138_rootSchemaForRedefine = _rootSchema; 139Preprocess(_rootSchema, targetNamespace, _rootSchema.ImportedSchemas); 169_rootSchema.IsPreprocessed = !HasErrors; //For chameleon at top-level 236return _rootSchema; //This is required to get back a cloned chameleon 688if (includedSchema != _rootSchema) 696if (!_rootSchema!.ImportedNamespaces.Contains(importNS)) 698_rootSchema.ImportedNamespaces.Add(importNS); 1449if (_rootSchema!.IdentityConstraints[constraint.QualifiedName] != null) 1456_rootSchema.IdentityConstraints.Add(constraint.QualifiedName, constraint);