93 references to FullName
System.Private.Xml (93)
System\Xml\Serialization\Mappings.cs (7)
599
throw new InvalidOperationException(SR.Format(SR.XmlHiddenMember, parent, member.Name, member.TypeDesc!.
FullName
, this.TypeName, _members[i].Name, _members[i].TypeDesc!.
FullName
));
626
throw new InvalidOperationException(SR.Format(SR.XmlIllegalSimpleContentExtension, TypeDesc!.
FullName
, BaseMapping.TypeDesc.
FullName
));
639
throw new InvalidOperationException(SR.Format(SR.XmlIllegalTypedTextAttribute, TypeDesc!.
FullName
, text.Name, text.Mapping.TypeDesc.
FullName
));
1083
throw new InvalidOperationException(SR.Format(SR.XmlCircularDerivation, TypeDesc!.
FullName
));
System\Xml\Serialization\Models.cs (1)
209
typeDesc.Exception ??= new NotSupportedException(SR.Format(SR.XmlSerializerUnsupportedType, typeDesc.
FullName
));
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (3)
955
bool isDoc = specialMapping.TypeDesc.
FullName
== typeof(XmlDocument).FullName;
1629
throw new InvalidOperationException(SR.Format(SR.XmlSequenceHierarchy, structMapping.TypeDesc.
FullName
, mapping.Name, declaringMapping!.TypeDesc!.
FullName
, "Order"));
System\Xml\Serialization\ReflectionXmlSerializationWriter.cs (3)
145
throw CreateInvalidChoiceIdentifierValueException(choice.Mapping!.TypeDesc!.
FullName
, choice.MemberName!);
251
throw CreateChoiceIdentifierValueException(choice.Mapping!.TypeDesc!.
FullName
, choice.MemberName!, elem.Name, elem.NamespaceURI);
726
throw CreateInvalidEnumValueException(v, mapping.TypeDesc!.
FullName
);
System\Xml\Serialization\SchemaImporter.cs (2)
97
throw new InvalidOperationException(SR.Format(SR.XmlInvalidBaseType, structMapping.TypeDesc!.
FullName
, baseType.FullName, typeDescToChange.BaseTypeDesc.
FullName
));
System\Xml\Serialization\SoapReflectionImporter.cs (17)
176
if (model.TypeDesc.
FullName
!= td.
FullName
)
178
throw new InvalidOperationException(SR.Format(SR.XmlDataTypeMismatch, dataType, "SoapElementAttribute.DataType", model.TypeDesc.
FullName
));
219
throw new NotSupportedException(SR.Format(SR.XmlUnsupportedSoapTypeKind, model.TypeDesc.
FullName
));
253
throw new InvalidOperationException(SR.Format(SR.XmlTypesDuplicate, typeDesc.
FullName
, mapping.TypeDesc!.
FullName
, typeName, ns));
276
throw new InvalidOperationException(SR.Format(SR.XmlTypesDuplicate, typeDesc.
FullName
, existingMapping.TypeDesc!.
FullName
, typeDesc.Name, existingMapping.Namespace));
281
throw new InvalidOperationException(SR.Format(SR.XmlTypesDuplicate, typeDesc.
FullName
, existingMapping.TypeDesc!.
FullName
, typeDesc.Name, existingMapping.Namespace));
401
throw new NotSupportedException(SR.Format(SR.XmlRpcRefsInValueType, model.TypeDesc.
FullName
));
403
throw new NotSupportedException(SR.Format(SR.XmlRpcNestedValueType, member.TypeDesc.
FullName
));
426
throw new NotSupportedException(SR.Format(SR.XmlRpcArrayOfValueTypes, model.TypeDesc.
FullName
));
502
throw new InvalidOperationException(SR.Format(SR.XmlInvalidSoapArray, mapping.TypeDesc!.
FullName
));
583
throw new InvalidOperationException(SR.Format(SR.XmlNoSerializableMembers, model.TypeDesc.
FullName
));
697
throw new InvalidOperationException(SR.Format(SR.XmlIllegalSoapAttribute, accessorName, accessor.TypeDesc.
FullName
));
751
throw new InvalidOperationException(SR.Format(SR.XmlInvalidDefaultEnumValue, a.SoapDefaultValue.GetType().FullName, fieldTypeDesc.
FullName
));
System\Xml\Serialization\Types.cs (2)
380
throw new NotSupportedException(SR.Format(SR.XmlSerializerUnsupportedType,
FullName
));
392
_exception = new InvalidOperationException(SR.Format(SR.XmlConstructorInaccessible,
FullName
));
System\Xml\Serialization\XmlMemberMapping.cs (1)
87
get { return _mapping.TypeDesc!.
FullName
; }
System\Xml\Serialization\XmlReflectionImporter.cs (28)
286
throw new InvalidOperationException(SR.Format(SR.XmlInvalidNotNullable, model.TypeDesc.BaseTypeDesc!.
FullName
, "XmlRoot"));
301
return ((TypeMapping)mapping).TypeDesc!.
FullName
;
414
if (modelTypeDesc.
FullName
!= td.
FullName
)
416
throw new InvalidOperationException(SR.Format(SR.XmlDataTypeMismatch, dataType, "XmlElementAttribute.DataType", modelTypeDesc.
FullName
));
464
throw new InvalidOperationException(SR.Format(SR.XmlSerializableAttributes, model.TypeDesc.
FullName
, nameof(XmlSchemaProviderAttribute)));
482
throw CreateTypeReflectionException(model.TypeDesc.
FullName
, e);
630
return new InvalidOperationException(SR.Format(SR.XmlIllegalTypeContext, typeDesc.
FullName
, GetContextName(context)));
674
throw new InvalidOperationException(SR.Format(SR.XmlTypesDuplicate, typeDesc.
FullName
, existingMapping.TypeDesc!.
FullName
, typeDesc.Name, existingMapping.Namespace));
679
throw new InvalidOperationException(SR.Format(SR.XmlTypesDuplicate, typeDesc.
FullName
, existingMapping.TypeDesc!.
FullName
, typeDesc.Name, existingMapping.Namespace));
722
throw new InvalidOperationException(SR.Format(SR.XmlTypesDuplicate, typeDesc.
FullName
, mapping.TypeDesc!.
FullName
, typeName, ns));
874
throw new InvalidOperationException(SR.Format(SR.XmlIllegalTypedTextAttribute, typeName, member.Text.Name, member.Text.Mapping.TypeDesc.
FullName
));
1207
throw new InvalidOperationException(SR.Format(SR.XmlIllegalAttributeFlagsArray, model.TypeDesc.
FullName
));
1222
throw new InvalidOperationException(SR.Format(SR.XmlNoSerializableMembers, model.TypeDesc.
FullName
));
1571
Type arrayElementType = TypeScope.GetArrayElementType(accessorType, $"{model.FieldTypeDesc.
FullName
}.{model.Name}")!;
1582
throw new InvalidOperationException(SR.Format(SR.XmlIllegalAttrOrTextInterface, accessorName, accessor.TypeDesc.ArrayElementTypeDesc.
FullName
, nameof(IXmlSerializable)));
1586
throw new InvalidOperationException(SR.Format(SR.XmlIllegalAttrOrText, accessorName, accessor.TypeDesc.ArrayElementTypeDesc.
FullName
));
1661
throw new InvalidOperationException(SR.Format(SR.XmlInvalidNotNullable, typeModel.TypeDesc.BaseTypeDesc!.
FullName
, "XmlElement"));
1772
if (a.XmlAnyElements.Count > 0) throw new InvalidOperationException(SR.Format(SR.XmlIllegalAnyElement, accessor.TypeDesc.
FullName
));
1834
throw new InvalidOperationException(SR.Format(SR.XmlInvalidNotNullable, typeModel.TypeDesc.BaseTypeDesc!.
FullName
, "XmlElement"));
1873
throw new InvalidOperationException(SR.Format(SR.XmlIllegalAttrOrTextInterface, accessorName, accessor.TypeDesc.
FullName
, nameof(IXmlSerializable)));
1902
throw new InvalidOperationException(SR.Format(SR.XmlInvalidNotNullable, typeModel.TypeDesc.BaseTypeDesc!.
FullName
, "XmlElement"));
2027
throw new InvalidOperationException(SR.Format(SR.XmlChoiceMissingAnyValue, accessor.ChoiceIdentifier.Mapping!.TypeDesc!.
FullName
));
2033
throw new InvalidOperationException(SR.Format(SR.XmlChoiceMissingValue, accessor.ChoiceIdentifier.Mapping!.TypeDesc!.
FullName
, id, element.Name, element.Namespace));
2233
if (isNullable && !typeDesc.IsNullable) throw new InvalidOperationException(SR.Format(SR.XmlInvalidIsNullable, typeDesc.
FullName
));
System\Xml\Serialization\XmlSchemaExporter.cs (1)
893
return val != 0 ? XmlCustomFormatter.FromEnum(val, names, ids, mapping.TypeDesc!.
FullName
) : null;
System\Xml\Serialization\XmlSchemaImporter.cs (5)
591
throw new InvalidOperationException(SR.Format(SR.XmlIllegalOverride, type.Name, baseMember.Name, baseMember.TypeDesc!.
FullName
, structMapping.Members[i].TypeDesc!.
FullName
, declaringMapping!.TypeDesc!.
FullName
));
787
string tdFullName = element.Mapping!.TypeDesc!.
FullName
;
1738
if (sourceTypeDesc != null && sourceTypeDesc.
FullName
!= typeof(string).FullName)
System\Xml\Serialization\XmlSerializationReader.cs (3)
3344
throw new InvalidOperationException(SR.Format(SR.XmlSequenceHierarchy, structMapping.TypeDesc.
FullName
, mapping.Name, declaringMapping!.TypeDesc!.
FullName
, "Order"));
4810
bool isDoc = special.TypeDesc.
FullName
== typeof(XmlDocument).FullName;
System\Xml\Serialization\XmlSerializationReaderILGen.cs (3)
1568
throw new InvalidOperationException(SR.Format(SR.XmlSequenceHierarchy, structMapping.TypeDesc.
FullName
, mapping.Name, declaringMapping!.TypeDesc!.
FullName
, "Order"));
3178
bool isDoc = special.TypeDesc.
FullName
== typeof(XmlDocument).FullName;
System\Xml\Serialization\XmlSerializationWriter.cs (8)
2942
WriteQuotedCSharpString(mapping.TypeDesc.
FullName
);
2950
WriteQuotedCSharpString(mapping.TypeDesc.
FullName
);
2987
if (methodName == null) throw new InvalidOperationException("derived from " + mapping.TypeDesc!.
FullName
+ ", " + SR.Format(SR.XmlInternalErrorMethod, derived.TypeDesc.Name) + Environment.StackTrace);
3515
WriteQuotedCSharpString(choice.Mapping.TypeDesc.
FullName
);
3666
string? enumTypeName = choice == null ? null : choice.Mapping!.TypeDesc!.
FullName
;
4237
WriteQuotedCSharpString(typeDesc.
FullName
);
4486
throw new InvalidOperationException(SR.Format(SR.XmlChoiceMissingAnyValue, choiceMapping.TypeDesc!.
FullName
));
4489
throw new InvalidOperationException(SR.Format(SR.XmlChoiceMissingValue, choiceMapping.TypeDesc!.
FullName
, $"{element.Namespace}:{element.Name}", element.Name, element.Namespace));
System\Xml\Serialization\XmlSerializationWriterILGen.cs (8)
679
ilg.Ldstr(GetCSharpString(mapping.TypeDesc.
FullName
));
726
ilg.Ldstr(GetCSharpString(mapping.TypeDesc.
FullName
));
748
if (methodName == null) throw new InvalidOperationException("derived from " + mapping.TypeDesc!.
FullName
+ ", " + SR.Format(SR.XmlInternalErrorMethod, derived.TypeDesc.Name));
1459
ilg.Ldstr(GetCSharpString(choice.Mapping.TypeDesc.
FullName
));
1588
string? enumTypeName = choice == null ? null : choice.Mapping!.TypeDesc!.
FullName
;
2173
ilg.Ldstr(GetCSharpString(typeDesc.
FullName
));
2277
throw new InvalidOperationException(SR.Format(SR.XmlChoiceMissingAnyValue, choiceMapping.TypeDesc!.
FullName
));
2280
throw new InvalidOperationException(SR.Format(SR.XmlChoiceMissingValue, choiceMapping.TypeDesc!.
FullName
, $"{element.Namespace}:{element.Name}", element.Name, element.Namespace));
System\Xml\Serialization\XmlTypeMapping.cs (1)
41
return Mapping!.TypeDesc!.
FullName
;