18 references to ERR_QueryNoProvider
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder_Conversions.cs (1)
2699
diagnostics.Add(ErrorCode.
ERR_QueryNoProvider
, node.Location, receiverOpt.Type, memberSymbol.Name);
Binder\Binder_Query.cs (2)
956
diagnostics.Add(ErrorCode.
ERR_QueryNoProvider
, node.Location, MessageID.IDS_AnonMethod.Localize(), methodName);
978
diagnostics.Add(ErrorCode.
ERR_QueryNoProvider
, node.Location, "void", methodName);
Binder\Binder_QueryErrors.cs (1)
72
ErrorCode.
ERR_QueryNoProvider
,
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (1)
662
diagnostics.Add(ErrorCode.
ERR_QueryNoProvider
, location, receiverOpt.Type, symbol.Name);
Errors\ErrorFacts.cs (1)
1431
or ErrorCode.
ERR_QueryNoProvider
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (12)
Semantics\NullableReferenceTypesTests.cs (1)
1483
Diagnostic(ErrorCode.
ERR_QueryNoProvider
, "select x").WithArguments("anonymous method", "Select").WithLocation(10, 33),
Semantics\QueryTests.cs (9)
2578
Diagnostic(ErrorCode.
ERR_QueryNoProvider
, "numbers.Single()").WithArguments("int", "OrderBy")
3088
Diagnostic(ErrorCode.
ERR_QueryNoProvider
, "list").WithArguments("System.Collections.ArrayList", "Select").WithLocation(10, 41)
3254
Diagnostic(ErrorCode.
ERR_QueryNoProvider
, "select x").WithArguments("anonymous method", "Select").WithLocation(7, 44)
3772
Diagnostic(ErrorCode.
ERR_QueryNoProvider
, "select a + 1").WithArguments("Test", "Select").WithLocation(6, 34)
3811
Diagnostic(ErrorCode.
ERR_QueryNoProvider
, "where a > 0").WithArguments("Test", "Where").WithLocation(7, 34)
3851
Diagnostic(ErrorCode.
ERR_QueryNoProvider
, "select a + 1").WithArguments("Test", "Select").WithLocation(6, 34),
3854
Diagnostic(ErrorCode.
ERR_QueryNoProvider
, "where a > 0").WithArguments("Test", "Where").WithLocation(7, 34)
4456
Diagnostic(ErrorCode.
ERR_QueryNoProvider
, "select 4").WithArguments("System.Collections.Generic.IEnumerable<int>", "Select").WithLocation(14, 49),
4468
Diagnostic(ErrorCode.
ERR_QueryNoProvider
, "T").WithArguments("T", "Select").WithLocation(17, 32)
Semantics\SemanticErrorTests.cs (2)
17279
Diagnostic(ErrorCode.
ERR_QueryNoProvider
, "obj").WithArguments("object", "Select"));
17302
Diagnostic(ErrorCode.
ERR_QueryNoProvider
, "xx").WithArguments("X", "Select")