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)
1644
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.M1()", "I1.M1()", "Test2").WithLocation(2, 15)
1700
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.M1()", "I1.M1()", "Test2").WithLocation(2, 15)
1847
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.M1()", "I1.M1()", "Test2").WithLocation(2, 15)
4306
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P7.set", "I1.P7.set", "Test2").WithLocation(2, 15),
4309
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P1.get", "I1.P1.get", "Test2").WithLocation(2, 15),
4312
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P3.get", "I1.P3.get", "Test2").WithLocation(2, 15),
4315
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P5.set", "I1.P5.set", "Test2").WithLocation(2, 15),
4318
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P7.get", "I1.P7.get", "Test2").WithLocation(2, 15)
4434
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P1.get", "I1.P1.get", "Test2").WithLocation(2, 15),
4437
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P3.get", "I1.P3.get", "Test2").WithLocation(2, 15),
4440
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P5.set", "I1.P5.set", "Test2").WithLocation(2, 15),
4443
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P7.get", "I1.P7.get", "Test2").WithLocation(2, 15),
4446
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P7.set", "I1.P7.set", "Test2").WithLocation(2, 15)
4685
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P1.get", "I1.P1.get", "Test2").WithLocation(2, 15),
4691
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P3.get", "I1.P3.get", "Test2").WithLocation(2, 15),
4697
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P5.set", "I1.P5.set", "Test2").WithLocation(2, 15),
4703
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P7.get", "I1.P7.get", "Test2").WithLocation(2, 15),
4709
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.P7.set", "I1.P7.set", "Test2").WithLocation(2, 15)
7363
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.E7.add", "I1.E7.add", "Test2").WithLocation(2, 15),
7366
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.E7.remove", "I1.E7.remove", "Test2").WithLocation(2, 15)
7449
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.E7.add", "I1.E7.add", "Test2").WithLocation(2, 15),
7452
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.E7.remove", "I1.E7.remove", "Test2").WithLocation(2, 15)
7630
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.E7.add", "I1.E7.add", "Test2").WithLocation(2, 15),
7636
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.E7.remove", "I1.E7.remove", "Test2").WithLocation(2, 15)
33393
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.I2.M1()", "I2.M1()", "Test1").WithLocation(6, 15),
33396
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.I4.M1()", "I4.M1()", "Test1").WithLocation(6, 15)
37466
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.I2.M1.get", "I2.M1.get", "Test1").WithLocation(6, 15),
37469
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.I2.M1.set", "I2.M1.set", "Test1").WithLocation(6, 15),
37472
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.I4.M1.set", "I4.M1.set", "Test1").WithLocation(6, 15)
40518
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.I2.M1.add", "I2.M1.add", "Test1").WithLocation(6, 15),
40521
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.I2.M1.remove", "I2.M1.remove", "Test1").WithLocation(6, 15),
40524
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.I4.M1.add", "I4.M1.add", "Test1").WithLocation(6, 15),
40527
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1").WithArguments("I1.I4.M1.remove", "I4.M1.remove", "Test1").WithLocation(6, 15)
68605
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember
, "I1<Test1>"),
68608
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)