159 references to GetClrTypeFullName
dotnet-svcutil-lib (159)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ClassDataContract.cs (33)
375
DataContract.
GetClrTypeFullName
(declaringType),
532
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.UnexpectedContractType, DataContract.
GetClrTypeFullName
(this.GetType()), DataContract.
GetClrTypeFullName
(UnderlyingType))));
541
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.UnexpectedContractType, DataContract.
GetClrTypeFullName
(this.GetType()), DataContract.
GetClrTypeFullName
(UnderlyingType))));
564
DataContract.
GetClrTypeFullName
(UnderlyingType)),
583
DataContract.
GetClrTypeFullName
(UnderlyingType)),
596
DataContract.
GetClrTypeFullName
(UnderlyingType),
610
DataContract.
GetClrTypeFullName
(UnderlyingType),
630
DataContract.
GetClrTypeFullName
(UnderlyingType),
639
DataContract.
GetClrTypeFullName
(UnderlyingType),
668
DataContract.
GetClrTypeFullName
(UnderlyingType)),
684
DataContract.
GetClrTypeFullName
(this.UnderlyingType),
698
DataContract.
GetClrTypeFullName
(UnderlyingType),
718
DataContract.
GetClrTypeFullName
(UnderlyingType),
727
DataContract.
GetClrTypeFullName
(UnderlyingType),
811
DataContract.
GetClrTypeFullName
(type), DataContract.
GetClrTypeFullName
(baseType))));
889
DataContract.
GetClrTypeFullName
(type),
891
DataContract.
GetClrTypeFullName
(this.BaseContract.UnderlyingType),
915
DataContract.
GetClrTypeFullName
(type),
954
ThrowInvalidDataContractException(string.Format(SRSerialization.TooManyDataMembers, DataContract.
GetClrTypeFullName
(member.DeclaringType), member.Name));
981
ThrowInvalidDataContractException(string.Format(SRSerialization.InvalidMember, DataContract.
GetClrTypeFullName
(type), member.Name));
987
ThrowInvalidDataContractException(string.Format(SRSerialization.InvalidDataMemberName, member.Name, DataContract.
GetClrTypeFullName
(type)));
1000
DataContract.
GetClrTypeFullName
(member.DeclaringType),
1019
ThrowInvalidDataContractException(string.Format(SRSerialization.TooManyIgnoreDataMemberAttributes, DataContract.
GetClrTypeFullName
(member.DeclaringType), member.Name));
1066
DataContract.
GetClrTypeFullName
(member.DeclaringType),
1230
DataContract.ThrowInvalidDataContractException(string.Format(SRSerialization.DuplicateCallback, method, currentCallback, DataContract.
GetClrTypeFullName
(method.DeclaringType), attributeType), method.DeclaringType);
1232
DataContract.ThrowInvalidDataContractException(string.Format(SRSerialization.DuplicateAttribute, prevAttributeType, attributeType, DataContract.
GetClrTypeFullName
(method.DeclaringType), method), method.DeclaringType);
1234
DataContract.ThrowInvalidDataContractException(string.Format(SRSerialization.CallbacksCannotBeVirtualMethods, method, DataContract.
GetClrTypeFullName
(method.DeclaringType), attributeType), method.DeclaringType);
1238
DataContract.ThrowInvalidDataContractException(string.Format(SRSerialization.CallbackMustReturnVoid, DataContract.
GetClrTypeFullName
(method.DeclaringType), method), method.DeclaringType);
1240
DataContract.ThrowInvalidDataContractException(string.Format(SRSerialization.CallbackParameterInvalid, DataContract.
GetClrTypeFullName
(method.DeclaringType), method, Globals.TypeOfStreamingContext), method.DeclaringType);
1401
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.NonAttributedSerializableTypesMustHaveDefaultConstructor, DataContract.
GetClrTypeFullName
(type))));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (20)
286
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.UnexpectedContractType, DataContract.
GetClrTypeFullName
(dataContract.GetType()), DataContract.
GetClrTypeFullName
(dataContract.UnderlyingType))));
560
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.TypeMustBeIXmlSerializable, DataContract.
GetClrTypeFullName
(type), DataContract.
GetClrTypeFullName
(Globals.TypeOfIXmlSerializable), dataContract.StableName.Name, dataContract.StableName.Namespace)));
815
CodeAttributeDeclaration dataContractAttribute = new CodeAttributeDeclaration(DataContract.
GetClrTypeFullName
(Globals.TypeOfDataContractAttribute));
880
CodeAttributeDeclaration dataMemberAttribute = new CodeAttributeDeclaration(DataContract.
GetClrTypeFullName
(Globals.TypeOfDataMemberAttribute));
1002
CodeAttributeDeclaration knownTypeAttribute = new CodeAttributeDeclaration(DataContract.
GetClrTypeFullName
(Globals.TypeOfKnownTypeAttribute));
1024
type.BaseTypes.Add(DataContract.
GetClrTypeFullName
(Globals.TypeOfIExtensibleDataObject));
1055
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRSerialization.CannotDeriveFromSealedReferenceType, dataContract.StableName.Name, dataContract.StableName.Namespace, DataContract.
GetClrTypeFullName
(baseType))));
1069
type.CustomAttributes.Add(new CodeAttributeDeclaration(DataContract.
GetClrTypeFullName
(Globals.TypeOfFlagsAttribute)));
1074
CodeAttributeDeclaration dataContractAttribute = new CodeAttributeDeclaration(DataContract.
GetClrTypeFullName
(Globals.TypeOfDataContractAttribute));
1093
CodeAttributeDeclaration enumMemberAttribute = new CodeAttributeDeclaration(DataContract.
GetClrTypeFullName
(Globals.TypeOfEnumMemberAttribute));
1157
expectedTypeName, expectedTypeNs, DataContract.
GetClrTypeFullName
(Globals.TypeOfIListGeneric), DataContract.
GetClrTypeFullName
(Globals.TypeOfICollectionGeneric))));
1164
CodeAttributeDeclaration collectionContractAttribute = new CodeAttributeDeclaration(DataContract.
GetClrTypeFullName
(Globals.TypeOfCollectionDataContractAttribute));
1198
type.BaseTypes.Add(DataContract.
GetClrTypeFullName
(Globals.TypeOfIXmlSerializable));
1208
DataContract.
GetClrTypeFullName
(Globals.TypeOfXmlSchemaProviderAttribute),
1216
DataContract.
GetClrTypeFullName
(Globals.TypeOfXmlSchemaProviderAttribute),
1235
CodeAttributeDeclaration xmlRootAttribute = new CodeAttributeDeclaration(DataContract.
GetClrTypeFullName
(Globals.TypeOfXmlRootAttribute));
1276
CodeAttributeDeclaration namespaceAttribute = new CodeAttributeDeclaration(DataContract.
GetClrTypeFullName
(Globals.TypeOfContractNamespaceAttribute));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeGenerator.cs (9)
833
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(string.Format(SRSerialization.CanOnlyStoreIntoArgOrLocGot0, DataContract.
GetClrTypeFullName
(var.GetType()))));
1025
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(string.Format(SRSerialization.UnknownConstantType, DataContract.
GetClrTypeFullName
(valueType))));
1276
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(string.Format(SRSerialization.ArrayTypeIsNotSupported, DataContract.
GetClrTypeFullName
(arrayElementType))));
1338
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(string.Format(SRSerialization.ArrayTypeIsNotSupported, DataContract.
GetClrTypeFullName
(arrayElementType))));
1514
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(string.Format(SRSerialization.NoConversionPossibleTo, DataContract.
GetClrTypeFullName
(target))));
1529
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(string.Format(SRSerialization.IsNotAssignableFrom, DataContract.
GetClrTypeFullName
(target), DataContract.
GetClrTypeFullName
(source))));
1549
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(string.Format(SRSerialization.IsNotAssignableFrom, DataContract.
GetClrTypeFullName
(target), DataContract.
GetClrTypeFullName
(source))));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CollectionDataContract.cs (20)
548
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.GetOnlyCollectionMustHaveAddMethod,
GetClrTypeFullName
(UnderlyingType))));
631
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.InvalidCollectionContractItemName, DataContract.
GetClrTypeFullName
(UnderlyingType))));
638
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.InvalidCollectionContractKeyName, DataContract.
GetClrTypeFullName
(UnderlyingType))));
640
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.InvalidCollectionContractKeyNoDictionary, DataContract.
GetClrTypeFullName
(UnderlyingType), collectionContractAttribute.KeyName)));
646
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.InvalidCollectionContractValueName, DataContract.
GetClrTypeFullName
(UnderlyingType))));
648
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.InvalidCollectionContractValueNoDictionary, DataContract.
GetClrTypeFullName
(UnderlyingType), collectionContractAttribute.ValueName)));
691
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.CollectionMustHaveGetEnumeratorMethod, DataContract.
GetClrTypeFullName
(type))));
693
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.CollectionMustHaveAddMethod, DataContract.
GetClrTypeFullName
(type))));
695
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.CollectionMustHaveItemType, DataContract.
GetClrTypeFullName
(type))));
741
string.Format(SRSerialization.DupKeyValueName, DataContract.
GetClrTypeFullName
(UnderlyingType), KeyName),
1137
SRSerialization.CollectionTypeDoesNotHaveAddMethod, DataContract.
GetClrTypeFullName
(itemType), ref dataContract);
1199
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(GetInvalidCollectionMessage(message, string.Format(SRSerialization.InvalidCollectionDataContract, DataContract.
GetClrTypeFullName
(type)), param)));
1206
dataContract = new CollectionDataContract(type, GetInvalidCollectionMessage(message, string.Format(SRSerialization.InvalidCollectionType, DataContract.
GetClrTypeFullName
(type)), param));
1314
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.CollectionTypeDoesNotHaveDefaultCtor, DataContract.
GetClrTypeFullName
(this.UnderlyingType))));
1341
DataContract.
GetClrTypeFullName
(UnderlyingType)),
1353
DataContract.
GetClrTypeFullName
(ItemType)),
1365
DataContract.
GetClrTypeFullName
(UnderlyingType)),
1377
DataContract.
GetClrTypeFullName
(UnderlyingType),
1401
DataContract.
GetClrTypeFullName
(UnderlyingType)),
1413
DataContract.
GetClrTypeFullName
(ItemType)),
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContract.cs (22)
148
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SerializationException(string.Format(SRSerialization.ErrorDeserializing, string.Format(SRSerialization.ErrorTypeInfo, DataContract.
GetClrTypeFullName
(dataContract.UnderlyingType)), string.Format(SRSerialization.NoSetMethodForProperty, string.Empty, string.Empty))));
309
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.UnexpectedContractType, DataContract.
GetClrTypeFullName
(this.GetType()), DataContract.
GetClrTypeFullName
(UnderlyingType))));
314
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.UnexpectedContractType, DataContract.
GetClrTypeFullName
(this.GetType()), DataContract.
GetClrTypeFullName
(UnderlyingType))));
1322
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.RecursiveCollectionType,
GetClrTypeFullName
(itemType))));
1452
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.InvalidDataContractName, DataContract.
GetClrTypeFullName
(type))));
1464
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.InvalidDataContractNamespace, DataContract.
GetClrTypeFullName
(type))));
1543
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.TooManyDataContracts, DataContract.
GetClrTypeFullName
(type))));
1585
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.TooManyCollectionContracts, DataContract.
GetClrTypeFullName
(type))));
1592
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.InvalidCollectionContractName, DataContract.
GetClrTypeFullName
(type))));
1604
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.InvalidCollectionContractNamespace, DataContract.
GetClrTypeFullName
(type))));
1676
typeName = DataContract.
GetClrTypeFullName
(type).Substring(nsLen).Replace('+', '.');
2088
DataContract.ThrowInvalidDataContractException(string.Format(SRSerialization.KnownTypeAttributeOneScheme, DataContract.
GetClrTypeFullName
(type)), type);
2098
DataContract.ThrowInvalidDataContractException(string.Format(SRSerialization.KnownTypeAttributeOneScheme, DataContract.
GetClrTypeFullName
(type)), type);
2104
DataContract.ThrowInvalidDataContractException(string.Format(SRSerialization.KnownTypeAttributeNoData, DataContract.
GetClrTypeFullName
(type)), type);
2108
DataContract.ThrowInvalidDataContractException(string.Format(SRSerialization.KnownTypeAttributeEmptyString, DataContract.
GetClrTypeFullName
(type)), type);
2112
DataContract.ThrowInvalidDataContractException(string.Format(SRSerialization.KnownTypeAttributeUnknownMethod, methodName, DataContract.
GetClrTypeFullName
(type)), type);
2115
DataContract.ThrowInvalidDataContractException(string.Format(SRSerialization.KnownTypeAttributeReturnType, DataContract.
GetClrTypeFullName
(type), methodName), type);
2120
DataContract.ThrowInvalidDataContractException(string.Format(SRSerialization.KnownTypeAttributeMethodNull, DataContract.
GetClrTypeFullName
(type)), type);
2126
DataContract.ThrowInvalidDataContractException(string.Format(SRSerialization.KnownTypeAttributeValidMethodTypes, DataContract.
GetClrTypeFullName
(type)), type);
2347
: this(DataContract.
GetClrTypeFullName
(type.GetGenericTypeDefinition()), type.GetGenericArguments())
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContractSet.cs (6)
133
bool typeNamesEqual = (DataContract.
GetClrTypeFullName
(dataContract.UnderlyingType) == DataContract.
GetClrTypeFullName
(dataContractInSet.UnderlyingType));
134
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRSerialization.DupTypeContractInDataContractSet, (typeNamesEqual ? dataContract.UnderlyingType.AssemblyQualifiedName : DataContract.
GetClrTypeFullName
(dataContract.UnderlyingType)), (typeNamesEqual ? dataContractInSet.UnderlyingType.AssemblyQualifiedName : DataContract.
GetClrTypeFullName
(dataContractInSet.UnderlyingType)), dataContract.StableName.Name, dataContract.StableName.Namespace)));
266
DataContract.
GetClrTypeFullName
(dataMemberType), DataContract.
GetClrTypeFullName
(dataMember.MemberInfo.DeclaringType), dataMember.MemberInfo.Name)));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\EnumDataContract.cs (8)
212
DataContract.
GetClrTypeFullName
(type),
289
ThrowInvalidDataContractException(string.Format(SRSerialization.TooManyEnumMembers, DataContract.
GetClrTypeFullName
(field.DeclaringType), field.Name));
296
ThrowInvalidDataContractException(string.Format(SRSerialization.InvalidEnumMemberValue, field.Name, DataContract.
GetClrTypeFullName
(type)));
307
ThrowInvalidDataContractException(string.Format(SRSerialization.DataMemberOnEnumField, DataContract.
GetClrTypeFullName
(field.DeclaringType), field.Name));
371
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(string.Format(SRSerialization.InvalidEnumValueOnWrite, value, DataContract.
GetClrTypeFullName
(UnderlyingType))));
377
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(string.Format(SRSerialization.InvalidEnumValueOnWrite, value, DataContract.
GetClrTypeFullName
(UnderlyingType))));
417
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(string.Format(SRSerialization.InvalidEnumValueOnRead, stringValue, DataContract.
GetClrTypeFullName
(UnderlyingType))));
436
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(string.Format(SRSerialization.InvalidEnumValueOnRead, value.Substring(index, count), DataContract.
GetClrTypeFullName
(UnderlyingType))));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ExceptionDataContract.cs (1)
458
DataContract.
GetClrTypeFullName
(declaringType),
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaExporter.cs (7)
24
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.InvalidXmlDataContractName, DataContract.
GetClrTypeFullName
(type))));
53
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.InvalidGetSchemaMethod, DataContract.
GetClrTypeFullName
(clrType))));
60
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.MissingGetSchemaMethod, DataContract.
GetClrTypeFullName
(clrType), methodName)));
63
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.InvalidReturnTypeOnGetSchemaMethod, DataContract.
GetClrTypeFullName
(clrType), methodName, DataContract.
GetClrTypeFullName
(getMethod.ReturnType), DataContract.
GetClrTypeFullName
(Globals.TypeOfXmlQualifiedName))));
70
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.InvalidNonNullReturnValueByIsAny, DataContract.
GetClrTypeFullName
(clrType), methodName)));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlDataContract.cs (7)
235
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.IXmlSerializableCannotHaveDataContract, DataContract.
GetClrTypeFullName
(type))));
237
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.IXmlSerializableCannotHaveCollectionDataContract, DataContract.
GetClrTypeFullName
(type))));
270
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.IsAnyCannotHaveXmlRoot, DataContract.
GetClrTypeFullName
(UnderlyingType))));
364
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.IXmlSerializableMustHaveDefaultConstructor, DataContract.
GetClrTypeFullName
(type))));
395
ilg.BeginMethod("Create" + DataContract.
GetClrTypeFullName
(type), typeof(CreateXmlSerializableDelegate), memberAccessFlag);
461
new SecurityException(string.Format(SRSerialization.PartialTrustIXmlSerializableTypeNotPublic, DataContract.
GetClrTypeFullName
(UnderlyingType)),
472
new SecurityException(string.Format(SRSerialization.PartialTrustIXmlSerialzableNoPublicConstructor, DataContract.
GetClrTypeFullName
(UnderlyingType)),
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlFormatReaderGenerator.cs (3)
405
ThrowValidationException(string.Format(SRSerialization.ValueTypeCannotBeNull, DataContract.
GetClrTypeFullName
(type)));
421
ThrowValidationException(string.Format(SRSerialization.ValueTypeCannotHaveId, DataContract.
GetClrTypeFullName
(type)));
444
ThrowValidationException(string.Format(SRSerialization.ValueTypeCannotHaveRef, DataContract.
GetClrTypeFullName
(type)));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializer.cs (1)
383
string typeInfo = (type == null) ? string.Empty : string.Format(SRSerialization.ErrorTypeInfo, DataContract.
GetClrTypeFullName
(type));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (6)
72
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(string.Format(SRSerialization.NullValueReturnedForGetOnlyCollection, DataContract.
GetClrTypeFullName
(type))));
81
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(string.Format(SRSerialization.ArrayExceededSize, arraySize, DataContract.
GetClrTypeFullName
(type))));
134
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(string.Format(SRSerialization.ErrorDeserializing, string.Format(SRSerialization.ErrorTypeInfo, DataContract.
GetClrTypeFullName
(declaredType)), string.Format(SRSerialization.XmlStartElementExpected, Globals.RefLocalName))));
423
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(string.Format(SRSerialization.FactoryObjectContainsSelfReference, DataContract.
GetClrTypeFullName
(oldObj.GetType()), DataContract.
GetClrTypeFullName
(newObj.GetType()), id)));
475
DataContract.
GetClrTypeFullName
(typeof(T)))));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerReadContextComplex.cs (2)
126
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.SurrogatesWithGetOnlyCollectionsNotSupportedSerDeser, DataContract.
GetClrTypeFullName
(declaredType))));
199
DataContract.
GetClrTypeFullName
(type))));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (9)
273
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(string.Format(SRSerialization.DcTypeNotFoundOnSerialize, DataContract.
GetClrTypeFullName
(dataContract.UnderlyingType), dataContract.StableName.Name, dataContract.StableName.Namespace)));
422
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(string.Format(SRSerialization.CannotSerializeObjectWithCycles, DataContract.
GetClrTypeFullName
(obj.GetType()))));
571
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(string.Format(SRSerialization.UnknownXmlType, DataContract.
GetClrTypeFullName
(obj.GetType()))));
602
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(string.Format(SRSerialization.ResolveTypeReturnedFalse, DataContract.
GetClrTypeFullName
(DataContractResolver.GetType()), DataContract.
GetClrTypeFullName
(objectType))));
612
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(string.Format(SRSerialization.ResolveTypeReturnedNull, DataContract.
GetClrTypeFullName
(DataContractResolver.GetType()), DataContract.
GetClrTypeFullName
(objectType))));
617
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(string.Format(SRSerialization.ResolveTypeReturnedNull, DataContract.
GetClrTypeFullName
(DataContractResolver.GetType()), DataContract.
GetClrTypeFullName
(objectType))));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerWriteContextComplex.cs (1)
242
DataContract.
GetClrTypeFullName
(type))));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlSerializableWriter.cs (3)
27
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(string.Format(SRSerialization.IXmlSerializableMissingEndElements, (_obj == null ? string.Empty : DataContract.
GetClrTypeFullName
(_obj.GetType())))));
56
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(string.Format(SRSerialization.IXmlSerializableWritePastSubTree, (_obj == null ? string.Empty : DataContract.
GetClrTypeFullName
(_obj.GetType())))));
64
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(string.Format(SRSerialization.IXmlSerializableWritePastSubTree, (_obj == null ? string.Empty : DataContract.
GetClrTypeFullName
(_obj.GetType())))));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlWriterDelegator.cs (1)
289
return new InvalidDataContractException(string.Format(SRSerialization.InvalidPrimitiveType, DataContract.
GetClrTypeFullName
(type)));