26 instantiations of XamlParseException
PresentationFramework (26)
MS\Internal\Globalization\BamlResourceDeserializer.cs (4)
52throw new XamlParseException(SR.InvalidStartOfBaml); 170throw new XamlParseException(SR.Format(SR.UnRecognizedBamlNodeType, _reader.NodeType)); 285throw new XamlParseException(SR.Format(SR.UnRecognizedBamlNodeType, _reader.NodeType)); 295throw new XamlParseException(SR.InvalidEndOfBaml);
MS\Internal\Helper.cs (3)
664throw new XamlParseException(SR.Format(SR.MarkupExtensionDynamicOrBindingOnClrProp, 685throw new XamlParseException(SR.Format(SR.MarkupExtensionDynamicOrBindingInCollection, 709throw new XamlParseException(SR.Format(SR.MarkupExtensionDynamicOrBindingInCollection,
System\Windows\Documents\WpfPayload.cs (1)
367throw new XamlParseException(SR.TextEditorCopyPaste_EntryPartIsMissingInXamlPackage);
System\Windows\FrameworkTemplate.cs (1)
199throw new System.Windows.Markup.XamlParseException(SR.TemplateContentSetTwice);
System\Windows\Markup\BamlRecords.cs (2)
2605throw new XamlParseException(SR.Format(SR.ParserBadString, Value, ValueType.Name)); 4349throw new XamlParseException(SR.ParserTooManyAssemblies);
System\Windows\Markup\MarkupExtensionParser.cs (1)
1740XamlParseException parseException = new XamlParseException(message,
System\Windows\Markup\WpfXamlLoader.cs (1)
364throw new XamlParseException(SR.SharedAttributeInLooseXaml);
System\Windows\Markup\XamlParseException.cs (2)
462xamlParseException = new XamlParseException(message, lineNumber, linePosition, innerException); 469xamlParseException = new XamlParseException(message, innerException);
System\Windows\Markup\XamlParser.cs (1)
1353XamlParseException parseException = new XamlParseException(message,
System\Windows\Markup\XamlReader.cs (4)
516return new XamlParseException(xe.Message, xe.LineNumber, xe.LinePosition, baseUri, baseException); 520return new XamlParseException(xe.Message, xe.LineNumber, xe.LinePosition, baseUri, baseException); 526return new XamlParseException(e.Message, lineInfo.LineNumber, lineInfo.LinePosition, baseUri, baseException); 530return new XamlParseException(e.Message, baseException);
System\Windows\Markup\XamlStyleSerializer.cs (2)
156parseException = new XamlParseException(message, lineNumber, linePosition); 160parseException = new XamlParseException(message);
System\Windows\Markup\XamlTemplateSerializer.cs (2)
174parseException = new XamlParseException(message, lineNumber, linePosition); 178parseException = new XamlParseException(message);
System\Windows\Markup\XamlTypeMapper.cs (1)
695XamlParseException parseException = new XamlParseException(message, lineNumber, linePosition);
System\Windows\TemplateContent.cs (1)
1008throw new System.Windows.Markup.XamlParseException(SR.ParserUnexpectedEndEle);
46 references to XamlParseException
PresentationFramework (46)
System\Windows\Controls\InkCanvas.cs (1)
2752catch ( XamlParseException )
System\windows\Documents\TextEditorCopyPaste.cs (1)
919catch (XamlParseException e)
System\Windows\Documents\TextTreeDeleteContentUndoUnit.cs (1)
370catch (XamlParseException e)
System\Windows\Documents\WpfPayload.cs (1)
334catch (XamlParseException e)
System\Windows\FrameworkTemplate.cs (1)
1057if (CriticalExceptions.IsCriticalException(e) || e is System.Windows.Markup.XamlParseException)
System\Windows\Markup\BamlRecordReader.cs (18)
773if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 778XamlParseException.ThrowException( ParserContext, 1535if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException) 1637if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 2150if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 2207if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 2480if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException) 2653if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException) 2895if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException) 3370catch (XamlParseException e) 3716if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException) 3854if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException) 3964if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 4501if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 4766if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 4994if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 5194XamlParseException.ThrowException(ParserContext, LineNumber, LinePosition, message, innerException); 5312if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException )
System\Windows\Markup\BamlRecordWriter.cs (1)
88catch (XamlParseException e)
System\Windows\Markup\MarkupExtensionParser.cs (1)
1740XamlParseException parseException = new XamlParseException(message,
System\Windows\Markup\XamlParseException.cs (4)
438XamlParseException xamlParseException; 441string contextMessage = XamlParseException.GenerateErrorMessageContext( 454if (innerException is TargetInvocationException && innerException.InnerException is XamlParseException) 456xamlParseException = (XamlParseException)innerException.InnerException;
System\Windows\Markup\XamlParser.cs (1)
1353XamlParseException parseException = new XamlParseException(message,
System\Windows\Markup\XamlReader.cs (7)
302XamlParseException xpe = e as XamlParseException; 499internal static XamlParseException WrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri) 502if (baseException is System.Windows.Markup.XamlParseException) 504var xe = ((System.Windows.Markup.XamlParseException)baseException); 635catch (XamlParseException e)
System\Windows\Markup\XamlStyleSerializer.cs (1)
145XamlParseException parseException;
System\Windows\Markup\XamlTemplateSerializer.cs (1)
163XamlParseException parseException;
System\Windows\Markup\XamlTypeMapper.cs (7)
516XamlParseException.ThrowException(parserContext, _lineNumber, _linePosition, message, null); 565if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 604XamlParseException.ThrowException(parserContext, _lineNumber, _linePosition, message, null); 609XamlParseException.ThrowException(parserContext, _lineNumber, _linePosition, message, e); 621XamlParseException.ThrowException(parserContext, _lineNumber, _linePosition, message, null); 695XamlParseException parseException = new XamlParseException(message, lineNumber, linePosition); 3808XamlParseException.ThrowException(message, innerException, _lineNumber, _linePosition);