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