1 type derived from XamlInternalException
System.Xaml.Tests (1)
System\Xaml\XamlInternalExceptionTests.cs (1)
66private class SubXamlInternalException : XamlInternalException
29 instantiations of XamlInternalException
System.Xaml (25)
System\Xaml\Context\XamlContext.cs (1)
80throw new XamlInternalException(SR.Format(SR.ParentlessPropertyElement, propName.ScopedName));
System\Xaml\InfosetObjects\DeferredWriter.cs (14)
82throw new XamlInternalException(SR.Format(SR.TemplateNotCollected, methodName)); 104throw new XamlInternalException(SR.Format(SR.MissingCase, _mode.ToString(), methodName)); 117throw new XamlInternalException(SR.Format(SR.TemplateNotCollected, "WriteEndObject")); 134throw new XamlInternalException(SR.Format(SR.MissingCase, _mode.ToString(), "WriteEndObject")); 155throw new XamlInternalException(SR.Format(SR.TemplateNotCollected, "WriteMember")); 163throw new XamlInternalException(SR.Format(SR.MissingCase, _mode.ToString(), "WriteMember")); 176throw new XamlInternalException(SR.Format(SR.TemplateNotCollected, "WriteEndMember")); 184throw new XamlInternalException(SR.Format(SR.MissingCase, _mode.ToString(), "WriteEndMember")); 197throw new XamlInternalException(SR.Format(SR.TemplateNotCollected, "WriteValue")); 223throw new XamlInternalException(SR.Format(SR.MissingCase, _mode.ToString(), "WriteValue")); 235throw new XamlInternalException(SR.Format(SR.TemplateNotCollected, "WriteNamespace")); 248throw new XamlInternalException(SR.Format(SR.MissingCase, _mode.ToString(), "WriteNamespace")); 289throw new XamlInternalException(SR.Format(SR.TemplateNotCollected, nameof(SetLineInfo))); 305throw new XamlInternalException(SR.Format(SR.MissingCase, _mode.ToString(), nameof(SetLineInfo)));
System\Xaml\InfosetObjects\XamlObjectWriter.cs (7)
110throw _context.WithLineInfo(new XamlInternalException()); 1145throw ctx.WithLineInfo(new XamlInternalException(SR.ConstructImplicitType)); 1177throw ctx.WithLineInfo(new XamlInternalException(errMsg)); 1236throw ctx.WithLineInfo(new XamlInternalException(SR.NonMEWithPositionalParameters)); 1255throw ctx.WithLineInfo(new XamlInternalException(SR.PositionalParamsWrongLength)); 2127throw new XamlInternalException(SR.BadStateObjectWriter); 2569throw new XamlInternalException("Token's Target Property '{0}' != '{1}' the Token's Context parent Property");
System\Xaml\Parser\XamlScanner.cs (1)
799throw new XamlInternalException(SR.AttributeUnhandledKind);
System\Xaml\Runtime\ClrObjectRuntime.cs (1)
558throw new XamlInternalException(SR.Format(SR.XmlValueNotReader, property.Name));
System\Xaml\XamlReader.cs (1)
84throw new XamlInternalException("SkipFromTo() called incorrectly");
System.Xaml.Tests (4)
System\Xaml\XamlInternalExceptionTests.cs (4)
16var exception = new XamlInternalException(); 26var exception = new XamlInternalException("message"); 44var exception = new XamlInternalException(message, innerException); 61var exception = new XamlInternalException();
5 references to XamlInternalException
System.Xaml.Tests (5)
System\Xaml\XamlInternalExceptionTests.cs (4)
16var exception = new XamlInternalException(); 26var exception = new XamlInternalException("message"); 44var exception = new XamlInternalException(message, innerException); 61var exception = new XamlInternalException();
System\Xaml\XamlReaderTests.cs (1)
52Assert.Throws<XamlInternalException>(() => reader.Skip());