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