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