9 references to ERR_AnonDelegateCantUseStructPrimaryConstructorParameterCaptured
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Expressions.cs (1)
2219Error(diagnostics, ErrorCode.ERR_AnonDelegateCantUseStructPrimaryConstructorParameterCaptured, node);
Errors\ErrorFacts.cs (1)
1294or ErrorCode.ERR_AnonDelegateCantUseStructPrimaryConstructorParameterCaptured
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (7)
Semantics\PrimaryConstructorTests.cs (7)
13399Diagnostic(ErrorCode.ERR_AnonDelegateCantUseStructPrimaryConstructorParameterCaptured, "x").WithLocation(6, 30) 13403Diagnostic(ErrorCode.ERR_AnonDelegateCantUseStructPrimaryConstructorParameterCaptured, "s").WithLocation(7, 30) 13492Diagnostic(ErrorCode.ERR_AnonDelegateCantUseStructPrimaryConstructorParameterCaptured, "x").WithLocation(9, 23) 13496Diagnostic(ErrorCode.ERR_AnonDelegateCantUseStructPrimaryConstructorParameterCaptured, "s").WithLocation(9, 27) 14910Diagnostic(ErrorCode.ERR_AnonDelegateCantUseStructPrimaryConstructorParameterCaptured, "x").WithLocation(4, 43), 15357Diagnostic(ErrorCode.ERR_AnonDelegateCantUseStructPrimaryConstructorParameterCaptured, "x").WithLocation(4, 43), 20016Diagnostic(ErrorCode.ERR_AnonDelegateCantUseStructPrimaryConstructorParameterCaptured, "p1").WithLocation(4, 32)