2 types derived from XamlParseException
System.Xaml (1)
System\Xaml\Parser\XamlPullParser.cs (1)
1248
internal class XamlUnexpectedParseException :
XamlParseException
System.Xaml.Tests (1)
System\Xaml\XamlParseExceptionTests.cs (1)
66
private class SubXamlParseException :
XamlParseException
35 instantiations of XamlParseException
Microsoft.Build.Tasks.Core (3)
XamlTaskFactory\TaskParser.cs (3)
210
throw new
XamlParseException
(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("Xaml.RuleNotFound", desiredRule));
214
throw new
XamlParseException
(ResourceUtilities.GetResourceString("Xaml.InvalidRootObject"));
322
throw new
XamlParseException
(ResourceUtilities.FormatResourceStringIgnoreCodeAndKeyword("Xaml.DuplicatePropertyName", propertyToAdd.Name));
PresentationFramework (10)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (10)
351
throw new
XamlParseException
();
356
throw new
XamlParseException
();
402
throw new
XamlParseException
();
460
throw new
XamlParseException
();
475
throw new
XamlParseException
("Found unexpected Xmlns BAML record");
675
throw new
XamlParseException
(string.Format(CultureInfo.CurrentCulture, SR.Format(SR.UnknownBamlRecord, recordType)));
1146
throw new
XamlParseException
();
1417
throw new
XamlParseException
(SR.PropertyFoundOutsideStartElement);
1423
throw new
XamlParseException
(SR.Format(SR.PropertyOutOfOrder, _context.CurrentFrame.Member));
2382
throw new
XamlParseException
(SR.Format(SR.RecordOutOfOrder, parentType.Name));
System.Xaml (18)
System\Xaml\Context\ObjectWriterContext.cs (1)
161
throw new
XamlParseException
(SR.Format(SR.TypeNotFound, xamlType.GetQualifiedName()));
System\Xaml\Context\XamlContext.cs (3)
87
throw new
XamlParseException
(SR.Format(SR.PrefixNotFound, propName.Prefix));
247
throw new
XamlParseException
(SR.Format(SR.PrefixNotFound, typeName.Prefix));
318
throw new
XamlParseException
(error);
System\Xaml\InfosetObjects\XamlObjectWriter.cs (1)
375
throw new
XamlParseException
(SR.Format(SR.CantAssignRootInstance,
System\Xaml\Parser\MePullParser.cs (4)
51
throw new
XamlParseException
(_tokenizer, brokenRule);
56
throw new
XamlParseException
(_tokenizer, SR.UnexpectedTokenAfterME);
61
throw new
XamlParseException
(_tokenizer, SR.WhitespaceAfterME);
438
throw new
XamlParseException
(_tokenizer, error);
System\Xaml\Parser\MeScanner.cs (6)
293
throw new
XamlParseException
(this, error);
400
throw new
XamlParseException
(this, SR.Format(SR.InvalidClosingBracketCharacers, ch.ToString()));
466
throw new
XamlParseException
(this, SR.QuoteCharactersOutOfPlace);
491
throw new
XamlParseException
(this, SR.UnexpectedTokenAfterME);
497
throw new
XamlParseException
(this, SR.Format(SR.MalformedBracketCharacters, ch.ToString()));
512
throw new
XamlParseException
(this, SR.UnclosedQuote);
System\Xaml\Parser\XamlScanner.cs (3)
250
throw LineInfo(new
XamlParseException
(SR.Format(SR.ParentlessPropertyElement, _xmlReader.Name)));
382
throw new
XamlParseException
(_typeArgumentAttribute.LineNumber, _typeArgumentAttribute.LinePosition, error);
569
throw new
XamlParseException
(SR.Format(SR.InvalidXamlMemberName, xmlName));
System.Xaml.Tests (4)
System\Xaml\XamlParseExceptionTests.cs (4)
16
var exception = new
XamlParseException
();
26
var exception = new
XamlParseException
("message");
44
var exception = new
XamlParseException
(message, innerException);
61
var exception = new
XamlParseException
();
4 references to XamlParseException
System.Xaml.Tests (4)
System\Xaml\XamlParseExceptionTests.cs (4)
16
var
exception = new XamlParseException();
26
var
exception = new XamlParseException("message");
44
var
exception = new XamlParseException(message, innerException);
61
var
exception = new XamlParseException();