18 instantiations of XmlSchemaAny
System.Data.Common (4)
System\Data\DataSet.cs (2)
3495
XmlSchemaAny any = new
XmlSchemaAny
();
3501
any = new
XmlSchemaAny
();
System\Data\DataTable.cs (2)
6691
XmlSchemaAny any = new
XmlSchemaAny
();
6698
any = new
XmlSchemaAny
();
System.Private.DataContractSerialization (5)
System\Runtime\Serialization\SchemaExporter.cs (5)
726
XmlSchemaAny any = new
XmlSchemaAny
();
740
XmlSchemaAny any = new
XmlSchemaAny
();
781
XmlSchemaAny any = new
XmlSchemaAny
();
793
XmlSchemaAny any = new
XmlSchemaAny
();
865
XmlSchemaAny iSerializableWildcardElement = new
XmlSchemaAny
();
System.Private.Xml (9)
System\Xml\Schema\XmlSchemaComplexType.cs (1)
59
XmlSchemaAny anyElement = new
XmlSchemaAny
();
System\Xml\Schema\XsdBuilder.cs (1)
2004
builder._xso = builder._particle = builder._anyElement = new
XmlSchemaAny
();
System\Xml\Serialization\XmlSchemaExporter.cs (7)
157
XmlSchemaAny any = new
XmlSchemaAny
();
202
XmlSchemaAny any = new
XmlSchemaAny
();
421
XmlSchemaAny any = new
XmlSchemaAny
();
442
XmlSchemaAny any = new
XmlSchemaAny
();
498
XmlSchemaAny any = new
XmlSchemaAny
();
528
seq.Items.Add(new
XmlSchemaAny
());
805
XmlSchemaAny any = new
XmlSchemaAny
();
105 references to XmlSchemaAny
netstandard (1)
netstandard.cs (1)
2301
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Schema.
XmlSchemaAny
))]
System.Data.Common (3)
System\Data\DataSet.cs (1)
3495
XmlSchemaAny
any = new XmlSchemaAny();
System\Data\DataTable.cs (1)
6691
XmlSchemaAny
any = new XmlSchemaAny();
System\Data\XMLSchema.cs (1)
881
if (pt is
XmlSchemaAny
)
System.Private.DataContractSerialization (15)
System\Runtime\Serialization\SchemaExporter.cs (6)
726
XmlSchemaAny
any = new XmlSchemaAny();
740
XmlSchemaAny
any = new XmlSchemaAny();
781
XmlSchemaAny
any = new XmlSchemaAny();
793
XmlSchemaAny
any = new XmlSchemaAny();
861
internal static
XmlSchemaAny
ISerializableWildcardElement
865
XmlSchemaAny
iSerializableWildcardElement = new XmlSchemaAny();
System\Runtime\Serialization\SchemaImporter.cs (9)
589
return (rootSequence.Items.Count == 1 && rootSequence.Items[0] is
XmlSchemaAny
);
765
XmlSchemaAny
? any = sequence.Items[0] as
XmlSchemaAny
;
788
XmlSchemaAny
? any = sequence.Items[0] as
XmlSchemaAny
;
857
if (!(o is
XmlSchemaAny
))
860
XmlSchemaAny
wildcard = (
XmlSchemaAny
)o;
861
XmlSchemaAny
iSerializableWildcardElement = SchemaExporter.ISerializableWildcardElement;
System.Private.Xml (84)
System\Xml\Schema\Preprocessor.cs (2)
1985
else if (particle is
XmlSchemaAny
)
1989
((
XmlSchemaAny
)particle).BuildNamespaceList(_targetNamespace!);
System\Xml\Schema\SchemaCollectionCompiler.cs (21)
1345
else if (baseParticle is
XmlSchemaAny
)
1349
return IsElementFromAny((XmlSchemaElement)derivedParticle, (
XmlSchemaAny
)baseParticle);
1351
else if (derivedParticle is
XmlSchemaAny
)
1353
return IsAnyFromAny((
XmlSchemaAny
)derivedParticle, (
XmlSchemaAny
)baseParticle);
1357
return IsGroupBaseFromAny((XmlSchemaGroupBase)derivedParticle, (
XmlSchemaAny
)baseParticle);
1420
private static bool IsElementFromAny(XmlSchemaElement derivedElement,
XmlSchemaAny
baseAny)
1426
private static bool IsAnyFromAny(
XmlSchemaAny
derivedAny,
XmlSchemaAny
baseAny)
1432
private bool IsGroupBaseFromAny(XmlSchemaGroupBase derivedGroupBase,
XmlSchemaAny
baseAny)
1617
if (particle is XmlSchemaElement || particle is
XmlSchemaAny
)
2398
SendValidationEvent(SR.Sch_NonDeterministicAnyEx, ((
XmlSchemaAny
)e.Particle2!).NamespaceList!.ToString(), ((XmlSchemaElement)e.Particle1).QualifiedName.ToString(), (
XmlSchemaAny
)e.Particle2);
2405
SendValidationEvent(SR.Sch_NonDeterministicAnyEx, ((
XmlSchemaAny
)e.Particle1!).NamespaceList!.ToString(), ((XmlSchemaElement)e.Particle2).QualifiedName.ToString(), (
XmlSchemaAny
)e.Particle1);
2409
SendValidationEvent(SR.Sch_NonDeterministicAnyAny, ((
XmlSchemaAny
)e.Particle1!).NamespaceList!.ToString(), ((
XmlSchemaAny
)e.Particle2!).NamespaceList!.ToString(), (
XmlSchemaAny
)e.Particle1);
2436
else if (particle is
XmlSchemaAny
)
2439
sb.Append(((
XmlSchemaAny
)particle!).NamespaceList!.ToString());
2518
else if (particle is
XmlSchemaAny
any)
System\Xml\Schema\SchemaCollectionpreProcessor.cs (2)
1653
else if (particle is
XmlSchemaAny
)
1657
((
XmlSchemaAny
)particle).BuildNamespaceListV1Compat(_targetNamespace!);
System\Xml\Schema\SchemaSetCompiler.cs (21)
1549
else if (baseParticle is
XmlSchemaAny
)
1553
return IsElementFromAny((XmlSchemaElement)derivedParticle, (
XmlSchemaAny
)baseParticle);
1555
else if (derivedParticle is
XmlSchemaAny
)
1557
return IsAnyFromAny((
XmlSchemaAny
)derivedParticle, (
XmlSchemaAny
)baseParticle);
1561
return IsGroupBaseFromAny((XmlSchemaGroupBase)derivedParticle, (
XmlSchemaAny
)baseParticle);
1585
else if (derivedParticle is XmlSchemaChoice || derivedParticle is
XmlSchemaAny
)
1681
private bool IsElementFromAny(XmlSchemaElement derivedElement,
XmlSchemaAny
baseAny)
1696
private bool IsAnyFromAny(
XmlSchemaAny
derivedAny,
XmlSchemaAny
baseAny)
1716
private bool IsGroupBaseFromAny(XmlSchemaGroupBase derivedGroupBase,
XmlSchemaAny
baseAny)
1969
if (particle is XmlSchemaElement || particle is
XmlSchemaAny
)
2867
SendValidationEvent(SR.Sch_NonDeterministicAnyEx, ((
XmlSchemaAny
)e.Particle2!).ResolvedNamespace, ((XmlSchemaElement)e.Particle1).QualifiedName.ToString(), (
XmlSchemaAny
)e.Particle2);
2874
SendValidationEvent(SR.Sch_NonDeterministicAnyEx, ((
XmlSchemaAny
)e.Particle1!).ResolvedNamespace, ((XmlSchemaElement)e.Particle2).QualifiedName.ToString(), (XmlSchemaElement)e.Particle2);
2878
SendValidationEvent(SR.Sch_NonDeterministicAnyAny, ((
XmlSchemaAny
)e.Particle1!).ResolvedNamespace, ((
XmlSchemaAny
)e.Particle2!).ResolvedNamespace, (
XmlSchemaAny
)e.Particle2);
2898
else if (particle is
XmlSchemaAny
)
2901
XmlSchemaAny
any = (
XmlSchemaAny
)particle;
System\Xml\Schema\XmlSchemaChoice.cs (1)
17
XmlElement("any", typeof(
XmlSchemaAny
))]
System\Xml\Schema\XmlSchemaComplexType.cs (1)
59
XmlSchemaAny
anyElement = new XmlSchemaAny();
System\Xml\Schema\XmlSchemaParticle.cs (2)
145
XmlSchemaAny
? any = this as
XmlSchemaAny
;
System\Xml\Schema\XmlSchemaSequence.cs (1)
16
XmlElement("any", typeof(
XmlSchemaAny
))]
System\Xml\Schema\XmlSchemaValidator.cs (2)
1602
XmlSchemaAny
any = (
XmlSchemaAny
)particle;
System\Xml\Schema\XsdBuilder.cs (2)
639
private
XmlSchemaAny
? _anyElement;
1021
_anyElement = (
XmlSchemaAny
)container;
System\Xml\Schema\XsdValidator.cs (2)
373
XmlSchemaAny
any = (
XmlSchemaAny
)particle;
System\Xml\Serialization\SchemaObjectWriter.cs (7)
116
else if (o is
XmlSchemaAny
)
118
return new XmlQualifiedName("*", SchemaObjectWriter.ToString(((
XmlSchemaAny
)o).NamespaceList));
403
else if (t == typeof(
XmlSchemaAny
))
405
Write53_XmlSchemaAny((
XmlSchemaAny
)o);
1143
private void Write53_XmlSchemaAny(
XmlSchemaAny
? o)
1175
if (ai is
XmlSchemaAny
)
1177
Write53_XmlSchemaAny((
XmlSchemaAny
)ai);
System\Xml\Serialization\XmlSchemaExporter.cs (9)
124
if (sequence.Items.Count == 1 && sequence.Items[0] is
XmlSchemaAny
)
126
XmlSchemaAny
any = (
XmlSchemaAny
)sequence.Items[0];
157
XmlSchemaAny
any = new XmlSchemaAny();
202
XmlSchemaAny
any = new XmlSchemaAny();
421
XmlSchemaAny
any = new XmlSchemaAny();
442
XmlSchemaAny
any = new XmlSchemaAny();
498
XmlSchemaAny
any = new XmlSchemaAny();
805
XmlSchemaAny
any = new XmlSchemaAny();
System\Xml\Serialization\XmlSchemaImporter.cs (11)
933
XmlSchemaAny
? any = null;
943
else if (item is
XmlSchemaAny
)
947
AddScopeElements(choiceElements, ImportAny((
XmlSchemaAny
)item, true, ns), ref duplicateElements, allowDuplicates);
951
any = (
XmlSchemaAny
)item;
1046
else if (item is
XmlSchemaAny
)
1048
ImportAnyMember((
XmlSchemaAny
)item, members, membersScope, elementsScope, ns, ref mixed, ref needExplicitOrder, allowDuplicates);
1167
private MemberMapping ImportAnyMember(
XmlSchemaAny
any, CodeIdentifiers members, CodeIdentifiers membersScope, INameScope elementsScope, string? ns, ref bool mixed, ref bool needExplicitOrder, bool allowDuplicates)
1201
private ElementAccessor[] ImportAny(
XmlSchemaAny
any, bool makeElement, string? targetNamespace)
1376
if (group.Items.Count != 1 || !(group.Items[0] is
XmlSchemaAny
)) return null;
1377
XmlSchemaAny
any = (
XmlSchemaAny
)group.Items[0];
System.Xml (1)
System.Xml.cs (1)
26
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Schema.
XmlSchemaAny
))]
System.Xml.ReaderWriter (1)
artifacts\obj\System.Xml.ReaderWriter\Debug\net10.0\System.Xml.ReaderWriter.Forwards.cs (1)
25
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Schema.
XmlSchemaAny
))]