67 references to ERR_MethGrpToNonDel
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Statements.cs (1)
2511
errorCode = ErrorCode.
ERR_MethGrpToNonDel
;
Errors\ErrorFacts.cs (1)
881
or ErrorCode.
ERR_MethGrpToNonDel
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (9)
Attributes\AttributeTests_Conditional.cs (1)
675
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "M").WithArguments("M", "string"),
Semantics\ExtensionTests.cs (5)
17505
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "M").WithArguments("M", "int").WithLocation(7, 34));
17546
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "M").WithArguments("M", "int").WithLocation(7, 28));
17590
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "M").WithArguments("M", "int").WithLocation(7, 28));
17634
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "M").WithArguments("M", "int").WithLocation(7, 34));
24691
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "P<int>").WithArguments("P", "int").WithLocation(1, 16));
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),
Semantics\PrimaryConstructorTests.cs (1)
21405
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "p1").WithArguments("p1", "int").WithLocation(11, 17)
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),
3344
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "GetValue").WithArguments("GetValue", "object").WithLocation(6, 20),
3347
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "GetValue").WithArguments("GetValue", "object").WithLocation(7, 13),
3353
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "GetValue").WithArguments("GetValue", "object").WithLocation(10, 20),
3356
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "GetValue").WithArguments("GetValue", "object").WithLocation(11, 13),
3396
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "object").WithLocation(4, 27),
3402
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "object").WithLocation(6, 33),
3442
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "object").WithLocation(6, 30),
3448
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "object").WithLocation(6, 44));
6111
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "System.Linq.Expressions.Expression").WithLocation(10, 11)
6258
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "System.Linq.Expressions.Expression").WithLocation(9, 13),
10888
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "System.Linq.Expressions.Expression").WithLocation(11, 17)
10983
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "System.Linq.Expressions.Expression").WithLocation(11, 17)
14995
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "C1").WithLocation(18, 14)
15050
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "C1").WithLocation(17, 14),
15053
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "C2").WithLocation(18, 14),
15133
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "C1").WithLocation(28, 14),
15136
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "C2").WithLocation(29, 14),
15199
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "C<object>").WithLocation(13, 14),
15202
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "C<System.ICloneable>").WithLocation(14, 14),
15270
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "C<System.Delegate>").WithLocation(16, 14),
15273
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "C<System.MulticastDelegate>").WithLocation(17, 14),
Semantics\DynamicTests.cs (1)
2830
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "M").WithArguments("M", "dynamic").WithLocation(16, 17),
Semantics\IndexAndRangeTests.cs (3)
1501
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "^M").WithArguments("M", "int").WithLocation(6, 17),
1526
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "M").WithArguments("M", "System.Index").WithLocation(6, 20),
1532
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)
2040
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "E").WithArguments("E", "object").WithLocation(23, 33),
2043
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "object").WithLocation(23, 40)
80959
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "object").WithLocation(5, 46));
81171
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)
10804
new ErrorDescription[] { new ErrorDescription { Code = (int)ErrorCode.
ERR_MethGrpToNonDel
, Line = 12, Column = 24 },
10805
new ErrorDescription { Code = (int)ErrorCode.
ERR_MethGrpToNonDel
, Line = 15, Column = 31 }});
Semantics\UnsafeTests.cs (1)
11089
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "Main").WithArguments("Main", "int").WithLocation(10, 35),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (8)
Symbols\ConversionTests.cs (6)
481
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "Test").WithArguments("Test", "C").WithLocation(5, 17));
516
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "Test").WithArguments("Test", "C?").WithLocation(5, 18));
552
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "Test").WithArguments("Test", "C").WithLocation(6, 15));
588
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "Test").WithArguments("Test", "C?").WithLocation(6, 15));
739
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "Test").WithArguments("Test", "int").WithLocation(5, 19));
2343
Diagnostic(ErrorCode.
ERR_MethGrpToNonDel
, "F").WithArguments("F", "Q").WithLocation(53, 17),
Symbols\ExtensionMethodTests.cs (1)
1443
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"));