25 instantiations of XamlInternalException
System.Xaml (25)
System\Xaml\Context\XamlContext.cs (1)
81
throw new
XamlInternalException
(SR.Format(SR.ParentlessPropertyElement, propName.ScopedName));
System\Xaml\InfosetObjects\DeferredWriter.cs (14)
83
throw new
XamlInternalException
(SR.Format(SR.TemplateNotCollected, methodName));
104
throw new
XamlInternalException
(SR.Format(SR.MissingCase, _mode.ToString(), methodName));
117
throw new
XamlInternalException
(SR.Format(SR.TemplateNotCollected, "WriteEndObject"));
133
throw new
XamlInternalException
(SR.Format(SR.MissingCase, _mode.ToString(), "WriteEndObject"));
153
throw new
XamlInternalException
(SR.Format(SR.TemplateNotCollected, "WriteMember"));
161
throw new
XamlInternalException
(SR.Format(SR.MissingCase, _mode.ToString(), "WriteMember"));
174
throw new
XamlInternalException
(SR.Format(SR.TemplateNotCollected, "WriteEndMember"));
182
throw new
XamlInternalException
(SR.Format(SR.MissingCase, _mode.ToString(), "WriteEndMember"));
195
throw new
XamlInternalException
(SR.Format(SR.TemplateNotCollected, "WriteValue"));
220
throw new
XamlInternalException
(SR.Format(SR.MissingCase, _mode.ToString(), "WriteValue"));
232
throw new
XamlInternalException
(SR.Format(SR.TemplateNotCollected, "WriteNamespace"));
245
throw new
XamlInternalException
(SR.Format(SR.MissingCase, _mode.ToString(), "WriteNamespace"));
286
throw new
XamlInternalException
(SR.Format(SR.TemplateNotCollected, nameof(SetLineInfo)));
301
throw new
XamlInternalException
(SR.Format(SR.MissingCase, _mode.ToString(), nameof(SetLineInfo)));
System\Xaml\InfosetObjects\XamlObjectWriter.cs (7)
112
throw _context.WithLineInfo(new
XamlInternalException
());
1115
throw ctx.WithLineInfo(new
XamlInternalException
(SR.ConstructImplicitType));
1148
throw ctx.WithLineInfo(new
XamlInternalException
(errMsg));
1206
throw ctx.WithLineInfo(new
XamlInternalException
(SR.NonMEWithPositionalParameters));
1225
throw ctx.WithLineInfo(new
XamlInternalException
(SR.PositionalParamsWrongLength));
2068
throw new
XamlInternalException
(SR.BadStateObjectWriter);
2496
throw new
XamlInternalException
("Token's Target Property '{0}' != '{1}' the Token's Context parent Property");
System\Xaml\Parser\XamlScanner.cs (1)
784
throw new
XamlInternalException
(SR.AttributeUnhandledKind);
System\Xaml\Runtime\ClrObjectRuntime.cs (1)
537
throw new
XamlInternalException
(SR.Format(SR.XmlValueNotReader, property.Name));
System\Xaml\XamlReader.cs (1)
83
throw new
XamlInternalException
("SkipFromTo() called incorrectly");