26 instantiations of XamlParseException
PresentationFramework (26)
MS\Internal\Globalization\BamlResourceDeserializer.cs (4)
53throw new XamlParseException(SR.InvalidStartOfBaml); 171throw new XamlParseException(SR.Format(SR.UnRecognizedBamlNodeType, _reader.NodeType)); 286throw new XamlParseException(SR.Format(SR.UnRecognizedBamlNodeType, _reader.NodeType)); 296throw new XamlParseException(SR.InvalidEndOfBaml);
MS\Internal\Helper.cs (3)
668throw new XamlParseException(SR.Format(SR.MarkupExtensionDynamicOrBindingOnClrProp, 689throw new XamlParseException(SR.Format(SR.MarkupExtensionDynamicOrBindingInCollection, 713throw new XamlParseException(SR.Format(SR.MarkupExtensionDynamicOrBindingInCollection,
System\Windows\Documents\WpfPayload.cs (1)
368throw new XamlParseException(SR.TextEditorCopyPaste_EntryPartIsMissingInXamlPackage);
System\Windows\FrameworkTemplate.cs (1)
200throw new System.Windows.Markup.XamlParseException(SR.TemplateContentSetTwice);
System\Windows\Markup\BamlRecords.cs (2)
2606throw new XamlParseException(SR.Format(SR.ParserBadString, Value, ValueType.Name)); 4350throw new XamlParseException(SR.ParserTooManyAssemblies);
System\Windows\Markup\MarkupExtensionParser.cs (1)
1738XamlParseException parseException = new XamlParseException(message,
System\Windows\Markup\WpfXamlLoader.cs (1)
368throw new XamlParseException(SR.SharedAttributeInLooseXaml);
System\Windows\Markup\XamlParseException.cs (2)
463xamlParseException = new XamlParseException(message, lineNumber, linePosition, innerException); 470xamlParseException = new XamlParseException(message, innerException);
System\Windows\Markup\XamlParser.cs (1)
1450XamlParseException parseException = new XamlParseException(message,
System\Windows\Markup\XamlReader.cs (4)
520return new XamlParseException(xe.Message, xe.LineNumber, xe.LinePosition, baseUri, baseException); 524return new XamlParseException(xe.Message, xe.LineNumber, xe.LinePosition, baseUri, baseException); 530return new XamlParseException(e.Message, lineInfo.LineNumber, lineInfo.LinePosition, baseUri, baseException); 534return new XamlParseException(e.Message, baseException);
System\Windows\Markup\XamlStyleSerializer.cs (2)
157parseException = new XamlParseException(message, lineNumber, linePosition); 161parseException = new XamlParseException(message);
System\Windows\Markup\XamlTemplateSerializer.cs (2)
175parseException = new XamlParseException(message, lineNumber, linePosition); 179parseException = new XamlParseException(message);
System\Windows\Markup\XamlTypeMapper.cs (1)
699XamlParseException parseException = new XamlParseException(message, lineNumber, linePosition);
System\Windows\TemplateContent.cs (1)
1017throw new System.Windows.Markup.XamlParseException(SR.ParserUnexpectedEndEle);
46 references to XamlParseException
PresentationFramework (46)
System\Windows\Controls\InkCanvas.cs (1)
2753catch ( XamlParseException )
System\windows\Documents\TextEditorCopyPaste.cs (1)
920catch (XamlParseException e)
System\Windows\Documents\TextTreeDeleteContentUndoUnit.cs (1)
371catch (XamlParseException e)
System\Windows\Documents\WpfPayload.cs (1)
335catch (XamlParseException e)
System\Windows\FrameworkTemplate.cs (1)
1068if (CriticalExceptions.IsCriticalException(e) || e is System.Windows.Markup.XamlParseException)
System\Windows\Markup\BamlRecordReader.cs (18)
777if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 782XamlParseException.ThrowException( ParserContext, 1539if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException) 1641if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 2154if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 2211if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 2484if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException) 2657if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException) 2899if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException) 3377catch (XamlParseException e) 3723if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException) 3861if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException) 3971if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 4511if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 4776if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 5004if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 5204XamlParseException.ThrowException(ParserContext, LineNumber, LinePosition, message, innerException); 5322if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException )
System\Windows\Markup\BamlRecordWriter.cs (1)
89catch (XamlParseException e)
System\Windows\Markup\MarkupExtensionParser.cs (1)
1738XamlParseException parseException = new XamlParseException(message,
System\Windows\Markup\XamlParseException.cs (4)
439XamlParseException xamlParseException; 442string contextMessage = XamlParseException.GenerateErrorMessageContext( 455if (innerException is TargetInvocationException && innerException.InnerException is XamlParseException) 457xamlParseException = (XamlParseException)innerException.InnerException;
System\Windows\Markup\XamlParser.cs (1)
1450XamlParseException parseException = new XamlParseException(message,
System\Windows\Markup\XamlReader.cs (7)
303XamlParseException xpe = e as XamlParseException; 503internal static XamlParseException WrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri) 506if (baseException is System.Windows.Markup.XamlParseException) 508var xe = ((System.Windows.Markup.XamlParseException)baseException); 639catch (XamlParseException e)
System\Windows\Markup\XamlStyleSerializer.cs (1)
146XamlParseException parseException;
System\Windows\Markup\XamlTemplateSerializer.cs (1)
164XamlParseException parseException;
System\Windows\Markup\XamlTypeMapper.cs (7)
520XamlParseException.ThrowException(parserContext, _lineNumber, _linePosition, message, null); 569if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 608XamlParseException.ThrowException(parserContext, _lineNumber, _linePosition, message, null); 613XamlParseException.ThrowException(parserContext, _lineNumber, _linePosition, message, e); 625XamlParseException.ThrowException(parserContext, _lineNumber, _linePosition, message, null); 699XamlParseException parseException = new XamlParseException(message, lineNumber, linePosition); 3808XamlParseException.ThrowException(message, innerException, _lineNumber, _linePosition);