2 instantiations of EnumDataContract
System.Runtime.Serialization (2)
System\Runtime\Serialization\DataContract.cs (1)
582
dataContract = new
EnumDataContract
(type);
System\Runtime\Serialization\SchemaImporter.cs (1)
1202
EnumDataContract dataContract = new
EnumDataContract
();
22 references to EnumDataContract
System.Runtime.Serialization (22)
System\Runtime\Serialization\CodeExporter.cs (6)
286
else if (dataContract is
EnumDataContract
)
287
ExportEnumDataContract((
EnumDataContract
)dataContract, contractCodeDomInfo);
524
EnumDataContract
enumDataContract = dataContract as
EnumDataContract
;
1075
void ExportEnumDataContract(
EnumDataContract
enumDataContract, ContractCodeDomInfo contractCodeDomInfo)
1083
type.BaseTypes.Add(
EnumDataContract
.GetBaseType(enumDataContract.BaseContractName));
System\Runtime\Serialization\EnumDataContract.cs (2)
463
EnumDataContract
dataContract = other as
EnumDataContract
;
System\Runtime\Serialization\Json\JsonDataContract.cs (2)
271
else if (traditionalDataContractType == typeof(
EnumDataContract
))
273
dataContract = new JsonEnumDataContract((
EnumDataContract
)traditionalDataContract);
System\Runtime\Serialization\Json\JsonEnumDataContract.cs (2)
20
public JsonEnumDataContract(
EnumDataContract
traditionalDataContract)
74
public JsonEnumDataContractCriticalHelper(
EnumDataContract
traditionalEnumDataContract)
System\Runtime\Serialization\SchemaExporter.cs (3)
105
else if (dataContract is
EnumDataContract
)
106
ExportEnumDataContract((
EnumDataContract
)dataContract, schema);
420
void ExportEnumDataContract(
EnumDataContract
enumDataContract, XmlSchema schema)
System\Runtime\Serialization\SchemaImporter.cs (5)
557
return ((restriction.BaseTypeName == expectedBase && restriction.Facets.Count > 0) || ImportType(restriction.BaseTypeName) is
EnumDataContract
);
562
return (baseContract.StableName == expectedBase || baseContract is
EnumDataContract
);
1175
EnumDataContract
ImportFlagsEnum(XmlQualifiedName typeName, XmlSchemaSimpleTypeList list, XmlSchemaAnnotation annotation)
1200
EnumDataContract
ImportEnum(XmlQualifiedName typeName, XmlSchemaSimpleTypeRestriction restriction, bool isFlags, XmlSchemaAnnotation annotation)
1202
EnumDataContract
dataContract = new EnumDataContract();
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (2)
696
else if (dataContract is
EnumDataContract
)
698
dataNode = new DataNode<object>(((
EnumDataContract
)dataContract).ReadEnumValue(xmlReader));