13 writes to Schema
System.Web.Services (1)
System\Web\Services\Discovery\SchemaReference.cs (1)
117
external.
Schema
= externalRef.GetSchema();
System.Xml (12)
System\Xml\Schema\Inference\Infer.cs (2)
484
import.
Schema
= xs;
589
import.
Schema
= xs;
System\Xml\Schema\Preprocessor.cs (5)
285
include.
Schema
= Preprocessor.GetBuildInSchema();
313
include.
Schema
= (XmlSchema)obj;
341
include.
Schema
= includedSchema;
361
include.
Schema
= (XmlSchema)schemaLocations[ruri]; //Set schema object even for duplicates
558
include.
Schema
= externalSchema; //Reset the schema property to the cloned schema
System\Xml\Schema\SchemaCollectionpreProcessor.cs (5)
148
include.
Schema
= xsc[importNS]; //Fetch it from the collection
150
include.
Schema
= include.Schema.Clone();
163
subImp.
Schema
= null; //So that the components are not included again
179
include.
Schema
= Preprocessor.GetBuildInSchema();
203
include.
Schema
= parser.XmlSchema;
58 references to Schema
System.Data (2)
fx\src\data\System\Data\XMLSchema.cs (2)
221
if (include.
Schema
!= null) {
222
CollectElementsAnnotations(include.
Schema
, schemaList);
System.ServiceModel (2)
System\ServiceModel\Description\MessageContractImporter.cs (2)
877
if (include.
Schema
!= null)
879
schemaSet.Add(include.
Schema
);
System.Web.Services (3)
System\Web\Services\Discovery\SchemaReference.cs (3)
111
if (external.SchemaLocation == null || external.SchemaLocation.Length == 0 || external.
Schema
!= null)
118
if (external.
Schema
!= null)
119
loadedExternals[location] = external.
Schema
;
System.Xml (51)
System\Xml\Schema\Preprocessor.cs (11)
228
if (ext.
Schema
!= null) {
229
BuildSchemaList(ext.
Schema
);
247
XmlSchema includedSchema = include.
Schema
;
314
schemaLocations.Add(ruri, include.
Schema
);
315
LoadExternals(include.
Schema
);
494
XmlSchema externalSchema = include.
Schema
;
535
XmlSchema includedSchema = include.
Schema
;
579
XmlSchema includedSchema = external.
Schema
;
716
XmlSchema originalSchema = redefine.
Schema
;
837
if (external.
Schema
!= null) {
838
GetIncludedSet(external.
Schema
, includesList);
System\Xml\Schema\SchemaCollectionCompiler.cs (2)
81
if (include.
Schema
!= null) {
82
Cleanup(include.
Schema
);
System\Xml\Schema\SchemaCollectionpreProcessor.cs (32)
68
if (include.
Schema
!= null) {
69
include.
Schema
.IsPreprocessed = true;
85
if (include.
Schema
!= null) {
86
Cleanup(include.
Schema
);
129
if (include.
Schema
!= null) {
139
LoadExternals(include.
Schema
, xsc);
149
if (include.
Schema
!= null) {
150
include.Schema = include.
Schema
.Clone();
151
if (include.
Schema
.BaseUri != null && schemaLocations[include.
Schema
.BaseUri] == null) {
152
schemaLocations.Add(include.
Schema
.BaseUri, include.
Schema
.BaseUri);
156
for (int j = 0; j < include.
Schema
.Includes.Count; ++j) {
157
XmlSchemaExternal subInc = (XmlSchemaExternal)include.
Schema
.Includes[j];
160
subUri = subImp.BaseUri != null ? subImp.BaseUri : (subImp.
Schema
!= null && subImp.
Schema
.BaseUri != null ? subImp.
Schema
.BaseUri : null);
204
LoadExternals(include.
Schema
, xsc);
320
else if((include is XmlSchemaRedefine || include is XmlSchemaInclude) && include.
Schema
== null) {
323
if (include.
Schema
!= null) {
325
Preprocess(include.
Schema
, schema.TargetNamespace, Compositor.Include);
334
Preprocess(include.
Schema
, ((XmlSchemaImport)include).Namespace, Compositor.Import);
337
Preprocess(include.
Schema
, schema.TargetNamespace, Compositor.Include);
401
if (include.
Schema
!= null) {
414
XmlSchema includedSchema = include.
Schema
;
499
group.Redefined = (XmlSchemaGroup)redefine.
Schema
.Groups[group.QualifiedName];
516
attributeGroup.Redefined = (XmlSchemaAttributeGroup)redefine.
Schema
.AttributeGroups[attributeGroup.QualifiedName];
533
XmlSchemaType type = (XmlSchemaType)redefine.
Schema
.SchemaTypes[complexType.QualifiedName];
556
XmlSchemaType type = (XmlSchemaType)redefine.
Schema
.SchemaTypes[simpleType.QualifiedName];
574
redefine.
Schema
.Groups.Insert((XmlQualifiedName)entry.Key, (XmlSchemaObject)entry.Value);
577
redefine.
Schema
.AttributeGroups.Insert((XmlQualifiedName)entry.Key, (XmlSchemaObject)entry.Value);
580
redefine.
Schema
.SchemaTypes.Insert((XmlQualifiedName)entry.Key, (XmlSchemaObject)entry.Value);
System\Xml\Schema\XmlSchema.cs (2)
631
if (ext.
Schema
!= null) {
632
GetExternalSchemasList(extList, ext.
Schema
);
System\Xml\Serialization\XmlSchemas.cs (4)
407
if (external.
Schema
!= null) {
408
Merge(external.
Schema
);
415
if (external.
Schema
== null) {
423
Merge(originals, external.
Schema
);