15 references to ERR_SpecialByRefInLambda
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Expressions.cs (3)
1340
Error(diagnostics, ErrorCode.
ERR_SpecialByRefInLambda
, node, runtimeArgumentHandleType);
2100
Error(diagnostics, ErrorCode.
ERR_SpecialByRefInLambda
, node, type);
2152
Error(diagnostics, ErrorCode.
ERR_SpecialByRefInLambda
, node, parameter.Type);
Errors\ErrorFacts.cs (1)
619
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)
20605
Diagnostic(ErrorCode.
ERR_SpecialByRefInLambda
, "b").WithArguments("System.ArgIterator").WithLocation(16, 37),
20608
Diagnostic(ErrorCode.
ERR_SpecialByRefInLambda
, "c").WithArguments("System.ArgIterator").WithLocation(23, 33)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (7)
Semantics\LocalFunctionTests.cs (2)
3540
Diagnostic(ErrorCode.
ERR_SpecialByRefInLambda
, "__arglist").WithArguments("System.RuntimeArgumentHandle").WithLocation(18, 31),
3552
Diagnostic(ErrorCode.
ERR_SpecialByRefInLambda
, "__arglist").WithArguments("System.RuntimeArgumentHandle").WithLocation(34, 31)
Semantics\SemanticErrorTests.cs (5)
7274
Diagnostic(ErrorCode.
ERR_SpecialByRefInLambda
, "__arglist").WithArguments("System.RuntimeArgumentHandle").WithLocation(10, 14),
7277
Diagnostic(ErrorCode.
ERR_SpecialByRefInLambda
, "__arglist").WithArguments("System.RuntimeArgumentHandle").WithLocation(11, 29),
7280
Diagnostic(ErrorCode.
ERR_SpecialByRefInLambda
, "__arglist").WithArguments("System.RuntimeArgumentHandle").WithLocation(12, 44)
7309
Diagnostic(ErrorCode.
ERR_SpecialByRefInLambda
, "h").WithArguments("System.RuntimeArgumentHandle").WithLocation(10, 34),
7312
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
: