15 references to ERR_SpecialByRefInLambda
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Expressions.cs (3)
1341Error(diagnostics, ErrorCode.ERR_SpecialByRefInLambda, node, runtimeArgumentHandleType); 2123Error(diagnostics, ErrorCode.ERR_SpecialByRefInLambda, node, type); 2175Error(diagnostics, ErrorCode.ERR_SpecialByRefInLambda, node, parameter.Type);
Errors\ErrorFacts.cs (1)
618or ErrorCode.ERR_SpecialByRefInLambda
Lowering\ClosureConversion\ClosureConversion.Analysis.Tree.cs (1)
701_diagnostics.Add(ErrorCode.ERR_SpecialByRefInLambda, syntax.Location, type);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Semantics\PrimaryConstructorTests.cs (2)
20615Diagnostic(ErrorCode.ERR_SpecialByRefInLambda, "b").WithArguments("System.ArgIterator").WithLocation(16, 37), 20618Diagnostic(ErrorCode.ERR_SpecialByRefInLambda, "c").WithArguments("System.ArgIterator").WithLocation(23, 33)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (7)
Semantics\LocalFunctionTests.cs (2)
3845Diagnostic(ErrorCode.ERR_SpecialByRefInLambda, "__arglist").WithArguments("System.RuntimeArgumentHandle").WithLocation(18, 31), 3857Diagnostic(ErrorCode.ERR_SpecialByRefInLambda, "__arglist").WithArguments("System.RuntimeArgumentHandle").WithLocation(34, 31)
Semantics\SemanticErrorTests.cs (5)
7319Diagnostic(ErrorCode.ERR_SpecialByRefInLambda, "__arglist").WithArguments("System.RuntimeArgumentHandle").WithLocation(10, 14), 7322Diagnostic(ErrorCode.ERR_SpecialByRefInLambda, "__arglist").WithArguments("System.RuntimeArgumentHandle").WithLocation(11, 29), 7325Diagnostic(ErrorCode.ERR_SpecialByRefInLambda, "__arglist").WithArguments("System.RuntimeArgumentHandle").WithLocation(12, 44) 7354Diagnostic(ErrorCode.ERR_SpecialByRefInLambda, "h").WithArguments("System.RuntimeArgumentHandle").WithLocation(10, 34), 7357Diagnostic(ErrorCode.ERR_SpecialByRefInLambda, "h").WithArguments("System.RuntimeArgumentHandle").WithLocation(11, 43));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
2973case ErrorCode.ERR_SpecialByRefInLambda: