26 instantiations of XamlParseException
PresentationFramework (26)
MS\Internal\Globalization\BamlResourceDeserializer.cs (4)
60throw new XamlParseException(SR.InvalidStartOfBaml); 178throw new XamlParseException(SR.Format(SR.UnRecognizedBamlNodeType, _reader.NodeType)); 293throw new XamlParseException(SR.Format(SR.UnRecognizedBamlNodeType, _reader.NodeType)); 303throw new XamlParseException(SR.InvalidEndOfBaml);
MS\Internal\Helper.cs (3)
677throw new XamlParseException(SR.Format(SR.MarkupExtensionDynamicOrBindingOnClrProp, 698throw new XamlParseException(SR.Format(SR.MarkupExtensionDynamicOrBindingInCollection, 722throw new XamlParseException(SR.Format(SR.MarkupExtensionDynamicOrBindingInCollection,
System\Windows\Documents\WpfPayload.cs (1)
372throw new XamlParseException(SR.TextEditorCopyPaste_EntryPartIsMissingInXamlPackage);
System\Windows\FrameworkTemplate.cs (1)
209throw new System.Windows.Markup.XamlParseException(SR.TemplateContentSetTwice);
System\Windows\Markup\BamlRecords.cs (2)
2618throw new XamlParseException(SR.Format(SR.ParserBadString, Value, ValueType.Name)); 4362throw new XamlParseException(SR.ParserTooManyAssemblies);
System\Windows\Markup\MarkupExtensionParser.cs (1)
1745XamlParseException parseException = new XamlParseException(message,
System\Windows\Markup\WpfXamlLoader.cs (1)
369throw new XamlParseException(SR.SharedAttributeInLooseXaml);
System\Windows\Markup\XamlParseException.cs (2)
471xamlParseException = new XamlParseException(message, lineNumber, linePosition, innerException); 478xamlParseException = new XamlParseException(message, innerException);
System\Windows\Markup\XamlParser.cs (1)
1461XamlParseException parseException = new XamlParseException(message,
System\Windows\Markup\XamlReader.cs (4)
529return new XamlParseException(xe.Message, xe.LineNumber, xe.LinePosition, baseUri, baseException); 534return new XamlParseException(xe.Message, xe.LineNumber, xe.LinePosition, baseUri, baseException); 540return new XamlParseException(e.Message, lineInfo.LineNumber, lineInfo.LinePosition, baseUri, baseException); 544return new XamlParseException(e.Message, baseException);
System\Windows\Markup\XamlStyleSerializer.cs (2)
166parseException = new XamlParseException(message, lineNumber, linePosition); 170parseException = new XamlParseException(message);
System\Windows\Markup\XamlTemplateSerializer.cs (2)
184parseException = new XamlParseException(message, lineNumber, linePosition); 188parseException = new XamlParseException(message);
System\Windows\Markup\XamlTypeMapper.cs (1)
706XamlParseException parseException = new XamlParseException(message, lineNumber, linePosition);
System\Windows\TemplateContent.cs (1)
1018throw new System.Windows.Markup.XamlParseException(SR.ParserUnexpectedEndEle);
46 references to XamlParseException
PresentationFramework (46)
System\Windows\Controls\InkCanvas.cs (1)
2749catch ( XamlParseException )
System\windows\Documents\TextEditorCopyPaste.cs (1)
931catch (XamlParseException e)
System\Windows\Documents\TextTreeDeleteContentUndoUnit.cs (1)
373catch (XamlParseException e)
System\Windows\Documents\WpfPayload.cs (1)
339catch (XamlParseException e)
System\Windows\FrameworkTemplate.cs (1)
1072if (CriticalExceptions.IsCriticalException(e) || e is System.Windows.Markup.XamlParseException)
System\Windows\Markup\BamlRecordReader.cs (18)
792if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 797XamlParseException.ThrowException( ParserContext, 1554if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException) 1656if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 2169if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 2226if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 2497if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException) 2670if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException) 2912if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException) 3388catch (XamlParseException e) 3734if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException) 3873if (CriticalExceptions.IsCriticalException(e) || e is XamlParseException) 3983if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 4523if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 4788if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 5016if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 5216XamlParseException.ThrowException(ParserContext, LineNumber, LinePosition, message, innerException); 5334if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException )
System\Windows\Markup\BamlRecordWriter.cs (1)
92catch (XamlParseException e)
System\Windows\Markup\MarkupExtensionParser.cs (1)
1745XamlParseException parseException = new XamlParseException(message,
System\Windows\Markup\XamlParseException.cs (4)
447XamlParseException xamlParseException; 450string contextMessage = XamlParseException.GenerateErrorMessageContext( 463if (innerException is TargetInvocationException && innerException.InnerException is XamlParseException) 465xamlParseException = (XamlParseException)innerException.InnerException;
System\Windows\Markup\XamlParser.cs (1)
1461XamlParseException parseException = new XamlParseException(message,
System\Windows\Markup\XamlReader.cs (7)
314XamlParseException xpe = e as XamlParseException; 512internal static XamlParseException WrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri) 515if (baseException is System.Windows.Markup.XamlParseException) 517var xe = ((System.Windows.Markup.XamlParseException)baseException); 649catch (XamlParseException e)
System\Windows\Markup\XamlStyleSerializer.cs (1)
155XamlParseException parseException;
System\Windows\Markup\XamlTemplateSerializer.cs (1)
173XamlParseException parseException;
System\Windows\Markup\XamlTypeMapper.cs (7)
527XamlParseException.ThrowException(parserContext, _lineNumber, _linePosition, message, null); 576if( CriticalExceptions.IsCriticalException(e) || e is XamlParseException ) 615XamlParseException.ThrowException(parserContext, _lineNumber, _linePosition, message, null); 620XamlParseException.ThrowException(parserContext, _lineNumber, _linePosition, message, e); 632XamlParseException.ThrowException(parserContext, _lineNumber, _linePosition, message, null); 706XamlParseException parseException = new XamlParseException(message, lineNumber, linePosition); 3811XamlParseException.ThrowException(message, innerException, _lineNumber, _linePosition);