12 references to ERR_ByRefParameterInExpressionTree
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1385case ErrorCode.ERR_ByRefParameterInExpressionTree:
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
534_diagnostics.Add(ErrorCode.ERR_ByRefParameterInExpressionTree, p.Locations[0]);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (10)
Semantics\RefFieldTests.cs (8)
15606Diagnostic(ErrorCode.ERR_ByRefParameterInExpressionTree, "x").WithLocation(13, 38), 15609Diagnostic(ErrorCode.ERR_ByRefParameterInExpressionTree, "y").WithLocation(13, 56), 15618Diagnostic(ErrorCode.ERR_ByRefParameterInExpressionTree, "x").WithLocation(14, 38), 15621Diagnostic(ErrorCode.ERR_ByRefParameterInExpressionTree, "y").WithLocation(14, 49), 15648Diagnostic(ErrorCode.ERR_ByRefParameterInExpressionTree, "x").WithLocation(20, 44), 15651Diagnostic(ErrorCode.ERR_ByRefParameterInExpressionTree, "y").WithLocation(20, 62), 15660Diagnostic(ErrorCode.ERR_ByRefParameterInExpressionTree, "x").WithLocation(21, 44), 15663Diagnostic(ErrorCode.ERR_ByRefParameterInExpressionTree, "y").WithLocation(21, 55));
Semantics\SemanticErrorTests.cs (2)
17555Diagnostic(ErrorCode.ERR_ByRefParameterInExpressionTree, "x").WithLocation(7, 75) 17575Diagnostic(ErrorCode.ERR_ByRefParameterInExpressionTree, "x").WithLocation(7, 74)