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