15 references to ERR_ByRefParameterInExpressionTree
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1446
or ErrorCode.
ERR_ByRefParameterInExpressionTree
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
621
_diagnostics.Add(ErrorCode.
ERR_ByRefParameterInExpressionTree
, location);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
RefReadonlyParameterTests.cs (2)
764
Diagnostic(ErrorCode.
ERR_ByRefParameterInExpressionTree
, "p").WithLocation(4, 38),
770
Diagnostic(ErrorCode.
ERR_ByRefParameterInExpressionTree
, "p").WithLocation(6, 38),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (11)
Semantics\RefFieldTests.cs (8)
16166
Diagnostic(ErrorCode.
ERR_ByRefParameterInExpressionTree
, "x").WithLocation(13, 38),
16169
Diagnostic(ErrorCode.
ERR_ByRefParameterInExpressionTree
, "y").WithLocation(13, 56),
16178
Diagnostic(ErrorCode.
ERR_ByRefParameterInExpressionTree
, "x").WithLocation(14, 38),
16181
Diagnostic(ErrorCode.
ERR_ByRefParameterInExpressionTree
, "y").WithLocation(14, 49),
16208
Diagnostic(ErrorCode.
ERR_ByRefParameterInExpressionTree
, "x").WithLocation(20, 44),
16211
Diagnostic(ErrorCode.
ERR_ByRefParameterInExpressionTree
, "y").WithLocation(20, 62),
16220
Diagnostic(ErrorCode.
ERR_ByRefParameterInExpressionTree
, "x").WithLocation(21, 44),
16223
Diagnostic(ErrorCode.
ERR_ByRefParameterInExpressionTree
, "y").WithLocation(21, 55));
Semantics\SemanticErrorTests.cs (2)
17662
Diagnostic(ErrorCode.
ERR_ByRefParameterInExpressionTree
, "x").WithLocation(7, 75)
17682
Diagnostic(ErrorCode.
ERR_ByRefParameterInExpressionTree
, "x").WithLocation(7, 74)
Semantics\SimpleLambdaParametersWithModifiersTests.cs (1)
780
Diagnostic(ErrorCode.
ERR_ByRefParameterInExpressionTree
, "x"));