41 references to QueryClauseInfo
Microsoft.CodeAnalysis.CSharp (13)
Compilation\CSharpSemanticModel.cs (1)
1162public abstract QueryClauseInfo GetQueryClauseInfo(QueryClauseSyntax node, CancellationToken cancellationToken = default(CancellationToken));
Compilation\MemberSemanticModel.cs (3)
1039private QueryClauseInfo GetQueryClauseInfo(BoundQueryClause bound) 1041if (bound == null) return default(QueryClauseInfo); 1066public override QueryClauseInfo GetQueryClauseInfo(QueryClauseSyntax node, CancellationToken cancellationToken = default(CancellationToken))
Compilation\QueryClauseInfo.cs (4)
13public readonly struct QueryClauseInfo : IEquatable<QueryClauseInfo> 53return obj is QueryClauseInfo && Equals((QueryClauseInfo)obj); 56public bool Equals(QueryClauseInfo other)
Compilation\SpeculativeSemanticModelWithMemberModel.cs (1)
420public override QueryClauseInfo GetQueryClauseInfo(QueryClauseSyntax node, CancellationToken cancellationToken = default(CancellationToken))
Compilation\SyntaxTreeSemanticModel.cs (2)
424public override QueryClauseInfo GetQueryClauseInfo(QueryClauseSyntax node, CancellationToken cancellationToken = default(CancellationToken)) 428return (model == null) ? default(QueryClauseInfo) : model.GetQueryClauseInfo(node, cancellationToken);
CSharpExtensions.cs (2)
1011public static QueryClauseInfo GetQueryClauseInfo(this SemanticModel? semanticModel, QueryClauseSyntax node, CancellationToken cancellationToken = default(CancellationToken)) 1020return default(QueryClauseInfo);
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
808var info = semanticModel.GetQueryClauseInfo(queryClause, cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SemanticFacts\CSharpSemanticFacts.cs (1)
324var queryInfo = semanticModel.GetQueryClauseInfo(queryClauseSyntax, cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\SpeculationAnalyzer.cs (2)
735var originalClauseInfo = this.OriginalSemanticModel.GetQueryClauseInfo(originalClause, this.CancellationToken); 736var newClauseInfo = this.SpeculativeSemanticModel.GetQueryClauseInfo(newClause, this.CancellationToken);
Microsoft.CodeAnalysis.CSharp.Features (1)
AddImport\CSharpAddImportFeatureService.cs (1)
273private static bool InfoBoundSuccessfully(QueryClauseInfo semanticInfo)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (17)
Semantics\QueryTests.cs (17)
1457var info0 = model.GetQueryClauseInfo(q.FromClause); 1465var info1 = model.GetQueryClauseInfo(q.Body.Clauses[0]); 1473var info2 = model.GetQueryClauseInfo(q.Body.Clauses[1]); 1666var info0 = model.GetQueryClauseInfo(q.FromClause); 1674var info1 = model.GetQueryClauseInfo(q.Body.Clauses[0]); 1682var info2 = model.GetQueryClauseInfo(q.Body.Clauses[1]); 1726var info0 = model.GetQueryClauseInfo(q.FromClause); 1731var info1 = model.GetQueryClauseInfo(q.Body.Clauses[0]); 1764var info0 = model.GetQueryClauseInfo(q.FromClause); 1770var info1 = model.GetQueryClauseInfo(q.Body.Clauses[0]); 2389var queryInfoForFrom1 = semanticModel.GetQueryClauseInfo(fromClause1); 2390var queryInfoForFrom2 = semanticModel.GetQueryClauseInfo(fromClause2); 2900var info0 = model.GetQueryClauseInfo(q.FromClause); 2933var info0 = model.GetQueryClauseInfo(q.FromClause); 3164var queryInfo = model.GetQueryClauseInfo(joinNode); 3428var info0 = speculativeModel.GetQueryClauseInfo(q.FromClause); 3433var info1 = speculativeModel.GetQueryClauseInfo(q.Body.Clauses[0]);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Compilation\QueryClauseInfoTests.cs (2)
24EqualityTesting.AssertEqual(default(QueryClauseInfo), default(QueryClauseInfo));
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
808var info = semanticModel.GetQueryClauseInfo(queryClause, cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SemanticFacts\CSharpSemanticFacts.cs (1)
324var queryInfo = semanticModel.GetQueryClauseInfo(queryClauseSyntax, cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\SpeculationAnalyzer.cs (2)
735var originalClauseInfo = this.OriginalSemanticModel.GetQueryClauseInfo(originalClause, this.CancellationToken); 736var newClauseInfo = this.SpeculativeSemanticModel.GetQueryClauseInfo(newClause, this.CancellationToken);