9 instantiations of SchemaNames
System.Private.Xml (9)
System\Xml\Schema\BaseProcessor.cs (1)
38
protected SchemaNames SchemaNames => _schemaNames ??= new
SchemaNames
(_nameTable);
System\Xml\Schema\BaseValidator.cs (1)
88
_schemaNames = new
SchemaNames
(_nameTable);
System\Xml\Schema\XmlSchema.cs (1)
75
Parser parser = new Parser(SchemaType.XSD, nameTable, new
SchemaNames
(nameTable), validationEventHandler);
System\Xml\Schema\XmlSchemaCollection.cs (2)
280
return new
SchemaNames
(nt);
284
return _schemaNames ??= new
SchemaNames
(_nameTable);
System\Xml\Schema\XmlSchemaSet.cs (2)
1230
return new
SchemaNames
(nt);
1234
return _schemaNames ??= new
SchemaNames
(_nameTable);
System\Xml\Serialization\XmlSchemas.cs (2)
288
Preprocessor prep = new Preprocessor(nameTable, new
SchemaNames
(nameTable), null);
675
Preprocessor prep = new Preprocessor(nameTable, new
SchemaNames
(nameTable), null);
296 references to SchemaNames
System.Private.Xml (296)
System\Xml\Schema\BaseProcessor.cs (4)
13
private
SchemaNames
? _schemaNames;
19
public BaseProcessor(XmlNameTable nameTable,
SchemaNames
? schemaNames, ValidationEventHandler? eventHandler)
23
public BaseProcessor(XmlNameTable nameTable,
SchemaNames
? schemaNames, ValidationEventHandler? eventHandler, XmlSchemaCompilationSettings? compilationSettings)
38
protected
SchemaNames
SchemaNames => _schemaNames ??= new SchemaNames(_nameTable);
System\Xml\Schema\BaseValidator.cs (2)
20
private
SchemaNames
? _schemaNames;
73
public
SchemaNames
SchemaNames
System\Xml\Schema\Parser.cs (2)
18
private readonly
SchemaNames
_schemaNames;
38
public Parser(SchemaType schemaType, XmlNameTable nameTable,
SchemaNames
schemaNames, ValidationEventHandler? eventHandler)
System\Xml\Schema\Preprocessor.cs (2)
75
public Preprocessor(XmlNameTable nameTable,
SchemaNames
schemaNames, ValidationEventHandler? eventHandler)
79
public Preprocessor(XmlNameTable nameTable,
SchemaNames
schemaNames, ValidationEventHandler? eventHandler, XmlSchemaCompilationSettings compilationSettings)
System\Xml\Schema\SchemaCollectionpreProcessor.cs (1)
44
public SchemaCollectionPreprocessor(XmlNameTable nameTable,
SchemaNames
? schemaNames, ValidationEventHandler? eventHandler)
System\Xml\Schema\XdrBuilder.cs (63)
175
internal
SchemaNames
.Token _Attribute; // possible attribute names
180
internal XdrAttributeEntry(
SchemaNames
.Token a, XmlTokenizedType ttype, XdrBuildFunction build)
187
internal XdrAttributeEntry(
SchemaNames
.Token a, XmlTokenizedType ttype, int schemaFlags, XdrBuildFunction build)
202
internal
SchemaNames
.Token _Name; // the name of the object it is comparing to
210
internal XdrEntry(
SchemaNames
.Token n,
247
new XdrAttributeEntry(
SchemaNames
.Token.SchemaName, XmlTokenizedType.CDATA, new XdrBuildFunction(XDR_BuildRoot_Name) ),
248
new XdrAttributeEntry(
SchemaNames
.Token.SchemaId, XmlTokenizedType.QName, new XdrBuildFunction(XDR_BuildRoot_ID) )
253
new XdrAttributeEntry(
SchemaNames
.Token.SchemaName, XmlTokenizedType.QName, SchemaFlagsNs, new XdrBuildFunction(XDR_BuildElementType_Name) ),
254
new XdrAttributeEntry(
SchemaNames
.Token.SchemaContent, XmlTokenizedType.QName, new XdrBuildFunction(XDR_BuildElementType_Content) ),
255
new XdrAttributeEntry(
SchemaNames
.Token.SchemaModel, XmlTokenizedType.QName, new XdrBuildFunction(XDR_BuildElementType_Model) ),
256
new XdrAttributeEntry(
SchemaNames
.Token.SchemaOrder, XmlTokenizedType.QName, new XdrBuildFunction(XDR_BuildElementType_Order) ),
257
new XdrAttributeEntry(
SchemaNames
.Token.SchemaDtType, XmlTokenizedType.CDATA, new XdrBuildFunction(XDR_BuildElementType_DtType) ),
258
new XdrAttributeEntry(
SchemaNames
.Token.SchemaDtValues, XmlTokenizedType.NMTOKENS, new XdrBuildFunction(XDR_BuildElementType_DtValues) ),
259
new XdrAttributeEntry(
SchemaNames
.Token.SchemaDtMaxLength, XmlTokenizedType.CDATA, new XdrBuildFunction(XDR_BuildElementType_DtMaxLength) ),
260
new XdrAttributeEntry(
SchemaNames
.Token.SchemaDtMinLength, XmlTokenizedType.CDATA, new XdrBuildFunction(XDR_BuildElementType_DtMinLength) )
265
new XdrAttributeEntry(
SchemaNames
.Token.SchemaName, XmlTokenizedType.QName, new XdrBuildFunction(XDR_BuildAttributeType_Name) ),
266
new XdrAttributeEntry(
SchemaNames
.Token.SchemaRequired, XmlTokenizedType.QName, new XdrBuildFunction(XDR_BuildAttributeType_Required) ),
267
new XdrAttributeEntry(
SchemaNames
.Token.SchemaDefault, XmlTokenizedType.CDATA, new XdrBuildFunction(XDR_BuildAttributeType_Default) ),
268
new XdrAttributeEntry(
SchemaNames
.Token.SchemaDtType, XmlTokenizedType.QName, new XdrBuildFunction(XDR_BuildAttributeType_DtType) ),
269
new XdrAttributeEntry(
SchemaNames
.Token.SchemaDtValues, XmlTokenizedType.NMTOKENS, new XdrBuildFunction(XDR_BuildAttributeType_DtValues) ),
270
new XdrAttributeEntry(
SchemaNames
.Token.SchemaDtMaxLength, XmlTokenizedType.CDATA, new XdrBuildFunction(XDR_BuildAttributeType_DtMaxLength) ),
271
new XdrAttributeEntry(
SchemaNames
.Token.SchemaDtMinLength, XmlTokenizedType.CDATA, new XdrBuildFunction(XDR_BuildAttributeType_DtMinLength) )
276
new XdrAttributeEntry(
SchemaNames
.Token.SchemaType, XmlTokenizedType.QName, SchemaFlagsNs, new XdrBuildFunction(XDR_BuildElement_Type) ),
277
new XdrAttributeEntry(
SchemaNames
.Token.SchemaMinOccurs, XmlTokenizedType.CDATA, new XdrBuildFunction(XDR_BuildElement_MinOccurs) ),
278
new XdrAttributeEntry(
SchemaNames
.Token.SchemaMaxOccurs, XmlTokenizedType.CDATA, new XdrBuildFunction(XDR_BuildElement_MaxOccurs) )
283
new XdrAttributeEntry(
SchemaNames
.Token.SchemaType, XmlTokenizedType.QName, new XdrBuildFunction(XDR_BuildAttribute_Type) ),
284
new XdrAttributeEntry(
SchemaNames
.Token.SchemaRequired, XmlTokenizedType.QName, new XdrBuildFunction(XDR_BuildAttribute_Required) ),
285
new XdrAttributeEntry(
SchemaNames
.Token.SchemaDefault, XmlTokenizedType.CDATA, new XdrBuildFunction(XDR_BuildAttribute_Default) )
290
new XdrAttributeEntry(
SchemaNames
.Token.SchemaOrder, XmlTokenizedType.QName, new XdrBuildFunction(XDR_BuildGroup_Order) ),
291
new XdrAttributeEntry(
SchemaNames
.Token.SchemaMinOccurs, XmlTokenizedType.CDATA, new XdrBuildFunction(XDR_BuildGroup_MinOccurs) ),
292
new XdrAttributeEntry(
SchemaNames
.Token.SchemaMaxOccurs, XmlTokenizedType.CDATA, new XdrBuildFunction(XDR_BuildGroup_MaxOccurs) )
297
new XdrAttributeEntry(
SchemaNames
.Token.SchemaDtType, XmlTokenizedType.CDATA, new XdrBuildFunction(XDR_BuildElementType_DtType) ),
298
new XdrAttributeEntry(
SchemaNames
.Token.SchemaDtValues, XmlTokenizedType.NMTOKENS, new XdrBuildFunction(XDR_BuildElementType_DtValues) ),
299
new XdrAttributeEntry(
SchemaNames
.Token.SchemaDtMaxLength, XmlTokenizedType.CDATA, new XdrBuildFunction(XDR_BuildElementType_DtMaxLength) ),
300
new XdrAttributeEntry(
SchemaNames
.Token.SchemaDtMinLength, XmlTokenizedType.CDATA, new XdrBuildFunction(XDR_BuildElementType_DtMinLength) )
305
new XdrAttributeEntry(
SchemaNames
.Token.SchemaDtType, XmlTokenizedType.QName, new XdrBuildFunction(XDR_BuildAttributeType_DtType) ),
306
new XdrAttributeEntry(
SchemaNames
.Token.SchemaDtValues, XmlTokenizedType.NMTOKENS, new XdrBuildFunction(XDR_BuildAttributeType_DtValues) ),
307
new XdrAttributeEntry(
SchemaNames
.Token.SchemaDtMaxLength, XmlTokenizedType.CDATA, new XdrBuildFunction(XDR_BuildAttributeType_DtMaxLength) ),
308
new XdrAttributeEntry(
SchemaNames
.Token.SchemaDtMinLength, XmlTokenizedType.CDATA, new XdrBuildFunction(XDR_BuildAttributeType_DtMinLength) )
315
new XdrEntry(
SchemaNames
.Token.Empty, s_XDR_Root_Element, null,
320
new XdrEntry(
SchemaNames
.Token.XdrRoot, s_XDR_Root_SubElements, s_XDR_Root_Attributes,
325
new XdrEntry(
SchemaNames
.Token.XdrElementType, s_XDR_ElementType_SubElements, s_XDR_ElementType_Attributes,
330
new XdrEntry(
SchemaNames
.Token.XdrAttributeType, s_XDR_AttributeType_SubElements, s_XDR_AttributeType_Attributes,
335
new XdrEntry(
SchemaNames
.Token.XdrElement, null, s_XDR_Element_Attributes,
340
new XdrEntry(
SchemaNames
.Token.XdrAttribute, null, s_XDR_Attribute_Attributes,
345
new XdrEntry(
SchemaNames
.Token.XdrGroup, s_XDR_Group_SubElements, s_XDR_Group_Attributes,
350
new XdrEntry(
SchemaNames
.Token.XdrDatatype, null, s_XDR_ElementDataType_Attributes,
355
new XdrEntry(
SchemaNames
.Token.XdrDatatype, null, s_XDR_AttributeDataType_Attributes,
384
private readonly
SchemaNames
_SchemaNames;
402
SchemaNames
schemaNames,
462
if (a._Attribute !=
SchemaNames
.Token.SchemaType)
1511
if (_SchemaNames.TokenToQName[(int)
SchemaNames
.Token.XdrDescription].Equals(qname) ||
1512
_SchemaNames.TokenToQName[(int)
SchemaNames
.Token.XdrExtends].Equals(qname))
1531
_CurState._Name ==
SchemaNames
.Token.XdrDatatype &&
1546
if (_SchemaNames.TokenToQName[(int)
SchemaNames
.Token.SchemaSeq].Equals(qname))
1550
else if (_SchemaNames.TokenToQName[(int)
SchemaNames
.Token.SchemaOne].Equals(qname))
1554
else if (_SchemaNames.TokenToQName[(int)
SchemaNames
.Token.SchemaMany].Equals(qname))
1722
if (_SchemaNames.TokenToQName[(int)
SchemaNames
.Token.SchemaEmpty].Equals(qname))
1727
else if (_SchemaNames.TokenToQName[(int)
SchemaNames
.Token.SchemaElementOnly].Equals(qname))
1732
else if (_SchemaNames.TokenToQName[(int)
SchemaNames
.Token.SchemaMixed].Equals(qname))
1737
else if (_SchemaNames.TokenToQName[(int)
SchemaNames
.Token.SchemaTextOnly].Equals(qname))
1751
if (_SchemaNames.TokenToQName[(int)
SchemaNames
.Token.SchemaOpen].Equals(qname))
1753
else if (_SchemaNames.TokenToQName[(int)
SchemaNames
.Token.SchemaClosed].Equals(qname))
System\Xml\Schema\XmlSchemaCollection.cs (2)
27
private
SchemaNames
? _schemaNames;
276
internal
SchemaNames
GetSchemaNames(XmlNameTable nt)
System\Xml\Schema\XmlSchemaDataType.cs (1)
240
internal static string XdrCanonizeUri(string uri, XmlNameTable nameTable,
SchemaNames
schemaNames)
System\Xml\Schema\XmlSchemaSet.cs (3)
25
private
SchemaNames
? _schemaNames;
1087
SchemaNames
schemaNames = GetSchemaNames(readerNameTable);
1226
internal
SchemaNames
GetSchemaNames(XmlNameTable nt)
System\Xml\Schema\XsdBuilder.cs (216)
74
public
SchemaNames
.Token Attribute; // possible attribute names
77
public XsdAttributeEntry(
SchemaNames
.Token a, XsdBuildFunction build)
90
public
SchemaNames
.Token Name; // the name of the object it is comparing to
98
public XsdEntry(
SchemaNames
.Token n,
203
new XsdAttributeEntry(
SchemaNames
.Token.SchemaAttributeFormDefault, new XsdBuildFunction(BuildSchema_AttributeFormDefault) ),
204
new XsdAttributeEntry(
SchemaNames
.Token.SchemaElementFormDefault, new XsdBuildFunction(BuildSchema_ElementFormDefault) ),
205
new XsdAttributeEntry(
SchemaNames
.Token.SchemaTargetNamespace, new XsdBuildFunction(BuildSchema_TargetNamespace) ),
206
new XsdAttributeEntry(
SchemaNames
.Token.SchemaId, new XsdBuildFunction(BuildAnnotated_Id) ),
207
new XsdAttributeEntry(
SchemaNames
.Token.SchemaVersion, new XsdBuildFunction(BuildSchema_Version) ),
208
new XsdAttributeEntry(
SchemaNames
.Token.SchemaFinalDefault, new XsdBuildFunction(BuildSchema_FinalDefault) ),
209
new XsdAttributeEntry(
SchemaNames
.Token.SchemaBlockDefault, new XsdBuildFunction(BuildSchema_BlockDefault) )
213
new XsdAttributeEntry(
SchemaNames
.Token.SchemaDefault, new XsdBuildFunction(BuildAttribute_Default) ),
214
new XsdAttributeEntry(
SchemaNames
.Token.SchemaFixed, new XsdBuildFunction(BuildAttribute_Fixed) ),
215
new XsdAttributeEntry(
SchemaNames
.Token.SchemaForm, new XsdBuildFunction(BuildAttribute_Form) ),
216
new XsdAttributeEntry(
SchemaNames
.Token.SchemaId, new XsdBuildFunction(BuildAnnotated_Id) ),
217
new XsdAttributeEntry(
SchemaNames
.Token.SchemaName, new XsdBuildFunction(BuildAttribute_Name) ),
218
new XsdAttributeEntry(
SchemaNames
.Token.SchemaRef, new XsdBuildFunction(BuildAttribute_Ref) ),
219
new XsdAttributeEntry(
SchemaNames
.Token.SchemaType, new XsdBuildFunction(BuildAttribute_Type) ),
220
new XsdAttributeEntry(
SchemaNames
.Token.SchemaUse, new XsdBuildFunction(BuildAttribute_Use) )
224
new XsdAttributeEntry(
SchemaNames
.Token.SchemaAbstract, new XsdBuildFunction(BuildElement_Abstract) ),
225
new XsdAttributeEntry(
SchemaNames
.Token.SchemaBlock, new XsdBuildFunction(BuildElement_Block) ),
226
new XsdAttributeEntry(
SchemaNames
.Token.SchemaDefault, new XsdBuildFunction(BuildElement_Default) ),
227
new XsdAttributeEntry(
SchemaNames
.Token.SchemaFinal, new XsdBuildFunction(BuildElement_Final) ),
228
new XsdAttributeEntry(
SchemaNames
.Token.SchemaFixed, new XsdBuildFunction(BuildElement_Fixed) ),
229
new XsdAttributeEntry(
SchemaNames
.Token.SchemaForm, new XsdBuildFunction(BuildElement_Form) ),
230
new XsdAttributeEntry(
SchemaNames
.Token.SchemaId, new XsdBuildFunction(BuildAnnotated_Id) ),
231
new XsdAttributeEntry(
SchemaNames
.Token.SchemaMaxOccurs, new XsdBuildFunction(BuildElement_MaxOccurs) ),
232
new XsdAttributeEntry(
SchemaNames
.Token.SchemaMinOccurs, new XsdBuildFunction(BuildElement_MinOccurs) ),
233
new XsdAttributeEntry(
SchemaNames
.Token.SchemaName, new XsdBuildFunction(BuildElement_Name) ),
234
new XsdAttributeEntry(
SchemaNames
.Token.SchemaNillable, new XsdBuildFunction(BuildElement_Nillable) ),
235
new XsdAttributeEntry(
SchemaNames
.Token.SchemaRef, new XsdBuildFunction(BuildElement_Ref) ),
236
new XsdAttributeEntry(
SchemaNames
.Token.SchemaSubstitutionGroup, new XsdBuildFunction(BuildElement_SubstitutionGroup) ),
237
new XsdAttributeEntry(
SchemaNames
.Token.SchemaType, new XsdBuildFunction(BuildElement_Type) )
241
new XsdAttributeEntry(
SchemaNames
.Token.SchemaAbstract, new XsdBuildFunction(BuildComplexType_Abstract) ),
242
new XsdAttributeEntry(
SchemaNames
.Token.SchemaBlock, new XsdBuildFunction(BuildComplexType_Block) ),
243
new XsdAttributeEntry(
SchemaNames
.Token.SchemaFinal, new XsdBuildFunction(BuildComplexType_Final) ),
244
new XsdAttributeEntry(
SchemaNames
.Token.SchemaId, new XsdBuildFunction(BuildAnnotated_Id) ),
245
new XsdAttributeEntry(
SchemaNames
.Token.SchemaMixed, new XsdBuildFunction(BuildComplexType_Mixed) ),
246
new XsdAttributeEntry(
SchemaNames
.Token.SchemaName, new XsdBuildFunction(BuildComplexType_Name) )
250
new XsdAttributeEntry(
SchemaNames
.Token.SchemaId, new XsdBuildFunction(BuildAnnotated_Id) ),
254
new XsdAttributeEntry(
SchemaNames
.Token.SchemaBase, new XsdBuildFunction(BuildSimpleContentExtension_Base) ),
255
new XsdAttributeEntry(
SchemaNames
.Token.SchemaId, new XsdBuildFunction(BuildAnnotated_Id) )
259
new XsdAttributeEntry(
SchemaNames
.Token.SchemaBase, new XsdBuildFunction(BuildSimpleContentRestriction_Base) ),
260
new XsdAttributeEntry(
SchemaNames
.Token.SchemaId, new XsdBuildFunction(BuildAnnotated_Id) ),
264
new XsdAttributeEntry(
SchemaNames
.Token.SchemaId, new XsdBuildFunction(BuildAnnotated_Id) ),
265
new XsdAttributeEntry(
SchemaNames
.Token.SchemaMixed, new XsdBuildFunction(BuildComplexContent_Mixed) ),
269
new XsdAttributeEntry(
SchemaNames
.Token.SchemaBase, new XsdBuildFunction(BuildComplexContentExtension_Base) ),
270
new XsdAttributeEntry(
SchemaNames
.Token.SchemaId, new XsdBuildFunction(BuildAnnotated_Id) ),
274
new XsdAttributeEntry(
SchemaNames
.Token.SchemaBase, new XsdBuildFunction(BuildComplexContentRestriction_Base) ),
275
new XsdAttributeEntry(
SchemaNames
.Token.SchemaId, new XsdBuildFunction(BuildAnnotated_Id) ),
279
new XsdAttributeEntry(
SchemaNames
.Token.SchemaId, new XsdBuildFunction(BuildAnnotated_Id) ),
280
new XsdAttributeEntry(
SchemaNames
.Token.SchemaFinal, new XsdBuildFunction(BuildSimpleType_Final) ),
281
new XsdAttributeEntry(
SchemaNames
.Token.SchemaName, new XsdBuildFunction(BuildSimpleType_Name) )
285
new XsdAttributeEntry(
SchemaNames
.Token.SchemaBase, new XsdBuildFunction(BuildSimpleTypeRestriction_Base) ),
286
new XsdAttributeEntry(
SchemaNames
.Token.SchemaId, new XsdBuildFunction(BuildAnnotated_Id) ),
290
new XsdAttributeEntry(
SchemaNames
.Token.SchemaId, new XsdBuildFunction(BuildAnnotated_Id) ),
291
new XsdAttributeEntry(
SchemaNames
.Token.SchemaMemberTypes, new XsdBuildFunction(BuildSimpleTypeUnion_MemberTypes) ),
295
new XsdAttributeEntry(
SchemaNames
.Token.SchemaId, new XsdBuildFunction(BuildAnnotated_Id) ),
296
new XsdAttributeEntry(
SchemaNames
.Token.SchemaItemType, new XsdBuildFunction(BuildSimpleTypeList_ItemType) ),
300
new XsdAttributeEntry(
SchemaNames
.Token.SchemaId, new XsdBuildFunction(BuildAnnotated_Id) ),
301
new XsdAttributeEntry(
SchemaNames
.Token.SchemaName, new XsdBuildFunction(BuildAttributeGroup_Name) ),
305
new XsdAttributeEntry(
SchemaNames
.Token.SchemaId, new XsdBuildFunction(BuildAnnotated_Id) ),
306
new XsdAttributeEntry(
SchemaNames
.Token.SchemaRef, new XsdBuildFunction(BuildAttributeGroupRef_Ref) )
310
new XsdAttributeEntry(
SchemaNames
.Token.SchemaId, new XsdBuildFunction(BuildAnnotated_Id) ),
311
new XsdAttributeEntry(
SchemaNames
.Token.SchemaName, new XsdBuildFunction(BuildGroup_Name) ),
315
new XsdAttributeEntry(
SchemaNames
.Token.SchemaId, new XsdBuildFunction(BuildAnnotated_Id) ),
316
new XsdAttributeEntry(
SchemaNames
.Token.SchemaMaxOccurs, new XsdBuildFunction(BuildParticle_MaxOccurs) ),
317
new XsdAttributeEntry(
SchemaNames
.Token.SchemaMinOccurs, new XsdBuildFunction(BuildParticle_MinOccurs) ),
318
new XsdAttributeEntry(
SchemaNames
.Token.SchemaRef, new XsdBuildFunction(BuildGroupRef_Ref) )
322
new XsdAttributeEntry(
SchemaNames
.Token.SchemaId, new XsdBuildFunction(BuildAnnotated_Id) ),
323
new XsdAttributeEntry(
SchemaNames
.Token.SchemaMaxOccurs, new XsdBuildFunction(BuildParticle_MaxOccurs) ),
324
new XsdAttributeEntry(
SchemaNames
.Token.SchemaMinOccurs, new XsdBuildFunction(BuildParticle_MinOccurs) ),
329
new XsdAttributeEntry(
SchemaNames
.Token.SchemaId, new XsdBuildFunction(BuildAnnotated_Id) ),
330
new XsdAttributeEntry(
SchemaNames
.Token.SchemaMaxOccurs, new XsdBuildFunction(BuildParticle_MaxOccurs) ),
331
new XsdAttributeEntry(
SchemaNames
.Token.SchemaMinOccurs, new XsdBuildFunction(BuildParticle_MinOccurs) ),
332
new XsdAttributeEntry(
SchemaNames
.Token.SchemaNamespace, new XsdBuildFunction(BuildAny_Namespace) ),
333
new XsdAttributeEntry(
SchemaNames
.Token.SchemaProcessContents, new XsdBuildFunction(BuildAny_ProcessContents) )
337
new XsdAttributeEntry(
SchemaNames
.Token.SchemaId, new XsdBuildFunction(BuildAnnotated_Id) ),
338
new XsdAttributeEntry(
SchemaNames
.Token.SchemaName, new XsdBuildFunction(BuildIdentityConstraint_Name) ),
339
new XsdAttributeEntry(
SchemaNames
.Token.SchemaRefer, new XsdBuildFunction(BuildIdentityConstraint_Refer) )
343
new XsdAttributeEntry(
SchemaNames
.Token.SchemaId, new XsdBuildFunction(BuildAnnotated_Id) ),
344
new XsdAttributeEntry(
SchemaNames
.Token.SchemaXPath, new XsdBuildFunction(BuildSelector_XPath) )
348
new XsdAttributeEntry(
SchemaNames
.Token.SchemaId, new XsdBuildFunction(BuildAnnotated_Id) ),
349
new XsdAttributeEntry(
SchemaNames
.Token.SchemaXPath, new XsdBuildFunction(BuildField_XPath) )
353
new XsdAttributeEntry(
SchemaNames
.Token.SchemaId, new XsdBuildFunction(BuildAnnotated_Id) ),
354
new XsdAttributeEntry(
SchemaNames
.Token.SchemaName, new XsdBuildFunction(BuildNotation_Name) ),
355
new XsdAttributeEntry(
SchemaNames
.Token.SchemaPublic, new XsdBuildFunction(BuildNotation_Public) ),
356
new XsdAttributeEntry(
SchemaNames
.Token.SchemaSystem, new XsdBuildFunction(BuildNotation_System) )
360
new XsdAttributeEntry(
SchemaNames
.Token.SchemaId, new XsdBuildFunction(BuildAnnotated_Id) ),
361
new XsdAttributeEntry(
SchemaNames
.Token.SchemaSchemaLocation, new XsdBuildFunction(BuildInclude_SchemaLocation) )
365
new XsdAttributeEntry(
SchemaNames
.Token.SchemaId, new XsdBuildFunction(BuildAnnotated_Id) ),
366
new XsdAttributeEntry(
SchemaNames
.Token.SchemaNamespace, new XsdBuildFunction(BuildImport_Namespace) ),
367
new XsdAttributeEntry(
SchemaNames
.Token.SchemaSchemaLocation, new XsdBuildFunction(BuildImport_SchemaLocation) )
371
new XsdAttributeEntry(
SchemaNames
.Token.SchemaId, new XsdBuildFunction(BuildAnnotated_Id) ),
372
new XsdAttributeEntry(
SchemaNames
.Token.SchemaFixed, new XsdBuildFunction(BuildFacet_Fixed) ),
373
new XsdAttributeEntry(
SchemaNames
.Token.SchemaValue, new XsdBuildFunction(BuildFacet_Value) )
377
new XsdAttributeEntry(
SchemaNames
.Token.SchemaId, new XsdBuildFunction(BuildAnnotated_Id) ),
378
new XsdAttributeEntry(
SchemaNames
.Token.SchemaNamespace, new XsdBuildFunction(BuildAnyAttribute_Namespace) ),
379
new XsdAttributeEntry(
SchemaNames
.Token.SchemaProcessContents, new XsdBuildFunction(BuildAnyAttribute_ProcessContents) )
383
new XsdAttributeEntry(
SchemaNames
.Token.SchemaSource, new XsdBuildFunction(BuildDocumentation_Source) ),
384
new XsdAttributeEntry(
SchemaNames
.Token.XmlLang, new XsdBuildFunction(BuildDocumentation_XmlLang) )
388
new XsdAttributeEntry(
SchemaNames
.Token.SchemaSource, new XsdBuildFunction(BuildAppinfo_Source) )
392
new XsdAttributeEntry(
SchemaNames
.Token.SchemaId, new XsdBuildFunction(BuildAnnotated_Id) ),
393
new XsdAttributeEntry(
SchemaNames
.Token.SchemaSchemaLocation, new XsdBuildFunction(BuildRedefine_SchemaLocation) )
397
new XsdAttributeEntry(
SchemaNames
.Token.SchemaId, new XsdBuildFunction(BuildAnnotated_Id) ),
404
/* Root */ new XsdEntry(
SchemaNames
.Token.Empty, State.Root, s_schemaElement, null,
408
/* Schema */ new XsdEntry(
SchemaNames
.Token.XsdSchema, State.Schema, s_schemaSubelements, s_schemaAttributes,
412
/* Annotation */ new XsdEntry(
SchemaNames
.Token.XsdAnnotation, State.Annotation, s_annotationSubelements, s_annotationAttributes,
416
/* Include */ new XsdEntry(
SchemaNames
.Token.XsdInclude, State.Include, s_annotatedSubelements, s_includeAttributes,
420
/* Import */ new XsdEntry(
SchemaNames
.Token.XsdImport, State.Import, s_annotatedSubelements, s_importAttributes,
424
/* Element */ new XsdEntry(
SchemaNames
.Token.XsdElement, State.Element, s_elementSubelements, s_elementAttributes,
428
/* Attribute */ new XsdEntry(
SchemaNames
.Token.XsdAttribute, State.Attribute, s_attributeSubelements, s_attributeAttributes,
432
/* AttributeGroup */ new XsdEntry(
SchemaNames
.Token.xsdAttributeGroup, State.AttributeGroup, s_attributeGroupSubelements, s_attributeGroupAttributes,
436
/* AttributeGroupRef */ new XsdEntry(
SchemaNames
.Token.xsdAttributeGroup, State.AttributeGroupRef, s_annotatedSubelements, s_attributeGroupRefAttributes,
440
/* AnyAttribute */ new XsdEntry(
SchemaNames
.Token.XsdAnyAttribute, State.AnyAttribute, s_annotatedSubelements, s_anyAttributeAttributes,
444
/* Group */ new XsdEntry(
SchemaNames
.Token.XsdGroup, State.Group, s_groupSubelements, s_groupAttributes,
448
/* GroupRef */ new XsdEntry(
SchemaNames
.Token.XsdGroup, State.GroupRef, s_annotatedSubelements, s_groupRefAttributes,
452
/* All */ new XsdEntry(
SchemaNames
.Token.XsdAll, State.All, s_allSubelements, s_particleAttributes,
456
/* Choice */ new XsdEntry(
SchemaNames
.Token.XsdChoice, State.Choice, s_choiceSequenceSubelements, s_particleAttributes,
460
/* Sequence */ new XsdEntry(
SchemaNames
.Token.XsdSequence, State.Sequence, s_choiceSequenceSubelements, s_particleAttributes,
464
/* Any */ new XsdEntry(
SchemaNames
.Token.XsdAny, State.Any, s_annotatedSubelements, s_anyAttributes,
468
/* Notation */ new XsdEntry(
SchemaNames
.Token.XsdNotation, State.Notation, s_annotatedSubelements, s_notationAttributes,
472
/* SimpleType */ new XsdEntry(
SchemaNames
.Token.XsdSimpleType, State.SimpleType, s_simpleTypeSubelements, s_simpleTypeAttributes,
476
/* ComplexType */ new XsdEntry(
SchemaNames
.Token.XsdComplexType, State.ComplexType, s_complexTypeSubelements, s_complexTypeAttributes,
480
/* ComplexContent */ new XsdEntry(
SchemaNames
.Token.XsdComplexContent, State.ComplexContent, s_complexContentSubelements, s_complexContentAttributes,
484
/* ComplexContentRestriction */ new XsdEntry(
SchemaNames
.Token.XsdComplexContentRestriction, State.ComplexContentRestriction, s_complexContentRestrictionSubelements, s_complexContentRestrictionAttributes,
488
/* ComplexContentExtension */ new XsdEntry(
SchemaNames
.Token.XsdComplexContentExtension, State.ComplexContentExtension, s_complexContentExtensionSubelements, s_complexContentExtensionAttributes,
492
/* SimpleContent */ new XsdEntry(
SchemaNames
.Token.XsdSimpleContent, State.SimpleContent, s_simpleContentSubelements, s_simpleContentAttributes,
496
/* SimpleContentExtension */ new XsdEntry(
SchemaNames
.Token.XsdSimpleContentExtension, State.SimpleContentExtension, s_simpleContentExtensionSubelements, s_simpleContentExtensionAttributes,
500
/* SimpleContentRestriction */ new XsdEntry(
SchemaNames
.Token.XsdSimpleContentRestriction, State.SimpleContentRestriction, s_simpleContentRestrictionSubelements, s_simpleContentRestrictionAttributes,
504
/* SimpleTypeUnion */ new XsdEntry(
SchemaNames
.Token.XsdSimpleTypeUnion, State.SimpleTypeUnion, s_simpleTypeUnionSubelements, s_simpleTypeUnionAttributes,
508
/* SimpleTypeList */ new XsdEntry(
SchemaNames
.Token.XsdSimpleTypeList, State.SimpleTypeList, s_simpleTypeListSubelements, s_simpleTypeListAttributes,
512
/* SimpleTypeRestriction */ new XsdEntry(
SchemaNames
.Token.XsdSimpleTypeRestriction, State.SimpleTypeRestriction, s_simpleTypeRestrictionSubelements, s_simpleTypeRestrictionAttributes,
516
/* Unique */ new XsdEntry(
SchemaNames
.Token.XsdUnique, State.Unique, s_identityConstraintSubelements, s_identityConstraintAttributes,
520
/* Key */ new XsdEntry(
SchemaNames
.Token.XsdKey, State.Key, s_identityConstraintSubelements, s_identityConstraintAttributes,
524
/* KeyRef */ new XsdEntry(
SchemaNames
.Token.XsdKeyref, State.KeyRef, s_identityConstraintSubelements, s_identityConstraintAttributes,
528
/* Selector */ new XsdEntry(
SchemaNames
.Token.XsdSelector, State.Selector, s_annotatedSubelements, s_selectorAttributes,
532
/* Field */ new XsdEntry(
SchemaNames
.Token.XsdField, State.Field, s_annotatedSubelements, s_fieldAttributes,
536
/* MinExclusive */ new XsdEntry(
SchemaNames
.Token.XsdMinExclusive, State.MinExclusive, s_annotatedSubelements, s_facetAttributes,
540
/* MinInclusive */ new XsdEntry(
SchemaNames
.Token.XsdMinInclusive, State.MinInclusive, s_annotatedSubelements, s_facetAttributes,
544
/* MaxExclusive */ new XsdEntry(
SchemaNames
.Token.XsdMaxExclusive, State.MaxExclusive, s_annotatedSubelements, s_facetAttributes,
548
/* MaxInclusive */ new XsdEntry(
SchemaNames
.Token.XsdMaxInclusive, State.MaxInclusive, s_annotatedSubelements, s_facetAttributes,
552
/* TotalDigits */ new XsdEntry(
SchemaNames
.Token.XsdTotalDigits, State.TotalDigits, s_annotatedSubelements, s_facetAttributes,
556
/* FractionDigits */ new XsdEntry(
SchemaNames
.Token.XsdFractionDigits, State.FractionDigits, s_annotatedSubelements, s_facetAttributes,
560
/* Length */ new XsdEntry(
SchemaNames
.Token.XsdLength, State.Length, s_annotatedSubelements, s_facetAttributes,
564
/* MinLength */ new XsdEntry(
SchemaNames
.Token.XsdMinLength, State.MinLength, s_annotatedSubelements, s_facetAttributes,
568
/* MaxLength */ new XsdEntry(
SchemaNames
.Token.XsdMaxLength, State.MaxLength, s_annotatedSubelements, s_facetAttributes,
572
/* Enumeration */ new XsdEntry(
SchemaNames
.Token.XsdEnumeration, State.Enumeration, s_annotatedSubelements, s_facetAttributes,
576
/* Pattern */ new XsdEntry(
SchemaNames
.Token.XsdPattern, State.Pattern, s_annotatedSubelements, s_facetAttributes,
580
/* WhiteSpace */ new XsdEntry(
SchemaNames
.Token.XsdWhitespace, State.WhiteSpace, s_annotatedSubelements, s_facetAttributes,
584
/* AppInfo */ new XsdEntry(
SchemaNames
.Token.XsdAppInfo, State.AppInfo, null, s_appinfoAttributes,
588
/* Documentation */ new XsdEntry(
SchemaNames
.Token.XsdDocumentation, State.Documentation, null, s_documentationAttributes,
592
/* Redefine */ new XsdEntry(
SchemaNames
.Token.XsdRedefine, State.Redefine, s_redefineSubelements, s_redefineAttributes,
632
private readonly
SchemaNames
_schemaNames;
682
SchemaNames
schemaNames,
818
if (_currentEntry.Name !=
SchemaNames
.Token.XsdAnnotation)
831
private
SchemaNames
.Token CurrentElement
836
private
SchemaNames
.Token ParentElement
1252
if (builder.ParentElement ==
SchemaNames
.Token.XsdSchema)
1320
case
SchemaNames
.Token.XsdSchema:
1323
case
SchemaNames
.Token.XsdAll:
1326
case
SchemaNames
.Token.XsdChoice:
1329
case
SchemaNames
.Token.XsdSequence:
1416
case
SchemaNames
.Token.XsdSchema:
1420
case
SchemaNames
.Token.XsdRedefine:
1423
case
SchemaNames
.Token.XsdAttribute:
1430
case
SchemaNames
.Token.XsdElement:
1441
case
SchemaNames
.Token.XsdSimpleTypeList:
1448
case
SchemaNames
.Token.XsdSimpleTypeRestriction:
1455
case
SchemaNames
.Token.XsdSimpleContentRestriction:
1471
case
SchemaNames
.Token.XsdSimpleTypeUnion:
1586
case
SchemaNames
.Token.XsdSchema:
1590
case
SchemaNames
.Token.XsdRedefine:
1593
case
SchemaNames
.Token.XsdElement:
1781
case
SchemaNames
.Token.XsdSchema:
1784
case
SchemaNames
.Token.XsdRedefine:
1828
case
SchemaNames
.Token.XsdComplexType:
1839
case
SchemaNames
.Token.XsdSimpleContentRestriction:
1846
case
SchemaNames
.Token.XsdSimpleContentExtension:
1853
case
SchemaNames
.Token.XsdComplexContentExtension:
1860
case
SchemaNames
.Token.XsdComplexContentRestriction:
1867
case
SchemaNames
.Token.xsdAttributeGroup:
1901
case
SchemaNames
.Token.XsdSchema:
1904
case
SchemaNames
.Token.XsdRedefine:
2065
case
SchemaNames
.Token.XsdEnumeration:
2068
case
SchemaNames
.Token.XsdLength:
2071
case
SchemaNames
.Token.XsdMaxExclusive:
2074
case
SchemaNames
.Token.XsdMaxInclusive:
2077
case
SchemaNames
.Token.XsdMaxLength:
2080
case
SchemaNames
.Token.XsdMinExclusive:
2083
case
SchemaNames
.Token.XsdMinInclusive:
2086
case
SchemaNames
.Token.XsdMinLength:
2089
case
SchemaNames
.Token.XsdPattern:
2092
case
SchemaNames
.Token.XsdTotalDigits:
2095
case
SchemaNames
.Token.XsdFractionDigits:
2098
case
SchemaNames
.Token.XsdWhitespace:
2103
if (
SchemaNames
.Token.XsdSimpleTypeRestriction == builder.ParentElement)
2159
case
SchemaNames
.Token.XsdUnique:
2162
case
SchemaNames
.Token.XsdKey:
2165
case
SchemaNames
.Token.XsdKeyref:
2251
builder.ParentElement !=
SchemaNames
.Token.XsdSchema &&
2252
builder.ParentElement !=
SchemaNames
.Token.XsdRedefine)
2329
case
SchemaNames
.Token.XsdComplexType:
2340
case
SchemaNames
.Token.XsdSimpleContentRestriction:
2347
case
SchemaNames
.Token.XsdSimpleContentExtension:
2354
case
SchemaNames
.Token.XsdComplexContentExtension:
2361
case
SchemaNames
.Token.XsdComplexContentRestriction:
2368
case
SchemaNames
.Token.xsdAttributeGroup:
2385
case
SchemaNames
.Token.XsdComplexType:
2395
case
SchemaNames
.Token.XsdComplexContentExtension:
2404
case
SchemaNames
.Token.XsdComplexContentRestriction:
2413
case
SchemaNames
.Token.XsdGroup:
2420
case
SchemaNames
.Token.XsdChoice:
2421
case
SchemaNames
.Token.XsdSequence:
2450
return ((CurrentElement ==
SchemaNames
.Token.XsdDocumentation) ||
2451
(CurrentElement ==
SchemaNames
.Token.XsdAppInfo));