6 references to ERR_ExpressionTreeContainsThrowExpression
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1805
or ErrorCode.
ERR_ExpressionTreeContainsThrowExpression
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
1091
Error(ErrorCode.
ERR_ExpressionTreeContainsThrowExpression
, node);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\SemanticErrorTests.cs (4)
24826
Diagnostic(ErrorCode.
ERR_ExpressionTreeContainsThrowExpression
, "throw null").WithLocation(13, 54),
24829
Diagnostic(ErrorCode.
ERR_ExpressionTreeContainsThrowExpression
, "throw null").WithLocation(14, 53),
24832
Diagnostic(ErrorCode.
ERR_ExpressionTreeContainsThrowExpression
, "throw null").WithLocation(15, 57),
24835
Diagnostic(ErrorCode.
ERR_ExpressionTreeContainsThrowExpression
, "throw null").WithLocation(16, 49)