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