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();
102
if (
_rootSchema
.BaseUri != null)
104
if (_schemaLocations[
_rootSchema
.BaseUri] == null)
106
_schemaLocations.Add(
_rootSchema
.BaseUri,
_rootSchema
);
110
if (
_rootSchema
.TargetNamespace != null)
114
targetNamespace =
_rootSchema
.TargetNamespace;
116
else if (targetNamespace !=
_rootSchema
.TargetNamespace)
118
SendValidationEvent(ResXml.Sch_MismatchTargetNamespaceEx, targetNamespace,
_rootSchema
.TargetNamespace,
_rootSchema
);
123
_rootSchema = GetChameleonSchema(targetNamespace,
_rootSchema
); //Chameleon include at top-level
127
LoadExternals(
_rootSchema
);
129
BuildSchemaList(
_rootSchema
);
145
_rootSchemaForRedefine =
_rootSchema
;
146
Preprocess(
_rootSchema
, targetNamespace,
_rootSchema
.ImportedSchemas);
176
_rootSchema
.IsPreprocessed = !HasErrors; //For chameleon at top-level
254
return
_rootSchema
; //This is required to get back a cloned chameleon
714
if (includedSchema !=
_rootSchema
)
722
if (!
_rootSchema
.ImportedNamespaces.Contains(importNS))
724
_rootSchema
.ImportedNamespaces.Add(importNS);
1482
if (
_rootSchema
.IdentityConstraints[constraint.QualifiedName] != null)
1489
_rootSchema
.IdentityConstraints.Add(constraint.QualifiedName, constraint);