15 references to ERR_ByRefParameterInExpressionTree
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1458
or ErrorCode.
ERR_ByRefParameterInExpressionTree
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
623
_diagnostics.Add(ErrorCode.
ERR_ByRefParameterInExpressionTree
, location);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
RefReadonlyParameterTests.cs (2)
788
Diagnostic(ErrorCode.
ERR_ByRefParameterInExpressionTree
, "p").WithLocation(4, 38),
794
Diagnostic(ErrorCode.
ERR_ByRefParameterInExpressionTree
, "p").WithLocation(6, 38),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (11)
Semantics\RefFieldTests.cs (8)
16201
Diagnostic(ErrorCode.
ERR_ByRefParameterInExpressionTree
, "x").WithLocation(13, 38),
16204
Diagnostic(ErrorCode.
ERR_ByRefParameterInExpressionTree
, "y").WithLocation(13, 56),
16213
Diagnostic(ErrorCode.
ERR_ByRefParameterInExpressionTree
, "x").WithLocation(14, 38),
16216
Diagnostic(ErrorCode.
ERR_ByRefParameterInExpressionTree
, "y").WithLocation(14, 49),
16243
Diagnostic(ErrorCode.
ERR_ByRefParameterInExpressionTree
, "x").WithLocation(20, 44),
16246
Diagnostic(ErrorCode.
ERR_ByRefParameterInExpressionTree
, "y").WithLocation(20, 62),
16255
Diagnostic(ErrorCode.
ERR_ByRefParameterInExpressionTree
, "x").WithLocation(21, 44),
16258
Diagnostic(ErrorCode.
ERR_ByRefParameterInExpressionTree
, "y").WithLocation(21, 55));
Semantics\SemanticErrorTests.cs (2)
17732
Diagnostic(ErrorCode.
ERR_ByRefParameterInExpressionTree
, "x").WithLocation(7, 75)
17752
Diagnostic(ErrorCode.
ERR_ByRefParameterInExpressionTree
, "x").WithLocation(7, 74)
Semantics\SimpleLambdaParametersWithModifiersTests.cs (1)
780
Diagnostic(ErrorCode.
ERR_ByRefParameterInExpressionTree
, "x"));