41 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
64 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
74 if (
type.ContainsGenericParameters)
80 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
86 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
95 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
99 if (Contracts.TryGetValue(name,
out value))
129 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
148 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
167 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
173 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
176 if (knownDataContracts ==
null)
186 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
197 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
208 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
bool ContainsKey(TKey key)
Enumerator GetEnumerator()
void Add(TKey key, TValue value)
DataContract GetDataContract(Type clrType)
void Add(XmlQualifiedName name, DataContract dataContract)
void SetContractProcessed(DataContract dataContract)
readonly ICollection< Type > _referencedCollectionTypes
readonly ICollection< Type > _referencedTypes
IEnumerator< KeyValuePair< XmlQualifiedName, DataContract > > GetEnumerator()
Dictionary< XmlQualifiedName, DataContract > _contracts
DataContractSet(DataContractSet dataContractSet)
void AddXmlDataContract(XmlDataContract xmlDataContract)
DataContract GetMemberTypeDataContract(DataMember dataMember)
void AddKnownDataContracts(Dictionary< XmlQualifiedName, DataContract > knownDataContracts)
void AddCollectionDataContract(CollectionDataContract collectionDataContract)
void Add(DataContract dataContract)
void InternalAdd(XmlQualifiedName name, DataContract dataContract)
DataContract GetItemTypeDataContract(CollectionDataContract collectionContract)
Dictionary< DataContract, object > ProcessedContracts
Dictionary< DataContract, object > _processedContracts
bool IsContractProcessed(DataContract dataContract)
static void EnsureTypeNotGeneric(Type type)
void AddClassDataContract(ClassDataContract classDataContract)
static DataContract GetBuiltInDataContract(Type type)
static int GetId(RuntimeTypeHandle typeHandle)
static string GetClrTypeFullName(Type type)
static DataContract GetDataContract(Type type)
static DataContract GetGetOnlyCollectionDataContract(int id, RuntimeTypeHandle typeHandle, Type type, SerializationMode mode)
static Exception ThrowHelperError(Exception e)
static string GenericTypeNotExportable
static string DupTypeContractInDataContractSet
static string Format(string resourceFormat, object p1)
static string DupContractInDataContractSet