111 references to FullName
System.Xml (111)
System\Xml\Serialization\CodeExporter.cs (5)
173include.Arguments.Add(new CodeAttributeArgument(new CodeTypeOfExpression(derived.TypeDesc.FullName))); 181if (ShouldInclude(arrayMapping) && !typesIncluded.Contains(arrayMapping.TypeDesc.FullName)) { 183include.Arguments.Add(new CodeAttributeArgument(new CodeTypeOfExpression(arrayMapping.TypeDesc.FullName))); 185typesIncluded.Add(arrayMapping.TypeDesc.FullName, string.Empty); 261attribute.Arguments.Add(new CodeAttributeArgument(new CodeTypeOfExpression(derived.TypeDesc.FullName)));
System\Xml\Serialization\Mappings.cs (10)
512throw new InvalidOperationException(Res.GetString(Res.XmlHiddenMember, parent, member.Name, member.TypeDesc.FullName, this.TypeName, members[i].Name, members[i].TypeDesc.FullName)); 534throw new InvalidOperationException(Res.GetString(Res.XmlIllegalSimpleContentExtension, TypeDesc.FullName, BaseMapping.TypeDesc.FullName)); 544throw new InvalidOperationException(Res.GetString(Res.XmlIllegalTypedTextAttribute, TypeDesc.FullName, text.Name, text.Mapping.TypeDesc.FullName)); 869return td.FullName; 873return "System.Nullable`1[" + td.FullName + "]"; 885return TypeDesc.FullName; 971throw new InvalidOperationException(Res.GetString(Res.XmlCircularDerivation, TypeDesc.FullName));
System\Xml\Serialization\Models.cs (1)
168typeDesc.Exception = new NotSupportedException(Res.GetString(Res.XmlSerializerUnsupportedType, typeDesc.FullName));
System\Xml\Serialization\SchemaImporter.cs (2)
152throw new InvalidOperationException(Res.GetString(Res.XmlInvalidBaseType, structMapping.TypeDesc.FullName, baseType.FullName, typeDescToChange.BaseTypeDesc.FullName));
System\Xml\Serialization\SoapReflectionImporter.cs (17)
192if (model.TypeDesc.FullName != td.FullName) { 193throw new InvalidOperationException(Res.GetString(Res.XmlDataTypeMismatch, dataType, "SoapElementAttribute.DataType", model.TypeDesc.FullName)); 231throw new NotSupportedException(Res.GetString(Res.XmlUnsupportedSoapTypeKind, model.TypeDesc.FullName)); 259throw new InvalidOperationException(Res.GetString(Res.XmlTypesDuplicate, typeDesc.FullName, mapping.TypeDesc.FullName, typeName, ns)); 276throw new InvalidOperationException(Res.GetString(Res.XmlTypesDuplicate, typeDesc.FullName, existingMapping.TypeDesc.FullName, typeDesc.Name, existingMapping.Namespace)); 280throw new InvalidOperationException(Res.GetString(Res.XmlTypesDuplicate, typeDesc.FullName, existingMapping.TypeDesc.FullName, typeDesc.Name, existingMapping.Namespace)); 386throw new NotSupportedException(Res.GetString(Res.XmlRpcRefsInValueType, model.TypeDesc.FullName)); 388throw new NotSupportedException(Res.GetString(Res.XmlRpcNestedValueType, member.TypeDesc.FullName)); 410throw new NotSupportedException(Res.GetString(Res.XmlRpcArrayOfValueTypes, model.TypeDesc.FullName)); 476throw new InvalidOperationException(Res.GetString(Res.XmlInvalidSoapArray, mapping.TypeDesc.FullName)); 545throw new InvalidOperationException(Res.GetString(Res.XmlNoSerializableMembers, model.TypeDesc.FullName)); 643throw new InvalidOperationException(Res.GetString(Res.XmlIllegalSoapAttribute, accessorName, accessor.TypeDesc.FullName)); 691throw new InvalidOperationException(Res.GetString(Res.XmlInvalidDefaultEnumValue, a.SoapDefaultValue.GetType().FullName, fieldTypeDesc.FullName));
System\Xml\Serialization\Types.cs (2)
333throw new NotSupportedException(Res.GetString(Res.XmlSerializerUnsupportedType, FullName)); 345this.exception = new InvalidOperationException(Res.GetString(Res.XmlConstructorInaccessible, FullName));
System\Xml\Serialization\XmlCodeExporter.cs (18)
209CodeExpression enumRef = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(mapping.TypeDesc.FullName), values[i]); 217valueExpression = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(mapping.TypeDesc.FullName), (string)value); 281if (mapping.TypeDesc.FullName != type.ToString() && !(mapping is EnumMapping)) { 283initExpression = new CodeCastExpression(mapping.TypeDesc.FullName, initExpression); 335return XmlCustomFormatter.FromEnum(val, names, ids, em.TypeDesc.FullName); 343throw new InvalidOperationException(Res.GetString(Res.XmlInvalidDefaultValue, defaultValue, em.TypeDesc.FullName)); 377DropDefaultAttribute(accessor, comments, memberTypeDesc.FullName); 385DropDefaultAttribute(accessor, comments, memberTypeDesc.FullName); 393CodeExpression init = extension.ImportDefaultValue((string)defaultValue, mapping.TypeDesc.FullName); 400field.InitExpression = extension.ImportDefaultValue((string)defaultValue, mapping.TypeDesc.FullName); 404DropDefaultAttribute(accessor, comments, mapping.TypeDesc.FullName); 418DropDefaultAttribute(accessor, comments, memberTypeDesc.FullName); 427DropDefaultAttribute(accessor, comments, pm.TypeDesc.FullName); 471DropDefaultAttribute(accessor, comments, memberTypeDesc.FullName); 495string baseName = mapping.TypeDesc.BaseTypeDesc == null || mapping.TypeDesc.BaseTypeDesc.IsRoot ? string.Empty : mapping.TypeDesc.BaseTypeDesc.FullName; 751attribute.Arguments.Add(new CodeAttributeArgument(new CodeTypeOfExpression(typeDesc.FullName))); 782attribute.Arguments.Add(new CodeAttributeArgument(new CodeTypeOfExpression("System.Nullable`1[" + typeDesc.FullName + "]"))); 786attribute.Arguments.Add(new CodeAttributeArgument(new CodeTypeOfExpression(typeDesc.FullName)));
System\Xml\Serialization\XmlMemberMapping.cs (1)
90get { return mapping.TypeDesc.FullName; }
System\Xml\Serialization\XmlReflectionImporter.cs (28)
253throw new InvalidOperationException(Res.GetString(Res.XmlInvalidNotNullable, model.TypeDesc.BaseTypeDesc.FullName, "XmlRoot")); 267return ((TypeMapping)mapping).TypeDesc.FullName; 359if (modelTypeDesc.FullName != td.FullName) { 360throw new InvalidOperationException(Res.GetString(Res.XmlDataTypeMismatch, dataType, "XmlElementAttribute.DataType", modelTypeDesc.FullName)); 404throw new InvalidOperationException(Res.GetString(Res.XmlSerializableAttributes, model.TypeDesc.FullName, typeof(XmlSchemaProviderAttribute).Name)); 419throw CreateTypeReflectionException(model.TypeDesc.FullName, e); 557return new InvalidOperationException(Res.GetString(Res.XmlIllegalTypeContext, typeDesc.FullName, GetContextName(context))); 593throw new InvalidOperationException(Res.GetString(Res.XmlTypesDuplicate, typeDesc.FullName, existingMapping.TypeDesc.FullName, typeDesc.Name, existingMapping.Namespace)); 597throw new InvalidOperationException(Res.GetString(Res.XmlTypesDuplicate, typeDesc.FullName, existingMapping.TypeDesc.FullName, typeDesc.Name, existingMapping.Namespace)); 636throw new InvalidOperationException(Res.GetString(Res.XmlTypesDuplicate, typeDesc.FullName, mapping.TypeDesc.FullName, typeName, ns)); 765throw new InvalidOperationException(Res.GetString(Res.XmlIllegalTypedTextAttribute, typeName, member.Text.Name, member.Text.Mapping.TypeDesc.FullName)); 1052throw new InvalidOperationException(Res.GetString(Res.XmlIllegalAttributeFlagsArray, model.TypeDesc.FullName)); 1065throw new InvalidOperationException(Res.GetString(Res.XmlNoSerializableMembers, model.TypeDesc.FullName)); 1357Type arrayElementType = TypeScope.GetArrayElementType(accessorType, model.FieldTypeDesc.FullName + "." + model.Name); 1366throw new InvalidOperationException(Res.GetString(Res.XmlIllegalAttrOrTextInterface, accessorName, accessor.TypeDesc.ArrayElementTypeDesc.FullName, typeof(IXmlSerializable).Name)); 1369throw new InvalidOperationException(Res.GetString(Res.XmlIllegalAttrOrText, accessorName, accessor.TypeDesc.ArrayElementTypeDesc.FullName)); 1438throw new InvalidOperationException(Res.GetString(Res.XmlInvalidNotNullable, typeModel.TypeDesc.BaseTypeDesc.FullName, "XmlElement")); 1538if (a.XmlAnyElements.Count > 0) throw new InvalidOperationException(Res.GetString(Res.XmlIllegalAnyElement, accessor.TypeDesc.FullName)); 1592throw new InvalidOperationException(Res.GetString(Res.XmlInvalidNotNullable, typeModel.TypeDesc.BaseTypeDesc.FullName, "XmlElement")); 1624throw new InvalidOperationException(Res.GetString(Res.XmlIllegalAttrOrTextInterface, accessorName, accessor.TypeDesc.FullName, typeof(IXmlSerializable).Name)); 1649throw new InvalidOperationException(Res.GetString(Res.XmlInvalidNotNullable, typeModel.TypeDesc.BaseTypeDesc.FullName, "XmlElement")); 1761throw new InvalidOperationException(Res.GetString(Res.XmlChoiceMissingAnyValue, accessor.ChoiceIdentifier.Mapping.TypeDesc.FullName)); 1766throw new InvalidOperationException(Res.GetString(Res.XmlChoiceMissingValue, accessor.ChoiceIdentifier.Mapping.TypeDesc.FullName, id, element.Name, element.Namespace)); 1930if (isNullable && !typeDesc.IsNullable) throw new InvalidOperationException(Res.GetString(Res.XmlInvalidIsNullable, typeDesc.FullName));
System\Xml\Serialization\XmlSchemaExporter.cs (1)
801return val != 0 ? XmlCustomFormatter.FromEnum(val, names, ids, mapping.TypeDesc.FullName) : null;
System\Xml\Serialization\XmlSchemaImporter.cs (5)
610throw new InvalidOperationException(Res.GetString(Res.XmlIllegalOverride, type.Name, baseMember.Name, baseMember.TypeDesc.FullName, structMapping.Members[i].TypeDesc.FullName, declaringMapping.TypeDesc.FullName)); 773string tdFullName = element.Mapping.TypeDesc.FullName; 1601if (sourceTypeDesc != null && sourceTypeDesc.FullName != typeof(string).FullName)
System\Xml\Serialization\XmlSerializationReader.cs (3)
3122throw new InvalidOperationException(Res.GetString(Res.XmlSequenceHierarchy, structMapping.TypeDesc.FullName, mapping.Name, declaringMapping.TypeDesc.FullName, "Order")); 4413bool isDoc = special.TypeDesc.FullName == typeof(XmlDocument).FullName;
System\Xml\Serialization\XmlSerializationReaderILGen.cs (3)
1596throw new InvalidOperationException(Res.GetString(Res.XmlSequenceHierarchy, structMapping.TypeDesc.FullName, mapping.Name, declaringMapping.TypeDesc.FullName, "Order")); 3206bool isDoc = special.TypeDesc.FullName == typeof(XmlDocument).FullName;
System\Xml\Serialization\XmlSerializationWriter.cs (7)
1903WriteQuotedCSharpString(mapping.TypeDesc.FullName); 1910WriteQuotedCSharpString(mapping.TypeDesc.FullName); 2401WriteQuotedCSharpString(choice.Mapping.TypeDesc.FullName); 2529string enumTypeName = choice == null ? null : choice.Mapping.TypeDesc.FullName; 3035WriteQuotedCSharpString(typeDesc.FullName); 3222throw new InvalidOperationException(Res.GetString(Res.XmlChoiceMissingAnyValue, choiceMapping.TypeDesc.FullName)); 3225throw new InvalidOperationException(Res.GetString(Res.XmlChoiceMissingValue, choiceMapping.TypeDesc.FullName, element.Namespace + ":" + element.Name, element.Name, element.Namespace));
System\Xml\Serialization\XmlSerializationWriterILGen.cs (7)
629ilg.Ldstr(mapping.TypeDesc.FullName); 682ilg.Ldstr(mapping.TypeDesc.FullName); 1417ilg.Ldstr(choice.Mapping.TypeDesc.FullName); 1538string enumTypeName = choice == null ? null : choice.Mapping.TypeDesc.FullName; 2111ilg.Ldstr(typeDesc.FullName); 2201throw new InvalidOperationException(Res.GetString(Res.XmlChoiceMissingAnyValue, choiceMapping.TypeDesc.FullName)); 2204throw new InvalidOperationException(Res.GetString(Res.XmlChoiceMissingValue, choiceMapping.TypeDesc.FullName, element.Namespace + ":" + element.Name, element.Name, element.Namespace));
System\Xml\Serialization\XmlTypeMapping.cs (1)
39get { return Mapping.TypeDesc.FullName; }