1 instantiation of AwaitExpressionInfo
Microsoft.CodeAnalysis.CSharp (1)
Compilation\MemberSemanticModel.cs (1)
929return new AwaitExpressionInfo(
31 references to AwaitExpressionInfo
Microsoft.CodeAnalysis.CSharp (11)
Compilation\AwaitExpressionInfo.cs (3)
13public readonly struct AwaitExpressionInfo : IEquatable<AwaitExpressionInfo> 33return obj is AwaitExpressionInfo otherAwait && Equals(otherAwait); 36public bool Equals(AwaitExpressionInfo other)
Compilation\CSharpSemanticModel.cs (1)
4842public abstract AwaitExpressionInfo GetAwaitExpressionInfo(AwaitExpressionSyntax node);
Compilation\MemberSemanticModel.cs (2)
915public override AwaitExpressionInfo GetAwaitExpressionInfo(AwaitExpressionSyntax node) 926return default(AwaitExpressionInfo);
Compilation\SpeculativeSemanticModelWithMemberModel.cs (1)
395public override AwaitExpressionInfo GetAwaitExpressionInfo(AwaitExpressionSyntax node)
Compilation\SyntaxTreeSemanticModel.cs (2)
2354public override AwaitExpressionInfo GetAwaitExpressionInfo(AwaitExpressionSyntax node) 2357return memberModel == null ? default(AwaitExpressionInfo) : memberModel.GetAwaitExpressionInfo(node);
CSharpExtensions.cs (2)
927public static AwaitExpressionInfo GetAwaitExpressionInfo(this SemanticModel? semanticModel, AwaitExpressionSyntax awaitExpression) 936return default(AwaitExpressionInfo);
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SemanticFacts\CSharpSemanticFacts.cs (1)
190var info = semanticModel.GetAwaitExpressionInfo(awaitExpression);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (10)
CodeGen\CodeGenAwaitUsingTests.cs (10)
2296var first = new AwaitExpressionInfo(getAwaiter1.GetPublicSymbol(), isCompleted1.GetPublicSymbol(), getResult1.GetPublicSymbol(), false); 2298var nulls1 = new AwaitExpressionInfo(null, isCompleted1.GetPublicSymbol(), getResult1.GetPublicSymbol(), false); 2299var nulls2 = new AwaitExpressionInfo(getAwaiter1.GetPublicSymbol(), null, getResult1.GetPublicSymbol(), false); 2300var nulls3 = new AwaitExpressionInfo(getAwaiter1.GetPublicSymbol(), isCompleted1.GetPublicSymbol(), null, false); 2301var nulls4 = new AwaitExpressionInfo(getAwaiter1.GetPublicSymbol(), isCompleted1.GetPublicSymbol(), null, true); 2324var second1 = new AwaitExpressionInfo(getAwaiter2.GetPublicSymbol(), isCompleted1.GetPublicSymbol(), getResult1.GetPublicSymbol(), false); 2325var second2 = new AwaitExpressionInfo(getAwaiter1.GetPublicSymbol(), isCompleted2.GetPublicSymbol(), getResult1.GetPublicSymbol(), false); 2326var second3 = new AwaitExpressionInfo(getAwaiter1.GetPublicSymbol(), isCompleted1.GetPublicSymbol(), getResult2.GetPublicSymbol(), false); 2327var second4 = new AwaitExpressionInfo(getAwaiter2.GetPublicSymbol(), isCompleted2.GetPublicSymbol(), getResult2.GetPublicSymbol(), false); 2342var another = new AwaitExpressionInfo(getAwaiter1.GetPublicSymbol(), isCompleted1.GetPublicSymbol(), getResult1.GetPublicSymbol(), false);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (8)
Semantics\AwaitExpressionTests.cs (8)
87var info = model.GetAwaitExpressionInfo(awaitExpression); 116var info = GetAwaitExpressionInfo(text); 134var info = GetAwaitExpressionInfo(text); 144AwaitExpressionInfo info = default; 152private AwaitExpressionInfo GetAwaitExpressionInfo(string text, out CSharpCompilation compilation, params DiagnosticDescription[] diagnostics) 163private AwaitExpressionInfo GetAwaitExpressionInfo(string text, params DiagnosticDescription[] diagnostics) 264var info = GetAwaitExpressionInfo(text, out compilation, 295var info = model.GetAwaitExpressionInfo(expr);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SemanticFacts\CSharpSemanticFacts.cs (1)
190var info = semanticModel.GetAwaitExpressionInfo(awaitExpression);