8 instantiations of ClassDataContract
dotnet-svcutil-lib (8)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ClassDataContract.cs (1)
356
return new
ClassDataContract
(type, ns, memberNames);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CollectionDataContract.cs (1)
893
return new
ClassDataContract
(type);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContract.cs (2)
719
dataContract = new
ClassDataContract
(type);
722
var originalDataContract = new
ClassDataContract
(originalType);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ExceptionDataContract.cs (1)
520
ClassDataContract cdc = new
ClassDataContract
(this.UnderlyingType);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\Globals.cs (1)
1052
return new
ClassDataContract
(s_typeOfScriptObject);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (2)
663
ClassDataContract dataContract = new
ClassDataContract
();
838
ClassDataContract dataContract = new
ClassDataContract
();
93 references to ClassDataContract
dotnet-svcutil-lib (93)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ClassDataContract.cs (7)
104
internal
ClassDataContract
BaseContract
353
internal static
ClassDataContract
CreateClassDataContractForKeyValue(Type type, XmlDictionaryString ns, string[] memberNames)
747
private
ClassDataContract
_baseContract;
804
this.BaseContract = ((CollectionDataContract)baseContract).SharedTypeContract as
ClassDataContract
;
806
this.BaseContract = baseContract as
ClassDataContract
;
1113
ClassDataContract
currContract = BaseContract;
1249
internal
ClassDataContract
BaseContract
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (18)
274
if (dataContract is
ClassDataContract
)
276
ClassDataContract
classDataContract = (
ClassDataContract
)dataContract;
304
private void ExportClassDataContractHierarchy(XmlQualifiedName typeName,
ClassDataContract
classContract, ContractCodeDomInfo contractCodeDomInfo, Dictionary<XmlQualifiedName, object> contractNamesInHierarchy)
310
ClassDataContract
baseContract = classContract.BaseContract;
607
GenerateKeyValueType(itemContract as
ClassDataContract
);
641
ClassDataContract
itemContract = collectionContract.ItemContract as
ClassDataContract
;
800
private void ExportClassDataContract(
ClassDataContract
classDataContract, ContractCodeDomInfo contractCodeDomInfo)
931
else if (dataContract is
ClassDataContract
)
937
return GetKnownTypeContracts((
ClassDataContract
)dataContract, new Dictionary<DataContract, object>());
942
private DataContractDictionary GetKnownTypeContracts(
ClassDataContract
dataContract, Dictionary<DataContract, object> handledContracts)
959
else if (memberContract is
ClassDataContract
)
966
AddKnownTypeContracts(dataContract, GetKnownTypeContracts((
ClassDataContract
)memberContract, handledContracts));
978
private void AddKnownTypeContracts(
ClassDataContract
dataContract, DataContractDictionary knownContracts)
993
private void AddKnownTypes(
ClassDataContract
dataContract, ContractCodeDomInfo contractCodeDomInfo)
1102
private void GenerateKeyValueType(
ClassDataContract
keyValueContract)
1142
GenerateKeyValueType(collectionContract.ItemContract as
ClassDataContract
);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CollectionDataContract.cs (2)
366
XmlDictionaryString tempChildElementNamespace =
ClassDataContract
.GetChildNamespaceToDeclare(this, ItemType, new XmlDictionary());
744
_itemContract =
ClassDataContract
.CreateClassDataContractForKeyValue(ItemType, Namespace, new string[] { KeyName, ValueName });
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContract.cs (10)
146
if (dataContract is
ClassDataContract
)
178
internal static int GetIdForInitialization(
ClassDataContract
classContract)
615
internal static int GetIdForInitialization(
ClassDataContract
classContract)
715
if (!IsTypeSerializable(type) && !type.GetTypeInfo().IsAttributeDefined(Globals.TypeOfDataContractAttribute) && !
ClassDataContract
.IsNonAttributedTypeValidForSerialization(type) && !
ClassDataContract
.IsKnownSerializableType(type))
722
var
originalDataContract = new ClassDataContract(originalType);
1310
ClassDataContract
.IsNonAttributedTypeValidForSerialization(type);
1487
if (
ClassDataContract
.IsNonAttributedTypeValidForSerialization(type))
2181
!(alreadyExistingContract is
ClassDataContract
&& ((
ClassDataContract
)alreadyExistingContract).IsKeyValuePairAdapter))
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContractSet.cs (6)
142
if (dataContract is
ClassDataContract
)
144
AddClassDataContract((
ClassDataContract
)dataContract);
157
private void AddClassDataContract(
ClassDataContract
classDataContract)
191
ClassDataContract
keyValueContract = collectionDataContract.ItemContract as
ClassDataContract
;
506
ClassDataContract
.IsNonAttributedTypeValidForSerialization(type));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\EnumDataContract.cs (2)
301
ClassDataContract
.CheckAndAddMember(tempMembers, memberContract, memberValuesTable);
313
ClassDataContract
.CheckAndAddMember(tempMembers, memberContract, memberValuesTable);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ExceptionDataContract.cs (1)
520
ClassDataContract
cdc = new ClassDataContract(this.UnderlyingType);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\Globals.cs (1)
1049
internal static
ClassDataContract
CreateScriptObjectClassDataContract()
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (15)
530
ClassDataContract
oldContract = _dataContractSet[typeName] as
ClassDataContract
;
534
ClassDataContract
ancestorDataContract = oldContract.BaseContract;
661
private
ClassDataContract
ImportClass(XmlQualifiedName typeName, XmlSchemaSequence rootSequence, XmlQualifiedName baseTypeName, XmlSchemaAnnotation annotation, bool isReference)
663
ClassDataContract
dataContract = new ClassDataContract();
836
private
ClassDataContract
ImportISerializable(XmlQualifiedName typeName, XmlSchemaSequence rootSequence, XmlQualifiedName baseTypeName, XmlSchemaObjectCollection attributes, XmlSchemaAnnotation annotation)
838
ClassDataContract
dataContract = new ClassDataContract();
912
private void ImportBaseContract(XmlQualifiedName baseTypeName,
ClassDataContract
dataContract)
914
ClassDataContract
baseContract = ImportType(baseTypeName) as
ClassDataContract
;
922
ClassDataContract
ancestorDataContract = baseContract;
960
private void ImportClassMember(XmlSchemaElement element,
ClassDataContract
dataContract)
1014
int compare =
ClassDataContract
.DataMemberComparer.Singleton.Compare(prevMember, currentMember);
1107
ClassDataContract
keyValueContract = dataContract.ItemContract as
ClassDataContract
;
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlFormatGeneratorStatics.cs (4)
895
s_contractNamespacesField = typeof(
ClassDataContract
).GetField("ContractNamespaces", Globals.ScanAllMembers);
911
s_memberNamesField = typeof(
ClassDataContract
).GetField("MemberNames", Globals.ScanAllMembers);
927
s_childElementNamespacesProperty = typeof(
ClassDataContract
).GetProperty("ChildElementNamespaces", Globals.ScanAllMembers);
1068
s_classSerializationExceptionMessageProperty = typeof(
ClassDataContract
).GetProperty("SerializationExceptionMessage", Globals.ScanAllMembers);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlFormatReaderGenerator.cs (12)
50
public XmlFormatClassReaderDelegate GenerateClassReader(
ClassDataContract
classContract)
89
public XmlFormatClassReaderDelegate GenerateClassReader(
ClassDataContract
classContract)
201
private void CreateObject(
ClassDataContract
classContract)
235
private void InvokeOnDeserializing(
ClassDataContract
classContract)
249
private void InvokeOnDeserialized(
ClassDataContract
classContract)
264
private void ReadClass(
ClassDataContract
classContract)
269
private void ReadMembers(
ClassDataContract
classContract, LocalBuilder extensionDataLocal)
300
private int ReadMembers(
ClassDataContract
classContract, bool[] requiredMembers, Label[] memberLabels, LocalBuilder memberIndexLocal, LocalBuilder requiredIndexLocal)
356
private bool[] GetRequiredMembers(
ClassDataContract
contract, out int firstRequiredMember)
367
private int GetRequiredMembers(
ClassDataContract
contract, bool[] requiredMembers)
771
ClassDataContract
keyValuePairContract = DataContract.GetDataContract(value.LocalType) as
ClassDataContract
;
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlFormatWriterGenerator.cs (13)
22
internal delegate void XmlFormatClassWriterDelegate(XmlWriterDelegator xmlWriter, object obj, XmlObjectSerializerWriteContext context,
ClassDataContract
dataContract);
46
internal XmlFormatClassWriterDelegate GenerateClassWriter(
ClassDataContract
classContract)
80
internal XmlFormatClassWriterDelegate GenerateClassWriter(
ClassDataContract
classContract)
150
ClassDataContract
dc = (
ClassDataContract
)DataContract.GetDataContract(objType);
162
private void InvokeOnSerializing(
ClassDataContract
classContract)
175
private void InvokeOnSerialized(
ClassDataContract
classContract)
188
private void WriteClass(
ClassDataContract
classContract)
222
private int WriteMembers(
ClassDataContract
classContract, LocalBuilder extensionDataLocal,
ClassDataContract
derivedMostClassContract)
692
private bool CheckIfMemberHasConflict(DataMember member,
ClassDataContract
classContract,
ClassDataContract
derivedMostClassContract)
701
ClassDataContract
currentContract = derivedMostClassContract;
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializer.cs (2)
334
ClassDataContract
classContract = contract as
ClassDataContract
;