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