26 references to WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Expressions.cs (1)
1842
diagnostics.Add(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, node.Location, shadowedParameter);
Binder\Binder_Invocation.cs (1)
1980
if (code == (int)ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
&&
Errors\ErrorFacts.cs (2)
549
case ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
:
2395
or ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
Generated\ErrorFacts.Generated.cs (1)
322
case ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
:
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (20)
Semantics\PrimaryConstructorTests.cs (20)
20881
Diagnostic(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, "p1").WithArguments("int p1").WithLocation(15, 24)
20913
Diagnostic(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, "p1").WithArguments("int p1").WithLocation(11, 20)
20945
Diagnostic(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, "p1").WithArguments("int p1").WithLocation(11, 20)
21018
Diagnostic(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, "p1").WithArguments("int p1").WithLocation(11, 20)
21069
Diagnostic(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, "p1").WithArguments("int p1").WithLocation(11, 20)
21106
Diagnostic(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, "Type1").WithArguments("int Type1").WithLocation(11, 20)
21177
Diagnostic(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, "Type1").WithArguments("int Type1").WithLocation(11, 20)
21214
Diagnostic(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, "Type1").WithArguments("Type1 Type1").WithLocation(11, 20)
21249
Diagnostic(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, "Type1").WithArguments("Base.Type1 Type1").WithLocation(14, 20)
21284
Diagnostic(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, "Type1").WithArguments("Base.Type1 Type1").WithLocation(14, 20),
21319
Diagnostic(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, "p1").WithArguments("int p1").WithLocation(11, 17)
21412
Diagnostic(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, "p1").WithArguments("int p1").WithLocation(11, 17),
21452
Diagnostic(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, "p1").WithArguments("int p1").WithLocation(11, 20),
21455
Diagnostic(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, "p1").WithArguments("int p1").WithLocation(16, 20)
21612
Diagnostic(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, "p1").WithArguments("int p1").WithLocation(11, 20),
21650
Diagnostic(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, "p1").WithArguments("int p1").WithLocation(8, 20)
21657
Diagnostic(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, "p1").WithArguments("int p1").WithLocation(6, 20),
21692
Diagnostic(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, "p1").WithArguments("int p1").WithLocation(6, 20)
21701
Diagnostic(ErrorCode.
WRN_PrimaryConstructorParameterIsShadowedAndNotPassedToBase
, "p1").WithArguments("int p1").WithLocation(6, 20)
21734
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
: