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