32 references to ERR_ComImportWithImpl
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
877
or ErrorCode.
ERR_ComImportWithImpl
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
1489
diagnostics.Add(ErrorCode.
ERR_ComImportWithImpl
, this.GetFirstLocation(), this, ContainingType);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (12)
Semantics\RecordTests.cs (12)
30417
Diagnostic(ErrorCode.
ERR_ComImportWithImpl
, "R1").WithArguments("R1.Equals(R1?)", "R1").WithLocation(4, 8),
30420
Diagnostic(ErrorCode.
ERR_ComImportWithImpl
, "R1").WithArguments("R1.ToString()", "R1").WithLocation(4, 8),
30423
Diagnostic(ErrorCode.
ERR_ComImportWithImpl
, "R1").WithArguments("R1.Deconstruct(out int)", "R1").WithLocation(4, 8),
30426
Diagnostic(ErrorCode.
ERR_ComImportWithImpl
, "R1").WithArguments("R1.<Clone>$()", "R1").WithLocation(4, 8),
30429
Diagnostic(ErrorCode.
ERR_ComImportWithImpl
, "R1").WithArguments("R1.EqualityContract.get", "R1").WithLocation(4, 8),
30432
Diagnostic(ErrorCode.
ERR_ComImportWithImpl
, "R1").WithArguments("R1.Equals(object?)", "R1").WithLocation(4, 8),
30435
Diagnostic(ErrorCode.
ERR_ComImportWithImpl
, "R1").WithArguments("R1.GetHashCode()", "R1").WithLocation(4, 8),
30438
Diagnostic(ErrorCode.
ERR_ComImportWithImpl
, "R1").WithArguments("R1.operator ==(R1?, R1?)", "R1").WithLocation(4, 8),
30441
Diagnostic(ErrorCode.
ERR_ComImportWithImpl
, "R1").WithArguments("R1.operator !=(R1?, R1?)", "R1").WithLocation(4, 8),
30444
Diagnostic(ErrorCode.
ERR_ComImportWithImpl
, "R1").WithArguments("R1.PrintMembers(System.Text.StringBuilder)", "R1").WithLocation(4, 8),
30453
Diagnostic(ErrorCode.
ERR_ComImportWithImpl
, "x").WithArguments("R1.x.get", "R1").WithLocation(4, 15),
30456
Diagnostic(ErrorCode.
ERR_ComImportWithImpl
, "x").WithArguments("R1.x.init", "R1").WithLocation(4, 15)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\LocalFunctionTests.cs (1)
1419
Diagnostic(ErrorCode.
ERR_ComImportWithImpl
, "M").WithArguments("C.M()", "C").WithLocation(8, 10));
Semantics\OverloadResolutionTests.cs (1)
2782
Diagnostic(ErrorCode.
ERR_ComImportWithImpl
, "M").WithArguments("Ref1Impl.M(ref int, int)", "Ref1Impl").WithLocation(13, 16));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (16)
Symbols\DefaultInterfaceImplementationTests.cs (15)
69059
Diagnostic(ErrorCode.
ERR_ComImportWithImpl
, "M1").WithArguments("I1.M1()", "I1").WithLocation(8, 17),
69062
Diagnostic(ErrorCode.
ERR_ComImportWithImpl
, "M2").WithArguments("I1.M2()", "I1").WithLocation(10, 10),
69065
Diagnostic(ErrorCode.
ERR_ComImportWithImpl
, "M3").WithArguments("I1.M3()", "I1").WithLocation(12, 25),
69068
Diagnostic(ErrorCode.
ERR_ComImportWithImpl
, "get").WithArguments("I1.P1.get", "I1").WithLocation(14, 20),
69071
Diagnostic(ErrorCode.
ERR_ComImportWithImpl
, "set").WithArguments("I1.P1.set", "I1").WithLocation(14, 25),
69074
Diagnostic(ErrorCode.
ERR_ComImportWithImpl
, "get").WithArguments("I1.P2.get", "I1").WithLocation(16, 14),
69077
Diagnostic(ErrorCode.
ERR_ComImportWithImpl
, "set").WithArguments("I1.P2.set", "I1").WithLocation(16, 24),
69080
Diagnostic(ErrorCode.
ERR_ComImportWithImpl
, "get").WithArguments("I1.this[int].get", "I1").WithLocation(18, 23),
69083
Diagnostic(ErrorCode.
ERR_ComImportWithImpl
, "set").WithArguments("I1.this[int].set", "I1").WithLocation(18, 33),
69086
Diagnostic(ErrorCode.
ERR_ComImportWithImpl
, "E1").WithArguments("I1.E1.remove", "I1").WithLocation(20, 32),
69089
Diagnostic(ErrorCode.
ERR_ComImportWithImpl
, "add").WithArguments("I1.E2.add", "I1").WithLocation(22, 29),
69092
Diagnostic(ErrorCode.
ERR_ComImportWithImpl
, "remove").WithArguments("I1.E2.remove", "I1").WithLocation(22, 35),
69095
Diagnostic(ErrorCode.
ERR_ComImportWithImpl
, "1").WithArguments("I1.P3.get", "I1").WithLocation(24, 15),
69098
Diagnostic(ErrorCode.
ERR_ComImportWithImpl
, "+").WithArguments("I1.operator +(I1, I1)", "I1").WithLocation(26, 24),
69107
Diagnostic(ErrorCode.
ERR_ComImportWithImpl
, "int").WithArguments("I1.implicit operator int(I1)", "I1").WithLocation(28, 30)
Symbols\SymbolErrorTests.cs (1)
4990
Diagnostic(ErrorCode.
ERR_ComImportWithImpl
, "Main").WithArguments("ImageProperties.Main()", "ImageProperties").WithLocation(5, 24));