23 references to ERR_UnscopedRefAttributeInterfaceImplementation
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2345
or ErrorCode.
ERR_UnscopedRefAttributeInterfaceImplementation
Symbols\TypeSymbol.cs (1)
1920
ErrorCode.
ERR_UnscopedRefAttributeInterfaceImplementation
,
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (6)
RefStructInterfacesTests.cs (6)
973
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeInterfaceImplementation
, "M").WithArguments("I.M()").WithLocation(9, 20)
1000
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeInterfaceImplementation
, "M").WithArguments("I.M()").WithLocation(9, 15)
1573
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeInterfaceImplementation
, "get").WithArguments("I.P.get").WithLocation(201, 9)
1607
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeInterfaceImplementation
, "get").WithArguments("I.P.get").WithLocation(201, 9)
2149
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeInterfaceImplementation
, "get").WithArguments("I.this[int].get").WithLocation(201, 9)
2183
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeInterfaceImplementation
, "get").WithArguments("I.this[int].get").WithLocation(201, 9)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (15)
Semantics\RefFieldTests.cs (15)
26150
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeInterfaceImplementation
, "F1").WithArguments("I<int>.F1()").WithLocation(23, 34),
26153
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeInterfaceImplementation
, "F2").WithArguments("I<int>.F2()").WithLocation(24, 31),
26156
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeInterfaceImplementation
, "F3").WithArguments("I<int>.F3(out R<int>)").WithLocation(25, 31),
26159
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeInterfaceImplementation
, "ref _f2").WithArguments("I<int>.P.get").WithLocation(26, 39),
26162
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeInterfaceImplementation
, "F1").WithArguments("I<int>.F1()").WithLocation(38, 34),
26165
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeInterfaceImplementation
, "F2").WithArguments("I<int>.F2()").WithLocation(39, 31),
26168
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeInterfaceImplementation
, "F3").WithArguments("I<int>.F3(out R<int>)").WithLocation(40, 31),
26171
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeInterfaceImplementation
, "ref _f4").WithArguments("I<int>.P.get").WithLocation(41, 39)
26266
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeInterfaceImplementation
, "throw null").WithArguments("I1<int>.P1.get").WithLocation(16, 40),
26269
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeInterfaceImplementation
, "get").WithArguments("I2<int>.P2.get").WithLocation(17, 35),
26272
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeInterfaceImplementation
, "set").WithArguments("I2<int>.P2.set").WithLocation(17, 40),
26275
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeInterfaceImplementation
, "get").WithArguments("I1<int>.P1.get").WithLocation(21, 39),
26278
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeInterfaceImplementation
, "get").WithArguments("I2<int>.P2.get").WithLocation(22, 35),
26281
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeInterfaceImplementation
, "set").WithArguments("I2<int>.P2.set").WithLocation(26, 40),
26284
Diagnostic(ErrorCode.
ERR_UnscopedRefAttributeInterfaceImplementation
, "set").WithArguments("I3<int>.P3.set").WithLocation(27, 35)