2 instantiations of EnumDataContract
dotnet-svcutil-lib (2)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContract.cs (1)
701
dataContract = new
EnumDataContract
(type);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (1)
1196
EnumDataContract dataContract = new
EnumDataContract
();
11 references to EnumDataContract
dotnet-svcutil-lib (11)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (6)
281
else if (dataContract is
EnumDataContract
)
282
ExportEnumDataContract((
EnumDataContract
)dataContract, contractCodeDomInfo);
519
EnumDataContract
enumDataContract = dataContract as
EnumDataContract
;
1058
private void ExportEnumDataContract(
EnumDataContract
enumDataContract, ContractCodeDomInfo contractCodeDomInfo)
1066
type.BaseTypes.Add(
EnumDataContract
.GetBaseType(enumDataContract.BaseContractName));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (5)
556
return ((restriction.BaseTypeName == expectedBase && restriction.Facets.Count > 0) || ImportType(restriction.BaseTypeName) is
EnumDataContract
);
561
return (baseContract.StableName == expectedBase || baseContract is
EnumDataContract
);
1169
private
EnumDataContract
ImportFlagsEnum(XmlQualifiedName typeName, XmlSchemaSimpleTypeList list, XmlSchemaAnnotation annotation)
1194
private
EnumDataContract
ImportEnum(XmlQualifiedName typeName, XmlSchemaSimpleTypeRestriction restriction, bool isFlags, XmlSchemaAnnotation annotation)
1196
EnumDataContract
dataContract = new EnumDataContract();