56 references to ERR_MethGrpToNonDel
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Statements.cs (1)
2455
errorCode = ErrorCode.
ERR_MethGrpToNonDel
;
Errors\ErrorFacts.cs (1)
819
case ErrorCode.
ERR_MethGrpToNonDel
:
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (3)
Attributes\AttributeTests_Conditional.cs (1)
675
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "M").WithArguments("M", "string"),
Semantics\PatternMatchingTests4.cs (2)
94
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "M1").WithArguments("M1", "object").WithLocation(6, 18),
97
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "M1").WithArguments("M1", "object").WithLocation(9, 18),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (48)
Semantics\DelegateTypeTests.cs (34)
89
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "Main").WithArguments("Main", "System.Delegate").WithLocation(6, 13),
129
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "Main").WithArguments("Main", "object").WithLocation(6, 20),
132
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "Main").WithArguments("Main", "System.ICloneable").WithLocation(7, 24),
135
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "Main").WithArguments("Main", "System.Delegate").WithLocation(8, 22),
138
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "Main").WithArguments("Main", "System.MulticastDelegate").WithLocation(9, 31));
221
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "System.Linq.Expressions.Expression").WithLocation(5, 48),
227
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "System.Linq.Expressions.LambdaExpression").WithLocation(7, 54),
236
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "System.Linq.Expressions.Expression").WithLocation(5, 48),
239
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "(System.Linq.Expressions.Expression)F").WithArguments("F", "System.Linq.Expressions.Expression").WithLocation(6, 13),
242
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "System.Linq.Expressions.LambdaExpression").WithLocation(7, 54),
245
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "(System.Linq.Expressions.LambdaExpression)F").WithArguments("F", "System.Linq.Expressions.LambdaExpression").WithLocation(8, 13));
284
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "System.Linq.Expressions.Expression").WithLocation(13, 24));
675
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "Main").WithArguments("Main", "dynamic").WithLocation(7, 13),
1487
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "GetValue").WithArguments("GetValue", "object").WithLocation(6, 20),
1490
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "GetValue").WithArguments("GetValue", "object").WithLocation(7, 13),
1496
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "GetValue").WithArguments("GetValue", "object").WithLocation(10, 20),
1499
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "GetValue").WithArguments("GetValue", "object").WithLocation(11, 13),
1539
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "object").WithLocation(4, 27),
1545
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "object").WithLocation(6, 33),
1585
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "object").WithLocation(6, 30),
1591
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "object").WithLocation(6, 44));
4227
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "System.Linq.Expressions.Expression").WithLocation(10, 11)
4374
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "System.Linq.Expressions.Expression").WithLocation(9, 13),
8075
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "System.Linq.Expressions.Expression").WithLocation(11, 17)
8170
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "System.Linq.Expressions.Expression").WithLocation(11, 17)
11559
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "C1").WithLocation(18, 14)
11614
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "C1").WithLocation(17, 14),
11617
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "C2").WithLocation(18, 14),
11697
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "C1").WithLocation(28, 14),
11700
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "C2").WithLocation(29, 14),
11763
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "C<object>").WithLocation(13, 14),
11766
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "C<System.ICloneable>").WithLocation(14, 14),
11834
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "C<System.Delegate>").WithLocation(16, 14),
11837
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "C<System.MulticastDelegate>").WithLocation(17, 14),
Semantics\DynamicTests.cs (1)
2604
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "M").WithArguments("M", "dynamic").WithLocation(16, 17),
Semantics\IndexAndRangeTests.cs (3)
1500
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "^M").WithArguments("M", "int").WithLocation(6, 17),
1525
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "M").WithArguments("M", "System.Index").WithLocation(6, 20),
1531
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "M").WithArguments("M", "System.Index").WithLocation(10, 17),
Semantics\InterpolationTests.cs (1)
995
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "Main").WithArguments("Main", "object").WithLocation(6, 43),
Semantics\NullableReferenceTypesTests.cs (4)
2028
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "E").WithArguments("E", "object").WithLocation(23, 33),
2031
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "object").WithLocation(23, 40)
77264
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "object").WithLocation(5, 46));
77476
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "object").WithLocation(6, 18),
Semantics\SemanticAnalyzerTests.cs (2)
38
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "Main").WithArguments("Main", "System.Linq.Expressions.Expression<System.Action>")
723
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "M").WithArguments("M", "int").WithLocation(35, 18),
Semantics\SemanticErrorTests.cs (2)
10800
new ErrorDescription[] { new ErrorDescription { Code = (int)ErrorCode.
ERR_MethGrpToNonDel
, Line = 12, Column = 24 },
10801
new ErrorDescription { Code = (int)ErrorCode.
ERR_MethGrpToNonDel
, Line = 15, Column = 31 }});
Semantics\UnsafeTests.cs (1)
8237
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "Main").WithArguments("Main", "int"),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
Symbols\ConversionTests.cs (1)
2000
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "Q"),
Symbols\ExtensionMethodTests.cs (1)
1447
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "E").WithArguments("E", "object").WithLocation(5, 18));
Symbols\Source\DelegateTests.cs (1)
323
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "Main").WithArguments("Main", "System.MulticastDelegate"));