13 writes to Schema
dotnet-svcutil-lib (13)
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (2)
486
import.
Schema
= xs;
590
import.
Schema
= xs;
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (5)
338
include.
Schema
= Preprocessor.GetBuildInSchema();
374
include.
Schema
= (XmlSchema)obj;
408
include.
Schema
= includedSchema;
433
include.
Schema
= (XmlSchema)_schemaLocations[ruri]; //Set schema object even for duplicates
663
include.
Schema
= externalSchema; //Reset the schema property to the cloned schema
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionPreprocessor.cs (5)
172
include.
Schema
= xsc[importNS]; //Fetch it from the collection
175
include.
Schema
= include.Schema.Clone();
193
subImp.
Schema
= null; //So that the components are not included again
212
include.
Schema
= Preprocessor.GetBuildInSchema();
240
include.
Schema
= parser.XmlSchema;
Metadata\MetadataDocumentLoader.cs (1)
591
include.
Schema
= chameleonSchema;
56 references to Schema
dotnet-svcutil-lib (56)
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (11)
268
if (ext.
Schema
!= null)
270
BuildSchemaList(ext.
Schema
);
291
XmlSchema includedSchema = include.
Schema
;
375
_schemaLocations.Add(ruri, include.
Schema
);
376
LoadExternals(include.
Schema
);
585
XmlSchema externalSchema = include.
Schema
;
635
XmlSchema includedSchema = include.
Schema
;
685
XmlSchema includedSchema = external.
Schema
;
853
XmlSchema originalSchema = redefine.
Schema
;
1002
if (external.
Schema
!= null)
1004
GetIncludedSet(external.
Schema
, includesList);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (2)
96
if (include.
Schema
!= null)
98
Cleanup(include.
Schema
);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionPreprocessor.cs (32)
77
if (include.
Schema
!= null)
79
include.
Schema
.IsPreprocessed = true;
98
if (include.
Schema
!= null)
100
Cleanup(include.
Schema
);
148
if (include.
Schema
!= null)
162
LoadExternals(include.
Schema
, xsc);
173
if (include.
Schema
!= null)
175
include.Schema = include.
Schema
.Clone();
176
if (include.
Schema
.BaseUri != null && _schemaLocations[include.
Schema
.BaseUri] == null)
178
_schemaLocations.Add(include.
Schema
.BaseUri, include.
Schema
.BaseUri);
182
for (int j = 0; j < include.
Schema
.Includes.Count; ++j)
184
XmlSchemaExternal subInc = (XmlSchemaExternal)include.
Schema
.Includes[j];
188
subUri = subImp.BaseUri != null ? subImp.BaseUri : (subImp.
Schema
!= null && subImp.
Schema
.BaseUri != null ? subImp.
Schema
.BaseUri : null);
241
LoadExternals(include.
Schema
, xsc);
382
else if ((include is XmlSchemaRedefine || include is XmlSchemaInclude) && include.
Schema
== null)
386
if (include.
Schema
!= null)
390
Preprocess(include.
Schema
, schema.TargetNamespace, Compositor.Include);
402
Preprocess(include.
Schema
, ((XmlSchemaImport)include).Namespace, Compositor.Import);
406
Preprocess(include.
Schema
, schema.TargetNamespace, Compositor.Include);
488
if (include.
Schema
!= null)
504
XmlSchema includedSchema = include.
Schema
;
611
group.Redefined = (XmlSchemaGroup)redefine.
Schema
.Groups[group.QualifiedName];
633
attributeGroup.Redefined = (XmlSchemaAttributeGroup)redefine.
Schema
.AttributeGroups[attributeGroup.QualifiedName];
655
XmlSchemaType type = (XmlSchemaType)redefine.
Schema
.SchemaTypes[complexType.QualifiedName];
685
XmlSchemaType type = (XmlSchemaType)redefine.
Schema
.SchemaTypes[simpleType.QualifiedName];
708
redefine.
Schema
.Groups.Insert((XmlQualifiedName)entry.Key, (XmlSchemaObject)entry.Value);
712
redefine.
Schema
.AttributeGroups.Insert((XmlQualifiedName)entry.Key, (XmlSchemaObject)entry.Value);
716
redefine.
Schema
.SchemaTypes.Insert((XmlQualifiedName)entry.Key, (XmlSchemaObject)entry.Value);
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchema.cs (2)
711
if (ext.
Schema
!= null)
713
GetExternalSchemasList(extList, ext.
Schema
);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemas.cs (4)
484
if (external.
Schema
!= null)
486
Merge(external.
Schema
);
495
if (external.
Schema
== null)
506
Merge(originals, external.
Schema
);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (2)
865
if (include.
Schema
!= null)
867
schemaSet.Add(include.
Schema
);
Metadata\MetadataDocumentLoader.cs (2)
667
if (include.
Schema
!= null)
669
UpdateSchemaSourceUri(include.
Schema
, schema.SourceUri);
Metadata\MetadataDocumentSaver.cs (1)
197
else if (schemaExternal.
Schema
== null)