26 references to WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Expressions.cs (1)
1744
diagnostics.Add(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, node.Location, shadowedParameter);
Binder\Binder_Invocation.cs (1)
1964
diagnostics.Add(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, identifier.Location, shadowedParameter);
Errors\ErrorFacts.cs (2)
549
case ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
:
2396
or ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
Generated\ErrorFacts.Generated.cs (1)
322
case ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
:
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (20)
Semantics\PrimaryConstructorTests.cs (20)
21011
Diagnostic(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, "p1").WithArguments("int p1").WithLocation(15, 24)
21043
Diagnostic(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, "p1").WithArguments("int p1").WithLocation(11, 20)
21075
Diagnostic(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, "p1").WithArguments("int p1").WithLocation(11, 20)
21148
Diagnostic(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, "p1").WithArguments("int p1").WithLocation(11, 20)
21199
Diagnostic(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, "p1").WithArguments("int p1").WithLocation(11, 20)
21236
Diagnostic(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, "Type1").WithArguments("int Type1").WithLocation(11, 20)
21307
Diagnostic(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, "Type1").WithArguments("int Type1").WithLocation(11, 20)
21344
Diagnostic(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, "Type1").WithArguments("Type1 Type1").WithLocation(11, 20)
21379
Diagnostic(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, "Type1").WithArguments("Base.Type1 Type1").WithLocation(14, 20)
21414
Diagnostic(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, "Type1").WithArguments("Base.Type1 Type1").WithLocation(14, 20),
21449
Diagnostic(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, "p1").WithArguments("int p1").WithLocation(11, 17)
21542
Diagnostic(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, "p1").WithArguments("int p1").WithLocation(11, 17),
21582
Diagnostic(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, "p1").WithArguments("int p1").WithLocation(11, 20),
21585
Diagnostic(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, "p1").WithArguments("int p1").WithLocation(16, 20)
21742
Diagnostic(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, "p1").WithArguments("int p1").WithLocation(11, 20),
21780
Diagnostic(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, "p1").WithArguments("int p1").WithLocation(8, 20)
21787
Diagnostic(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, "p1").WithArguments("int p1").WithLocation(6, 20),
21822
Diagnostic(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, "p1").WithArguments("int p1").WithLocation(6, 20)
21831
Diagnostic(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, "p1").WithArguments("int p1").WithLocation(6, 20)
21864
Diagnostic(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, "p1").WithArguments("int p1").WithLocation(15, 17)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
311
case ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
: