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