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