46 references to ERR_MethodNameExpected
Microsoft.CodeAnalysis.CSharp (5)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (4)
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (30)
Semantics\SemanticErrorTests.cs (23)
14328Diagnostic(ErrorCode.ERR_MethodNameExpected, "del").WithLocation(10, 44),
14331Diagnostic(ErrorCode.ERR_MethodNameExpected, "del").WithLocation(11, 44));
23121Diagnostic(ErrorCode.ERR_MethodNameExpected, "2 + 2").WithLocation(28, 25),
23127Diagnostic(ErrorCode.ERR_MethodNameExpected, "2, 3").WithLocation(30, 25),
23130Diagnostic(ErrorCode.ERR_MethodNameExpected, "3").WithLocation(31, 28),
23197Diagnostic(ErrorCode.ERR_MethodNameExpected, "Bar").WithLocation(13, 47),
23200Diagnostic(ErrorCode.ERR_MethodNameExpected, "Baz").WithLocation(14, 47),
23203Diagnostic(ErrorCode.ERR_MethodNameExpected, "k").WithLocation(15, 47),
23262Diagnostic(ErrorCode.ERR_MethodNameExpected, "Bar").WithLocation(13, 48),
23265Diagnostic(ErrorCode.ERR_MethodNameExpected, "Baz").WithLocation(14, 48),
23268Diagnostic(ErrorCode.ERR_MethodNameExpected, "k").WithLocation(15, 48),
23276Diagnostic(ErrorCode.ERR_MethodNameExpected, "Bar").WithLocation(13, 48),
23279Diagnostic(ErrorCode.ERR_MethodNameExpected, "Baz").WithLocation(14, 48),
23282Diagnostic(ErrorCode.ERR_MethodNameExpected, "k").WithLocation(15, 48),
23288Diagnostic(ErrorCode.ERR_MethodNameExpected, "Bar").WithLocation(18, 47),
23291Diagnostic(ErrorCode.ERR_MethodNameExpected, "Baz").WithLocation(19, 47),
23294Diagnostic(ErrorCode.ERR_MethodNameExpected, "k").WithLocation(20, 47),
23321Diagnostic(ErrorCode.ERR_MethodNameExpected, "Baz, Baz.Invoke").WithLocation(8, 46),
23324Diagnostic(ErrorCode.ERR_MethodNameExpected, "Baz, ref Baz.Invoke").WithLocation(9, 42),
23327Diagnostic(ErrorCode.ERR_MethodNameExpected, "Baz, ref Baz.Invoke").WithLocation(10, 46),
23333Diagnostic(ErrorCode.ERR_MethodNameExpected, "BarP, BarP.Invoke").WithLocation(11, 46),
23336Diagnostic(ErrorCode.ERR_MethodNameExpected, "BarP, ref BarP.Invoke").WithLocation(12, 42),
23342Diagnostic(ErrorCode.ERR_MethodNameExpected, "BarP, ref BarP.Invoke").WithLocation(13, 46)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)