48 references to ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
Microsoft.CodeAnalysis.CSharp (3)
Errors\ErrorFacts.cs (1)
2127
case ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
:
Symbols\TypeSymbol.cs (2)
1645
ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
:
1742
diagnostics.Add(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
,
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (45)
Symbols\DefaultInterfaceImplementationTests.cs (35)
1656
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.M1()", "I1.M1()", "Test2").WithLocation(2, 15)
1712
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.M1()", "I1.M1()", "Test2").WithLocation(2, 15)
1859
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.M1()", "I1.M1()", "Test2").WithLocation(2, 15)
4121
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P7.set", "I1.P7.set", "Test2").WithLocation(2, 15),
4124
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P1.get", "I1.P1.get", "Test2").WithLocation(2, 15),
4127
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P3.get", "I1.P3.get", "Test2").WithLocation(2, 15),
4130
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P5.set", "I1.P5.set", "Test2").WithLocation(2, 15),
4133
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P7.get", "I1.P7.get", "Test2").WithLocation(2, 15)
4249
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P1.get", "I1.P1.get", "Test2").WithLocation(2, 15),
4252
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P3.get", "I1.P3.get", "Test2").WithLocation(2, 15),
4255
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P5.set", "I1.P5.set", "Test2").WithLocation(2, 15),
4258
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P7.get", "I1.P7.get", "Test2").WithLocation(2, 15),
4261
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P7.set", "I1.P7.set", "Test2").WithLocation(2, 15)
4500
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P1.get", "I1.P1.get", "Test2").WithLocation(2, 15),
4506
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P3.get", "I1.P3.get", "Test2").WithLocation(2, 15),
4512
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P5.set", "I1.P5.set", "Test2").WithLocation(2, 15),
4518
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P7.get", "I1.P7.get", "Test2").WithLocation(2, 15),
4524
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P7.set", "I1.P7.set", "Test2").WithLocation(2, 15)
7178
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.E7.add", "I1.E7.add", "Test2").WithLocation(2, 15),
7181
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.E7.remove", "I1.E7.remove", "Test2").WithLocation(2, 15)
7264
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.E7.add", "I1.E7.add", "Test2").WithLocation(2, 15),
7267
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.E7.remove", "I1.E7.remove", "Test2").WithLocation(2, 15)
7445
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.E7.add", "I1.E7.add", "Test2").WithLocation(2, 15),
7451
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.E7.remove", "I1.E7.remove", "Test2").WithLocation(2, 15)
33208
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.I2.M1()", "I2.M1()", "Test1").WithLocation(6, 15),
33211
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.I4.M1()", "I4.M1()", "Test1").WithLocation(6, 15)
37281
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.I2.M1.get", "I2.M1.get", "Test1").WithLocation(6, 15),
37284
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.I2.M1.set", "I2.M1.set", "Test1").WithLocation(6, 15),
37287
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.I4.M1.set", "I4.M1.set", "Test1").WithLocation(6, 15)
40333
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.I2.M1.add", "I2.M1.add", "Test1").WithLocation(6, 15),
40336
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.I2.M1.remove", "I2.M1.remove", "Test1").WithLocation(6, 15),
40339
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.I4.M1.add", "I4.M1.add", "Test1").WithLocation(6, 15),
40342
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.I4.M1.remove", "I4.M1.remove", "Test1").WithLocation(6, 15)
68411
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1<Test1>"),
68414
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1<Test1>")
Symbols\StaticAbstractMembersInInterfacesTests.cs (10)
15996
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "M01").WithArguments("Test1.M01()", "I1.M01()", "Test1").WithLocation(4, 24)
19095
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, op).WithArguments("Test1.operator " + checkedKeyword + op + "(Test1)", "I1<Test1>.operator " + checkedKeyword + op + "(Test1)", "Test1").WithLocation(4, 34 + checkedKeyword.Length)
19147
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, op).WithArguments("Test1.operator " + checkedKeyword + op + "(Test1, int)", "I1<Test1>.operator " + checkedKeyword + op + "(Test1, int)", "Test1").WithLocation(4, 34 + checkedKeyword.Length)
22846
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "M01").WithArguments("Test1.M01", "I1.M01", "Test1").WithLocation(4, 23),
22849
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "get").WithArguments("Test1.M01.get", "I1.M01.get", "Test1").WithLocation(4, 29),
22852
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "set").WithArguments("Test1.M01.set", "I1.M01.set", "Test1").WithLocation(4, 34)
25630
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "M01").WithArguments("Test1.M01", "I1.M01", "Test1").WithLocation(4, 39),
25633
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "add").WithArguments("Test1.M01.add", "I1.M01.add", "Test1").WithLocation(4, 45),
25636
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "remove").WithArguments("Test1.M01.remove", "I1.M01.remove", "Test1").WithLocation(4, 51)
28555
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "int").WithArguments("Test1." + op + " operator " + checkedKeyword + "int(Test1)", "I1<Test1>." + op + " operator " + checkedKeyword + "int(Test1)", "Test1").WithLocation(4, 37 + checkedKeyword.Length)