2 writes to Exception
System.Xml (2)
System\Xml\Serialization\Models.cs (1)
168typeDesc.Exception = new NotSupportedException(Res.GetString(Res.XmlSerializerUnsupportedType, typeDesc.FullName));
System\Xml\Serialization\Types.cs (1)
831typeDesc.Exception = exception;
4 references to Exception
System.Xml (4)
System\Xml\Serialization\Models.cs (2)
167if (typeDesc.Exception == null) { 170throw new InvalidOperationException(Res.GetString(Res.XmlSerializerUnsupportedMember, member.DeclaringType.FullName + "." + member.Name, type.FullName), typeDesc.Exception);
System\Xml\Serialization\Types.cs (2)
329if (Exception != null) { 330throw Exception;