154 instantiations of XmlElement
BoundTreeGenerator (8)
Model.cs (8)
18[XmlElement(ElementName = "Node", Type = typeof(Node))] 19[XmlElement(ElementName = "AbstractNode", Type = typeof(AbstractNode))] 20[XmlElement(ElementName = "PredefinedNode", Type = typeof(PredefinedNode))] 21[XmlElement(ElementName = "Enum", Type = typeof(EnumType))] 22[XmlElement(ElementName = "ValueType", Type = typeof(ValueType))] 44[XmlElement(ElementName = "Field", Type = typeof(Field))] 63[XmlElement(ElementName = "Kind", Type = typeof(Kind))] 105[XmlElement(ElementName = "Field", Type = typeof(EnumField))]
Contract.Message.IntegrationTests (1)
TestTypes.4.4.0.cs (1)
99[XmlElement(Order = 0)]
CSharpSyntaxGenerator (15)
Model\Field.cs (6)
20[XmlElement(ElementName = "Field", Type = typeof(Field))] 21[XmlElement(ElementName = "Sequence", Type = typeof(Sequence))] 32[XmlElement(ElementName = "Field", Type = typeof(Field))] 33[XmlElement(ElementName = "Choice", Type = typeof(Choice))] 60[XmlElement(ElementName = "Kind", Type = typeof(Kind))] 63[XmlElement]
Model\Node.cs (1)
20[XmlElement(ElementName = "Kind", Type = typeof(Kind))]
Model\Tree.cs (3)
18[XmlElement(ElementName = "Node", Type = typeof(Node))] 19[XmlElement(ElementName = "AbstractNode", Type = typeof(AbstractNode))] 20[XmlElement(ElementName = "PredefinedNode", Type = typeof(PredefinedNode))]
Model\TreeType.cs (5)
23[XmlElement] 26[XmlElement] 29[XmlElement(ElementName = "Field", Type = typeof(Field))] 30[XmlElement(ElementName = "Choice", Type = typeof(Choice))] 31[XmlElement(ElementName = "Sequence", Type = typeof(Sequence))]
IOperationGenerator (9)
Model.cs (9)
20[XmlElement(ElementName = "UnusedOperationKinds")] 23[XmlElement(ElementName = "Node", Type = typeof(Node))] 24[XmlElement(ElementName = "AbstractNode", Type = typeof(AbstractNode))] 45[XmlElement(ElementName = "Comments", Type = typeof(Comments))] 51[XmlElement(ElementName = "Property", Type = typeof(Property))] 54[XmlElement(ElementName = "Obsolete", Type = typeof(ObsoleteTag))] 57[XmlElement(ElementName = "OperationKind", Type = typeof(OperationKind))] 132[XmlElement(ElementName = "Comments", Type = typeof(Comments))] 145[XmlElement(ElementName = "Entry", Type = typeof(OperationKindEntry))]
Microsoft.Build.Tasks.Core (3)
ManifestUtil\ApplicationManifest.cs (1)
784[XmlElement("EntryPointIdentity")]
ManifestUtil\AssemblyReference.cs (1)
172[XmlElement("AssemblyIdentity")]
ManifestUtil\Manifest.cs (1)
720[XmlElement("AssemblyIdentity")]
ScenarioTests.Common.Tests (7)
ScenarioTestTypes.cs (7)
1293[System.Xml.Serialization.XmlElement(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 1297[System.Xml.Serialization.XmlElement(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 1301[System.Xml.Serialization.XmlElement(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 1320[System.Xml.Serialization.XmlElement(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 1418[XmlElement(Order = 0)] 1559[XmlElement] 1568[XmlElement]
System.Private.Xml (111)
System\Xml\Schema\XmlSchema.cs (11)
280[XmlElement("include", typeof(XmlSchemaInclude)), 281XmlElement("import", typeof(XmlSchemaImport)), 282XmlElement("redefine", typeof(XmlSchemaRedefine))] 288[XmlElement("annotation", typeof(XmlSchemaAnnotation)), 289XmlElement("attribute", typeof(XmlSchemaAttribute)), 290XmlElement("attributeGroup", typeof(XmlSchemaAttributeGroup)), 291XmlElement("complexType", typeof(XmlSchemaComplexType)), 292XmlElement("simpleType", typeof(XmlSchemaSimpleType)), 293XmlElement("element", typeof(XmlSchemaElement)), 294XmlElement("group", typeof(XmlSchemaGroup)), 295XmlElement("notation", typeof(XmlSchemaNotation))]
System\Xml\Schema\XmlSchemaAll.cs (1)
13[XmlElement("element", typeof(XmlSchemaElement))]
System\Xml\Schema\XmlSchemaAnnotated.cs (1)
22[XmlElement("annotation", typeof(XmlSchemaAnnotation))]
System\Xml\Schema\XmlSchemaAnnotation.cs (2)
22[XmlElement("documentation", typeof(XmlSchemaDocumentation)), 23XmlElement("appinfo", typeof(XmlSchemaAppInfo))]
System\Xml\Schema\XmlSchemaAttribute.cs (1)
73[XmlElement("simpleType")]
System\Xml\Schema\XmlSchemaAttributeGroup.cs (3)
27[XmlElement("attribute", typeof(XmlSchemaAttribute)), 28XmlElement("attributeGroup", typeof(XmlSchemaAttributeGroupRef))] 34[XmlElement("anyAttribute")]
System\Xml\Schema\XmlSchemaChoice.cs (5)
13[XmlElement("element", typeof(XmlSchemaElement)), 14XmlElement("group", typeof(XmlSchemaGroupRef)), 15XmlElement("choice", typeof(XmlSchemaChoice)), 16XmlElement("sequence", typeof(XmlSchemaSequence)), 17XmlElement("any", typeof(XmlSchemaAny))]
System\Xml\Schema\XmlSchemaComplexContent.cs (2)
21[XmlElement("restriction", typeof(XmlSchemaComplexContentRestriction)), 22XmlElement("extension", typeof(XmlSchemaComplexContentExtension))]
System\Xml\Schema\XmlSchemaComplexContentExtension.cs (7)
23[XmlElement("group", typeof(XmlSchemaGroupRef)), 24XmlElement("choice", typeof(XmlSchemaChoice)), 25XmlElement("all", typeof(XmlSchemaAll)), 26XmlElement("sequence", typeof(XmlSchemaSequence))] 33[XmlElement("attribute", typeof(XmlSchemaAttribute)), 34XmlElement("attributeGroup", typeof(XmlSchemaAttributeGroupRef))] 40[XmlElement("anyAttribute")]
System\Xml\Schema\XmlSchemaComplexContentRestriction.cs (7)
23[XmlElement("group", typeof(XmlSchemaGroupRef)), 24XmlElement("choice", typeof(XmlSchemaChoice)), 25XmlElement("all", typeof(XmlSchemaAll)), 26XmlElement("sequence", typeof(XmlSchemaSequence))] 33[XmlElement("attribute", typeof(XmlSchemaAttribute)), 34XmlElement("attributeGroup", typeof(XmlSchemaAttributeGroupRef))] 40[XmlElement("anyAttribute")]
System\Xml\Schema\XmlSchemaComplexType.cs (9)
171[XmlElement("simpleContent", typeof(XmlSchemaSimpleContent)), 172XmlElement("complexContent", typeof(XmlSchemaComplexContent))] 179[XmlElement("group", typeof(XmlSchemaGroupRef)), 180XmlElement("choice", typeof(XmlSchemaChoice)), 181XmlElement("all", typeof(XmlSchemaAll)), 182XmlElement("sequence", typeof(XmlSchemaSequence))] 189[XmlElement("attribute", typeof(XmlSchemaAttribute)), 190XmlElement("attributeGroup", typeof(XmlSchemaAttributeGroupRef))] 194[XmlElement("anyAttribute")]
System\Xml\Schema\XmlSchemaElement.cs (5)
137[XmlElement("complexType", typeof(XmlSchemaComplexType)), 138XmlElement("simpleType", typeof(XmlSchemaSimpleType))] 145[XmlElement("key", typeof(XmlSchemaKey)), 146XmlElement("keyref", typeof(XmlSchemaKeyref)), 147XmlElement("unique", typeof(XmlSchemaUnique))]
System\Xml\Schema\XmlSchemaGroup.cs (3)
24[XmlElement("choice", typeof(XmlSchemaChoice)), 25XmlElement("all", typeof(XmlSchemaAll)), 26XmlElement("sequence", typeof(XmlSchemaSequence))]
System\Xml\Schema\XmlSchemaIdEntityConstraint.cs (2)
25[XmlElement("selector", typeof(XmlSchemaXPath))] 32[XmlElement("field", typeof(XmlSchemaXPath))]
System\Xml\Schema\XmlSchemaImport.cs (1)
25[XmlElement("annotation", typeof(XmlSchemaAnnotation))]
System\Xml\Schema\XmlSchemaInclude.cs (1)
17[XmlElement("annotation", typeof(XmlSchemaAnnotation))]
System\Xml\Schema\XmlSchemaRedefine.cs (5)
20[XmlElement("annotation", typeof(XmlSchemaAnnotation)), 21XmlElement("attributeGroup", typeof(XmlSchemaAttributeGroup)), 22XmlElement("complexType", typeof(XmlSchemaComplexType)), 23XmlElement("group", typeof(XmlSchemaGroup)), 24XmlElement("simpleType", typeof(XmlSchemaSimpleType))]
System\Xml\Schema\XmlSchemaSequence.cs (5)
12[XmlElement("element", typeof(XmlSchemaElement)), 13XmlElement("group", typeof(XmlSchemaGroupRef)), 14XmlElement("choice", typeof(XmlSchemaChoice)), 15XmlElement("sequence", typeof(XmlSchemaSequence)), 16XmlElement("any", typeof(XmlSchemaAny))]
System\Xml\Schema\XmlSchemaSimpleContent.cs (2)
12[XmlElement("restriction", typeof(XmlSchemaSimpleContentRestriction)), 13XmlElement("extension", typeof(XmlSchemaSimpleContentExtension))]
System\Xml\Schema\XmlSchemaSimpleContentExtension.cs (3)
21[XmlElement("attribute", typeof(XmlSchemaAttribute)), 22XmlElement("attributeGroup", typeof(XmlSchemaAttributeGroupRef))] 28[XmlElement("anyAttribute")]
System\Xml\Schema\XmlSchemaSimpleContentRestriction.cs (16)
23[XmlElement("simpleType", typeof(XmlSchemaSimpleType))] 30[XmlElement("length", typeof(XmlSchemaLengthFacet)), 31XmlElement("minLength", typeof(XmlSchemaMinLengthFacet)), 32XmlElement("maxLength", typeof(XmlSchemaMaxLengthFacet)), 33XmlElement("pattern", typeof(XmlSchemaPatternFacet)), 34XmlElement("enumeration", typeof(XmlSchemaEnumerationFacet)), 35XmlElement("maxInclusive", typeof(XmlSchemaMaxInclusiveFacet)), 36XmlElement("maxExclusive", typeof(XmlSchemaMaxExclusiveFacet)), 37XmlElement("minInclusive", typeof(XmlSchemaMinInclusiveFacet)), 38XmlElement("minExclusive", typeof(XmlSchemaMinExclusiveFacet)), 39XmlElement("totalDigits", typeof(XmlSchemaTotalDigitsFacet)), 40XmlElement("fractionDigits", typeof(XmlSchemaFractionDigitsFacet)), 41XmlElement("whiteSpace", typeof(XmlSchemaWhiteSpaceFacet))] 47[XmlElement("attribute", typeof(XmlSchemaAttribute)), 48XmlElement("attributeGroup", typeof(XmlSchemaAttributeGroupRef))] 54[XmlElement("anyAttribute")]
System\Xml\Schema\XmlSchemaSimpleType.cs (3)
18[XmlElement("restriction", typeof(XmlSchemaSimpleTypeRestriction)), 19XmlElement("list", typeof(XmlSchemaSimpleTypeList)), 20XmlElement("union", typeof(XmlSchemaSimpleTypeUnion))]
System\Xml\Schema\XmlSchemaSimpleTypeList.cs (1)
21[XmlElement("simpleType", typeof(XmlSchemaSimpleType))]
System\Xml\Schema\XmlSchemaSimpleTypeRestriction.cs (13)
22[XmlElement("simpleType", typeof(XmlSchemaSimpleType))] 29[XmlElement("length", typeof(XmlSchemaLengthFacet)), 30XmlElement("minLength", typeof(XmlSchemaMinLengthFacet)), 31XmlElement("maxLength", typeof(XmlSchemaMaxLengthFacet)), 32XmlElement("pattern", typeof(XmlSchemaPatternFacet)), 33XmlElement("enumeration", typeof(XmlSchemaEnumerationFacet)), 34XmlElement("maxInclusive", typeof(XmlSchemaMaxInclusiveFacet)), 35XmlElement("maxExclusive", typeof(XmlSchemaMaxExclusiveFacet)), 36XmlElement("minInclusive", typeof(XmlSchemaMinInclusiveFacet)), 37XmlElement("minExclusive", typeof(XmlSchemaMinExclusiveFacet)), 38XmlElement("totalDigits", typeof(XmlSchemaTotalDigitsFacet)), 39XmlElement("fractionDigits", typeof(XmlSchemaFractionDigitsFacet)), 40XmlElement("whiteSpace", typeof(XmlSchemaWhiteSpaceFacet))]
System\Xml\Schema\XmlSchemaSimpleTypeUnion.cs (1)
14[XmlElement("simpleType", typeof(XmlSchemaSimpleType))]
System\Xml\Serialization\XmlReflectionImporter.cs (1)
2180XmlElementAttribute xmlElement = new XmlElementAttribute();
23 references to XmlElement
netstandard (1)
netstandard.cs (1)
2412[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Serialization.XmlElementAttribute))]
System.Private.Xml (18)
System\Xml\Serialization\XmlAttributes.cs (2)
91else if (attrs[i] is XmlElementAttribute) 93_xmlElements.Add((XmlElementAttribute)attrs[i]);
System\Xml\Serialization\XmlElementAttributes.cs (8)
19public XmlElementAttribute? this[int index] 21get { return (XmlElementAttribute?)List[index]; } 28public int Add(XmlElementAttribute? attribute) 36public void Insert(int index, XmlElementAttribute? attribute) 44public int IndexOf(XmlElementAttribute? attribute) 52public bool Contains(XmlElementAttribute? attribute) 60public void Remove(XmlElementAttribute? attribute) 68public void CopyTo(XmlElementAttribute[] array, int index)
System\Xml\Serialization\XmlReflectionImporter.cs (8)
1344XmlElementAttribute xmlElement = CreateElementAttribute(typeDesc); 1642XmlElementAttribute xmlElement = a.XmlElements[i]!; 1816XmlElementAttribute xmlElement = a.XmlElements[i]!; 1884XmlElementAttribute xmlElement = a.XmlElements[i]!; 2060XmlElementAttribute xmlElement = a.XmlElements[0]!; 2115throw new InvalidOperationException(SR.Format(SR.XmlArrayItemAmbiguousTypes, accessorName, item.ElementName, items[i]!.ElementName, nameof(XmlElementAttribute), nameof(XmlChoiceIdentifierAttribute), accessorName)); 2178private static XmlElementAttribute CreateElementAttribute(TypeDesc typeDesc) 2180XmlElementAttribute xmlElement = new XmlElementAttribute();
System.Xml (1)
System.Xml.cs (1)
137[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Serialization.XmlElementAttribute))]
System.Xml.ReaderWriter (1)
artifacts\obj\System.Xml.ReaderWriter\Debug\net10.0\System.Xml.ReaderWriter.Forwards.cs (1)
108[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Serialization.XmlElementAttribute))]
System.Xml.Serialization (1)
System.Xml.Serialization.cs (1)
15[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Serialization.XmlElementAttribute))]
System.Xml.XmlSerializer (1)
artifacts\obj\System.Xml.XmlSerializer\Debug\net10.0\System.Xml.XmlSerializer.Forwards.cs (1)
35[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Serialization.XmlElementAttribute))]