17 references to 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 (5)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (5)
475throw new XamlParseException("Found unexpected Xmlns BAML record"); 675throw new XamlParseException(string.Format(CultureInfo.CurrentCulture, SR.Format(SR.UnknownBamlRecord, recordType))); 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 (8)
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\XamlPullParser.cs (1)
1253: base(message) { }
System\Xaml\Parser\XamlScanner.cs (2)
250throw LineInfo(new XamlParseException(SR.Format(SR.ParentlessPropertyElement, _xmlReader.Name))); 569throw new XamlParseException(SR.Format(SR.InvalidXamlMemberName, xmlName));
System.Xaml.Tests (1)
System\Xaml\XamlParseExceptionTests.cs (1)
26var exception = new XamlParseException("message");