64 references to ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Expressions.cs (1)
9078
Error(diagnostics, ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, node);
Errors\ErrorFacts.cs (1)
2018
or ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
Symbols\Source\ModifierUtils.cs (1)
507
diagnostics.Add(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, errorLocation);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
PrivateProtected.cs (1)
426
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "M").WithLocation(3, 27)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (60)
Symbols\DefaultInterfaceImplementationTests.cs (60)
8697
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "M02").WithLocation(5, 20),
8700
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "M03").WithLocation(6, 29),
8727
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "M13").WithLocation(16, 28)
13676
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "P02").WithLocation(5, 19),
13679
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "P03").WithLocation(6, 28),
13712
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "set").WithLocation(17, 30),
13715
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "get").WithLocation(18, 34),
13724
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "P18").WithLocation(23, 27),
13727
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "set").WithLocation(24, 38)
22149
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "this").WithLocation(3, 37),
22152
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "this").WithLocation(4, 46),
22185
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "set").WithLocation(15, 56),
22188
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "get").WithLocation(16, 60),
22197
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "this").WithLocation(21, 45),
22200
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "set").WithLocation(22, 64)
27241
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "P02").WithLocation(5, 35),
27247
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "P03").WithLocation(6, 44),
27316
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "P14").WithLocation(17, 43),
27319
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "P15").WithLocation(18, 35),
27322
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "P16").WithLocation(19, 44)
31955
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "T1").WithLocation(4, 25),
31958
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "T2").WithLocation(9, 21),
31961
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "T3").WithLocation(12, 22),
31964
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "T4").WithLocation(15, 20),
31967
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "T5").WithLocation(20, 29)
32146
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "T1").WithLocation(4, 34),
32149
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "T2").WithLocation(9, 30),
32152
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "T3").WithLocation(12, 31),
32155
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "T4").WithLocation(15, 29),
32158
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "T5").WithLocation(20, 38)
32504
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "T1").WithLocation(4, 33),
32507
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "T2").WithLocation(9, 29),
32510
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "T3").WithLocation(12, 30),
32513
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "T4").WithLocation(15, 28),
32516
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "T5").WithLocation(20, 37)
46044
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "I0.F1").WithLocation(9, 34),
46047
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "I0.P2").WithLocation(10, 34),
46050
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "I0.M3").WithLocation(11, 9),
46053
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "I0.E4 += I0.M3").WithLocation(12, 9),
46056
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "I0.M3").WithLocation(12, 18),
46059
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "I0.E4 -= new D0(I0.M3)").WithLocation(13, 9),
46062
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "I0.M3").WithLocation(13, 25),
46065
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "I0.P2").WithLocation(14, 9),
46068
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "C6").WithLocation(15, 12),
46071
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "C7<int>").WithLocation(16, 17),
46074
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "I0.P8").WithLocation(17, 13),
46077
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "I0.P9").WithLocation(20, 9)
46173
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "i1.P20").WithLocation(7, 34),
46176
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "i1.M30").WithLocation(8, 9),
46179
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "i1.E40 += i1.M30").WithLocation(9, 9),
46182
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "i1.M30").WithLocation(9, 19),
46185
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "i1.E40 -= new D1(i1.M30)").WithLocation(10, 9),
46188
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "i1.M30").WithLocation(10, 26),
46191
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "i1[50]").WithLocation(11, 9),
46194
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "i1.P50").WithLocation(12, 13),
46197
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "i1.P60").WithLocation(15, 9)
46313
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "I2").WithLocation(6, 27),
46316
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "I3").WithLocation(11, 27)
46327
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "I2").WithLocation(4, 26),
46330
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember
, "I3").WithLocation(8, 26)