15 references to XamlException
System.Xaml (14)
System\Xaml\WriterDelegate.cs (2)
76
_addDelegate = delegate { throw new
XamlException
(SR.WriterIsClosed); };
79
_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?.Name, type?.Name))
153
:
base
(message) { }
186
:
base
(MessagePrefix) { }
223
:
base
(message)
246
:
base
(message)
System\Xaml\XamlNodeList.cs (5)
56
throw new
XamlException
(SR.CloseXamlWriterBeforeReading);
61
throw new
XamlException
(SR.SchemaContextNotInitialized);
83
throw new
XamlException
(SR.CannotWriteClosedWriter);
91
throw new
XamlException
(SR.CannotWriteClosedWriter);
106
throw new
XamlException
(SR.CloseXamlWriterBeforeReading);
System.Xaml.Tests (1)
System\Xaml\XamlExceptionTests.cs (1)
26
var exception = new
XamlException
("message");