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