14 references to INF_TooManyBoundLambdas
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Lambda.cs (1)
448diagnostics.Add(ErrorCode.INF_TooManyBoundLambdas, GetAnonymousFunctionLocation(pair.Key), truncatedToHundreds);
Errors\ErrorFacts.cs (1)
2451or ErrorCode.INF_TooManyBoundLambdas
Generated\ErrorFacts.Generated.cs (1)
377case ErrorCode.INF_TooManyBoundLambdas:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (10)
Semantics\OverloadResolutionPerfTests.cs (7)
312var diagnostics = comp.GetDiagnostics().Where(d => d is not { Severity: DiagnosticSeverity.Info, Code: (int)ErrorCode.INF_TooManyBoundLambdas }); 415Diagnostic(ErrorCode.INF_TooManyBoundLambdas, "=>").WithArguments("100").WithLocation(16, 19), 418Diagnostic(ErrorCode.INF_TooManyBoundLambdas, "=>").WithArguments("1300").WithLocation(17, 23)); 448Diagnostic(ErrorCode.INF_TooManyBoundLambdas, "=>").WithArguments("100").WithLocation(13, 15), 451Diagnostic(ErrorCode.INF_TooManyBoundLambdas, "=>").WithArguments("1300").WithLocation(14, 19)); 929Diagnostic(ErrorCode.INF_TooManyBoundLambdas, "=>").WithArguments("1000").WithLocation(6, 21)); 969Diagnostic(ErrorCode.INF_TooManyBoundLambdas, "=>").WithArguments("1000").WithLocation(7, 18),
Semantics\OverloadResolutionTests.cs (3)
7613Diagnostic(ErrorCode.INF_TooManyBoundLambdas, "=>").WithArguments("200").WithLocation(8, 34), 7616Diagnostic(ErrorCode.INF_TooManyBoundLambdas, "=>").WithArguments("1000").WithLocation(8, 41), 7622Diagnostic(ErrorCode.INF_TooManyBoundLambdas, "=>").WithArguments("4000").WithLocation(8, 48));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
436case ErrorCode.INF_TooManyBoundLambdas: