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)
366throw new XamlParseException(SR.TextEditorCopyPaste_EntryPartIsMissingInXamlPackage);
System\Windows\FrameworkTemplate.cs (1)
200throw new System.Windows.Markup.XamlParseException(SR.TemplateContentSetTwice);
System\Windows\Markup\BamlRecords.cs (2)
2612throw new XamlParseException(SR.Format(SR.ParserBadString, Value, ValueType.Name)); 4356throw 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)
1457XamlParseException parseException = new XamlParseException(message,
System\Windows\Markup\XamlReader.cs (4)
516return 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)
155parseException = new XamlParseException(message, lineNumber, linePosition); 159parseException = new XamlParseException(message);
System\Windows\Markup\XamlTemplateSerializer.cs (2)
173parseException = new XamlParseException(message, lineNumber, linePosition); 177parseException = new XamlParseException(message);
System\Windows\Markup\XamlTypeMapper.cs (1)
704XamlParseException parseException = new XamlParseException(message, lineNumber, linePosition);
System\Windows\TemplateContent.cs (1)
1015throw new System.Windows.Markup.XamlParseException(SR.ParserUnexpectedEndEle);
46 references to XamlParseException
PresentationFramework (46)
System\Windows\Controls\InkCanvas.cs (1)
2737catch ( XamlParseException )
System\windows\Documents\TextEditorCopyPaste.cs (1)
918catch (XamlParseException e)
System\Windows\Documents\TextTreeDeleteContentUndoUnit.cs (1)
371catch (XamlParseException e)
System\Windows\Documents\WpfPayload.cs (1)
333catch (XamlParseException e)
System\Windows\FrameworkTemplate.cs (1)
1063if (CriticalExceptions.IsCriticalException(e) || e is System.Windows.Markup.XamlParseException)
System\Windows\Markup\BamlRecordReader.cs (18)
783if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 788XamlParseException.ThrowException( ParserContext, 1545if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException) 1647if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 2160if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 2217if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 2488if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException) 2661if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException) 2903if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException) 3379catch (XamlParseException e) 3725if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException) 3864if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException) 3974if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 4514if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 4779if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 5007if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 5207XamlParseException.ThrowException(ParserContext, LineNumber, LinePosition, message, innerException); 5325if( 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)
1457XamlParseException parseException = new XamlParseException(message,
System\Windows\Markup\XamlReader.cs (7)
301XamlParseException 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); 636catch (XamlParseException e)
System\Windows\Markup\XamlStyleSerializer.cs (1)
144XamlParseException parseException;
System\Windows\Markup\XamlTemplateSerializer.cs (1)
162XamlParseException parseException;
System\Windows\Markup\XamlTypeMapper.cs (7)
525XamlParseException.ThrowException(parserContext, _lineNumber, _linePosition, message, null); 574if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 613XamlParseException.ThrowException(parserContext, _lineNumber, _linePosition, message, null); 618XamlParseException.ThrowException(parserContext, _lineNumber, _linePosition, message, e); 630XamlParseException.ThrowException(parserContext, _lineNumber, _linePosition, message, null); 704XamlParseException parseException = new XamlParseException(message, lineNumber, linePosition); 3809XamlParseException.ThrowException(message, innerException, _lineNumber, _linePosition);