2 writes to Exception
System.Private.Xml (2)
System\Xml\Serialization\Models.cs (1)
209
typeDesc.
Exception
??= new NotSupportedException(SR.Format(SR.XmlSerializerUnsupportedType, typeDesc.FullName));
System\Xml\Serialization\Types.cs (1)
915
typeDesc.
Exception
= exception;
3 references to Exception
System.Private.Xml (3)
System\Xml\Serialization\Models.cs (1)
210
throw new InvalidOperationException(SR.Format(SR.XmlSerializerUnsupportedMember, $"{member.DeclaringType!.FullName}.{member.Name}", type.FullName), typeDesc.
Exception
);
System\Xml\Serialization\Types.cs (2)
374
if (
Exception
!= null)
376
throw
Exception
;