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