48 references to ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
Microsoft.CodeAnalysis.CSharp (3)
Errors\ErrorFacts.cs (1)
2184
or ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
Symbols\TypeSymbol.cs (2)
1674
ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
:
1772
diagnostics.Add(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
,
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (45)
Symbols\DefaultInterfaceImplementationTests.cs (35)
1647
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.M1()", "I1.M1()", "Test2").WithLocation(2, 15)
1703
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.M1()", "I1.M1()", "Test2").WithLocation(2, 15)
1850
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.M1()", "I1.M1()", "Test2").WithLocation(2, 15)
4317
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P7.set", "I1.P7.set", "Test2").WithLocation(2, 15),
4320
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P1.get", "I1.P1.get", "Test2").WithLocation(2, 15),
4323
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P3.get", "I1.P3.get", "Test2").WithLocation(2, 15),
4326
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P5.set", "I1.P5.set", "Test2").WithLocation(2, 15),
4329
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P7.get", "I1.P7.get", "Test2").WithLocation(2, 15)
4445
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P1.get", "I1.P1.get", "Test2").WithLocation(2, 15),
4448
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P3.get", "I1.P3.get", "Test2").WithLocation(2, 15),
4451
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P5.set", "I1.P5.set", "Test2").WithLocation(2, 15),
4454
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P7.get", "I1.P7.get", "Test2").WithLocation(2, 15),
4457
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P7.set", "I1.P7.set", "Test2").WithLocation(2, 15)
4696
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P1.get", "I1.P1.get", "Test2").WithLocation(2, 15),
4702
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P3.get", "I1.P3.get", "Test2").WithLocation(2, 15),
4708
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P5.set", "I1.P5.set", "Test2").WithLocation(2, 15),
4714
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P7.get", "I1.P7.get", "Test2").WithLocation(2, 15),
4720
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P7.set", "I1.P7.set", "Test2").WithLocation(2, 15)
7374
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.E7.add", "I1.E7.add", "Test2").WithLocation(2, 15),
7377
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.E7.remove", "I1.E7.remove", "Test2").WithLocation(2, 15)
7460
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.E7.add", "I1.E7.add", "Test2").WithLocation(2, 15),
7463
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.E7.remove", "I1.E7.remove", "Test2").WithLocation(2, 15)
7641
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.E7.add", "I1.E7.add", "Test2").WithLocation(2, 15),
7647
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.E7.remove", "I1.E7.remove", "Test2").WithLocation(2, 15)
33404
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.I2.M1()", "I2.M1()", "Test1").WithLocation(6, 15),
33407
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.I4.M1()", "I4.M1()", "Test1").WithLocation(6, 15)
37477
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.I2.M1.get", "I2.M1.get", "Test1").WithLocation(6, 15),
37480
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.I2.M1.set", "I2.M1.set", "Test1").WithLocation(6, 15),
37483
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.I4.M1.set", "I4.M1.set", "Test1").WithLocation(6, 15)
40529
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.I2.M1.add", "I2.M1.add", "Test1").WithLocation(6, 15),
40532
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.I2.M1.remove", "I2.M1.remove", "Test1").WithLocation(6, 15),
40535
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.I4.M1.add", "I4.M1.add", "Test1").WithLocation(6, 15),
40538
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.I4.M1.remove", "I4.M1.remove", "Test1").WithLocation(6, 15)
68601
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1<Test1>"),
68604
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1<Test1>")
Symbols\StaticAbstractMembersInInterfacesTests.cs (10)
15954
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "M01").WithArguments("Test1.M01()", "I1.M01()", "Test1").WithLocation(4, 24)
19609
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, op).WithArguments("Test1.operator " + checkedKeyword + op + "(Test1)", "I1<Test1>.operator " + checkedKeyword + op + "(Test1)", "Test1").WithLocation(4, 34 + checkedKeyword.Length)
19661
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)
23360
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "M01").WithArguments("Test1.M01", "I1.M01", "Test1").WithLocation(4, 23),
23363
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "get").WithArguments("Test1.M01.get", "I1.M01.get", "Test1").WithLocation(4, 29),
23366
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "set").WithArguments("Test1.M01.set", "I1.M01.set", "Test1").WithLocation(4, 34)
26144
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "M01").WithArguments("Test1.M01", "I1.M01", "Test1").WithLocation(4, 39),
26147
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "add").WithArguments("Test1.M01.add", "I1.M01.add", "Test1").WithLocation(4, 45),
26150
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "remove").WithArguments("Test1.M01.remove", "I1.M01.remove", "Test1").WithLocation(4, 51)
29069
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)