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)
14337Diagnostic(ErrorCode.ERR_MethodNameExpected, "del").WithLocation(10, 44),
14340Diagnostic(ErrorCode.ERR_MethodNameExpected, "del").WithLocation(11, 44));
23144Diagnostic(ErrorCode.ERR_MethodNameExpected, "2 + 2").WithLocation(28, 25),
23150Diagnostic(ErrorCode.ERR_MethodNameExpected, "2, 3").WithLocation(30, 25),
23153Diagnostic(ErrorCode.ERR_MethodNameExpected, "3").WithLocation(31, 28),
23220Diagnostic(ErrorCode.ERR_MethodNameExpected, "Bar").WithLocation(13, 47),
23223Diagnostic(ErrorCode.ERR_MethodNameExpected, "Baz").WithLocation(14, 47),
23226Diagnostic(ErrorCode.ERR_MethodNameExpected, "k").WithLocation(15, 47),
23285Diagnostic(ErrorCode.ERR_MethodNameExpected, "Bar").WithLocation(13, 48),
23288Diagnostic(ErrorCode.ERR_MethodNameExpected, "Baz").WithLocation(14, 48),
23291Diagnostic(ErrorCode.ERR_MethodNameExpected, "k").WithLocation(15, 48),
23299Diagnostic(ErrorCode.ERR_MethodNameExpected, "Bar").WithLocation(13, 48),
23302Diagnostic(ErrorCode.ERR_MethodNameExpected, "Baz").WithLocation(14, 48),
23305Diagnostic(ErrorCode.ERR_MethodNameExpected, "k").WithLocation(15, 48),
23311Diagnostic(ErrorCode.ERR_MethodNameExpected, "Bar").WithLocation(18, 47),
23314Diagnostic(ErrorCode.ERR_MethodNameExpected, "Baz").WithLocation(19, 47),
23317Diagnostic(ErrorCode.ERR_MethodNameExpected, "k").WithLocation(20, 47),
23344Diagnostic(ErrorCode.ERR_MethodNameExpected, "Baz, Baz.Invoke").WithLocation(8, 46),
23347Diagnostic(ErrorCode.ERR_MethodNameExpected, "Baz, ref Baz.Invoke").WithLocation(9, 42),
23350Diagnostic(ErrorCode.ERR_MethodNameExpected, "Baz, ref Baz.Invoke").WithLocation(10, 46),
23356Diagnostic(ErrorCode.ERR_MethodNameExpected, "BarP, BarP.Invoke").WithLocation(11, 46),
23359Diagnostic(ErrorCode.ERR_MethodNameExpected, "BarP, ref BarP.Invoke").WithLocation(12, 42),
23365Diagnostic(ErrorCode.ERR_MethodNameExpected, "BarP, ref BarP.Invoke").WithLocation(13, 46)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)