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)
665throw new XamlParseException(SR.Format(SR.MarkupExtensionDynamicOrBindingOnClrProp, 686throw new XamlParseException(SR.Format(SR.MarkupExtensionDynamicOrBindingInCollection, 710throw 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)
1741XamlParseException parseException = new XamlParseException(message,
System\Windows\Markup\WpfXamlLoader.cs (1)
365throw 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)
1354XamlParseException parseException = new XamlParseException(message,
System\Windows\Markup\XamlReader.cs (4)
517return new XamlParseException(xe.Message, xe.LineNumber, xe.LinePosition, baseUri, baseException); 521return new XamlParseException(xe.Message, xe.LineNumber, xe.LinePosition, baseUri, baseException); 527return new XamlParseException(e.Message, lineInfo.LineNumber, lineInfo.LinePosition, baseUri, baseException); 531return 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)
696XamlParseException parseException = new XamlParseException(message, lineNumber, linePosition);
System\Windows\TemplateContent.cs (1)
1011throw 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)
1058if (CriticalExceptions.IsCriticalException(e) || e is System.Windows.Markup.XamlParseException)
System\Windows\Markup\BamlRecordReader.cs (18)
774if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 779XamlParseException.ThrowException( ParserContext, 1536if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException) 1638if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 2151if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 2208if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 2481if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException) 2654if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException) 2896if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException) 3371catch (XamlParseException e) 3717if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException) 3855if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException) 3965if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 4502if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 4767if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 4995if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 5195XamlParseException.ThrowException(ParserContext, LineNumber, LinePosition, message, innerException); 5313if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException )
System\Windows\Markup\BamlRecordWriter.cs (1)
89catch (XamlParseException e)
System\Windows\Markup\MarkupExtensionParser.cs (1)
1741XamlParseException 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)
1354XamlParseException parseException = new XamlParseException(message,
System\Windows\Markup\XamlReader.cs (7)
303XamlParseException xpe = e as XamlParseException; 500internal static XamlParseException WrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri) 503if (baseException is System.Windows.Markup.XamlParseException) 505var xe = ((System.Windows.Markup.XamlParseException)baseException); 636catch (XamlParseException e)
System\Windows\Markup\XamlStyleSerializer.cs (1)
146XamlParseException parseException;
System\Windows\Markup\XamlTemplateSerializer.cs (1)
164XamlParseException parseException;
System\Windows\Markup\XamlTypeMapper.cs (7)
517XamlParseException.ThrowException(parserContext, _lineNumber, _linePosition, message, null); 566if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 605XamlParseException.ThrowException(parserContext, _lineNumber, _linePosition, message, null); 610XamlParseException.ThrowException(parserContext, _lineNumber, _linePosition, message, e); 622XamlParseException.ThrowException(parserContext, _lineNumber, _linePosition, message, null); 696XamlParseException parseException = new XamlParseException(message, lineNumber, linePosition); 3809XamlParseException.ThrowException(message, innerException, _lineNumber, _linePosition);