13 instantiations of XamlParseException
PresentationFramework (13)
src\Framework\System\Windows\Markup\MarkupExtensionParser.cs (1)
1762XamlParseException parseException = new XamlParseException(message,
src\Framework\System\Windows\Markup\XamlParseException.cs (2)
485xamlParseException = new XamlParseException(message, lineNumber, linePosition, innerException); 492xamlParseException = new XamlParseException(message, innerException);
src\Framework\System\Windows\Markup\XamlParser.cs (1)
1460XamlParseException parseException = new XamlParseException(message,
src\Framework\System\Windows\Markup\XamlReader.cs (4)
433return new XamlParseException(xe.Message, xe.LineNumber, xe.LinePosition, baseUri, baseException); 438return new XamlParseException(xe.Message, xe.LineNumber, xe.LinePosition, baseUri, baseException); 444return new XamlParseException(e.Message, lineInfo.LineNumber, lineInfo.LinePosition, baseUri, baseException); 448return new XamlParseException(e.Message, baseException);
src\Framework\System\Windows\Markup\XamlStyleSerializer.cs (2)
170parseException = new XamlParseException(message, lineNumber, linePosition); 174parseException = new XamlParseException(message);
src\Framework\System\Windows\Markup\XamlTemplateSerializer.cs (2)
190parseException = new XamlParseException(message, lineNumber, linePosition); 194parseException = new XamlParseException(message);
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (1)
789XamlParseException parseException = new XamlParseException(message, lineNumber, linePosition);
46 references to XamlParseException
PresentationFramework (46)
src\Framework\System\Windows\Controls\InkCanvas.cs (1)
2889catch ( XamlParseException )
src\Framework\System\windows\Documents\TextEditorCopyPaste.cs (1)
1108catch (XamlParseException e)
src\Framework\System\Windows\Documents\TextTreeDeleteContentUndoUnit.cs (1)
396catch (XamlParseException e)
src\Framework\System\Windows\Documents\WpfPayload.cs (1)
358catch (XamlParseException e)
src\Framework\System\Windows\FrameworkTemplate.cs (1)
1097if (CriticalExceptions.IsCriticalException(e) || e is System.Windows.Markup.XamlParseException)
src\Framework\System\Windows\Markup\BamlRecordReader.cs (18)
810if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 815XamlParseException.ThrowException( ParserContext, 1579if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException) 1684if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 2200if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 2257if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 2528if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException) 2703if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException) 2945if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException) 3424catch (XamlParseException e) 3772if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException) 3912if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException) 4022if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 4569if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 4835if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 5068if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 5275XamlParseException.ThrowException(ParserContext, LineNumber, LinePosition, message, innerException); 5394if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException )
src\Framework\System\Windows\Markup\BamlRecordWriter.cs (1)
98catch (XamlParseException e)
src\Framework\System\Windows\Markup\MarkupExtensionParser.cs (1)
1762XamlParseException parseException = new XamlParseException(message,
src\Framework\System\Windows\Markup\XamlParseException.cs (4)
461XamlParseException xamlParseException; 464string contextMessage = XamlParseException.GenerateErrorMessageContext( 477if (innerException is TargetInvocationException && innerException.InnerException is XamlParseException) 479xamlParseException = (XamlParseException)innerException.InnerException;
src\Framework\System\Windows\Markup\XamlParser.cs (1)
1460XamlParseException parseException = new XamlParseException(message,
src\Framework\System\Windows\Markup\XamlReader.cs (7)
221XamlParseException xpe = e as XamlParseException; 416internal static XamlParseException WrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri) 419if (baseException is System.Windows.Markup.XamlParseException) 421var xe = ((System.Windows.Markup.XamlParseException)baseException); 554catch (XamlParseException e)
src\Framework\System\Windows\Markup\XamlStyleSerializer.cs (1)
159XamlParseException parseException;
src\Framework\System\Windows\Markup\XamlTemplateSerializer.cs (1)
179XamlParseException parseException;
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (7)
610XamlParseException.ThrowException(parserContext, _lineNumber, _linePosition, message, null); 659if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 698XamlParseException.ThrowException(parserContext, _lineNumber, _linePosition, message, null); 703XamlParseException.ThrowException(parserContext, _lineNumber, _linePosition, message, e); 715XamlParseException.ThrowException(parserContext, _lineNumber, _linePosition, message, null); 789XamlParseException parseException = new XamlParseException(message, lineNumber, linePosition); 4038XamlParseException.ThrowException(message, innerException, _lineNumber, _linePosition);