14 references to XamlException
System.Xaml (14)
System\Xaml\WriterDelegate.cs (2)
77
_addDelegate = delegate { throw new
XamlException
(SR.WriterIsClosed); };
80
_addLineInfoDelegate = delegate { throw new
XamlException
(SR.WriterIsClosed); };
System\Xaml\XamlException.cs (7)
105
:
base
(message) { }
127
:
base
(message) { }
146
:
base
(SR.Format(SR.DuplicateMemberSet, (member is not null) ? member.Name : null, (type is not null) ? type.Name : null))
153
:
base
(message) { }
186
:
base
(MessagePrefix) { }
223
:
base
(message)
246
:
base
(message)
System\Xaml\XamlNodeList.cs (5)
57
throw new
XamlException
(SR.CloseXamlWriterBeforeReading);
61
throw new
XamlException
(SR.SchemaContextNotInitialized);
81
throw new
XamlException
(SR.CannotWriteClosedWriter);
89
throw new
XamlException
(SR.CannotWriteClosedWriter);
104
throw new
XamlException
(SR.CloseXamlWriterBeforeReading);