5 references to ERR_AnonDelegateCantUseStructPrimaryConstructorParameterInMember
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Expressions.cs (1)
2215
Error(diagnostics, ErrorCode.
ERR_AnonDelegateCantUseStructPrimaryConstructorParameterInMember
, node);
Errors\ErrorFacts.cs (1)
1293
or ErrorCode.
ERR_AnonDelegateCantUseStructPrimaryConstructorParameterInMember
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (3)
Semantics\PrimaryConstructorTests.cs (3)
7916
Diagnostic(ErrorCode.
ERR_AnonDelegateCantUseStructPrimaryConstructorParameterInMember
, "p1").WithLocation(2000, 1)
19993
Diagnostic(ErrorCode.
ERR_AnonDelegateCantUseStructPrimaryConstructorParameterInMember
, "p1").WithLocation(4, 54),
19996
Diagnostic(ErrorCode.
ERR_AnonDelegateCantUseStructPrimaryConstructorParameterInMember
, "p2").WithLocation(5, 47)