1 type derived from XamlInternalException
System.Xaml.Tests (1)
System\Xaml\XamlInternalExceptionTests.cs (1)
66
private class SubXamlInternalException :
XamlInternalException
29 instantiations of XamlInternalException
System.Xaml (25)
System\Xaml\Context\XamlContext.cs (1)
79
throw new
XamlInternalException
(SR.Format(SR.ParentlessPropertyElement, propName.ScopedName));
System\Xaml\InfosetObjects\DeferredWriter.cs (14)
81
throw new
XamlInternalException
(SR.Format(SR.TemplateNotCollected, methodName));
103
throw new
XamlInternalException
(SR.Format(SR.MissingCase, _mode.ToString(), methodName));
116
throw new
XamlInternalException
(SR.Format(SR.TemplateNotCollected, "WriteEndObject"));
133
throw new
XamlInternalException
(SR.Format(SR.MissingCase, _mode.ToString(), "WriteEndObject"));
154
throw new
XamlInternalException
(SR.Format(SR.TemplateNotCollected, "WriteMember"));
162
throw new
XamlInternalException
(SR.Format(SR.MissingCase, _mode.ToString(), "WriteMember"));
175
throw new
XamlInternalException
(SR.Format(SR.TemplateNotCollected, "WriteEndMember"));
183
throw new
XamlInternalException
(SR.Format(SR.MissingCase, _mode.ToString(), "WriteEndMember"));
196
throw new
XamlInternalException
(SR.Format(SR.TemplateNotCollected, "WriteValue"));
222
throw new
XamlInternalException
(SR.Format(SR.MissingCase, _mode.ToString(), "WriteValue"));
234
throw new
XamlInternalException
(SR.Format(SR.TemplateNotCollected, "WriteNamespace"));
247
throw new
XamlInternalException
(SR.Format(SR.MissingCase, _mode.ToString(), "WriteNamespace"));
288
throw new
XamlInternalException
(SR.Format(SR.TemplateNotCollected, nameof(SetLineInfo)));
300
throw new
XamlInternalException
(SR.Format(SR.MissingCase, _mode.ToString(), nameof(SetLineInfo)));
System\Xaml\InfosetObjects\XamlObjectWriter.cs (7)
109
throw _context.WithLineInfo(new
XamlInternalException
());
1144
throw ctx.WithLineInfo(new
XamlInternalException
(SR.ConstructImplicitType));
1176
throw ctx.WithLineInfo(new
XamlInternalException
(errMsg));
1235
throw ctx.WithLineInfo(new
XamlInternalException
(SR.NonMEWithPositionalParameters));
1254
throw ctx.WithLineInfo(new
XamlInternalException
(SR.PositionalParamsWrongLength));
2126
throw new
XamlInternalException
(SR.BadStateObjectWriter);
2568
throw new
XamlInternalException
("Token's Target Property '{0}' != '{1}' the Token's Context parent Property");
System\Xaml\Parser\XamlScanner.cs (1)
798
throw new
XamlInternalException
(SR.AttributeUnhandledKind);
System\Xaml\Runtime\ClrObjectRuntime.cs (1)
557
throw new
XamlInternalException
(SR.Format(SR.XmlValueNotReader, property.Name));
System\Xaml\XamlReader.cs (1)
84
throw new
XamlInternalException
("SkipFromTo() called incorrectly");
System.Xaml.Tests (4)
System\Xaml\XamlInternalExceptionTests.cs (4)
16
var exception = new
XamlInternalException
();
26
var exception = new
XamlInternalException
("message");
44
var exception = new
XamlInternalException
(message, innerException);
61
var exception = new
XamlInternalException
();
5 references to XamlInternalException
System.Xaml.Tests (5)
System\Xaml\XamlInternalExceptionTests.cs (4)
16
var
exception = new XamlInternalException();
26
var
exception = new XamlInternalException("message");
44
var
exception = new XamlInternalException(message, innerException);
61
var
exception = new XamlInternalException();
System\Xaml\XamlReaderTests.cs (1)
52
Assert.Throws<
XamlInternalException
>(() => reader.Skip());