1 write to GetResultMethod
Microsoft.CodeAnalysis.CSharp (1)
Compilation\AwaitExpressionInfo.cs (1)
45GetResultMethod = getResult;
12 references to GetResultMethod
Microsoft.CodeAnalysis.CSharp (4)
Compilation\AwaitExpressionInfo.cs (4)
29/// <see cref="IsCompletedProperty" />, and <see cref="GetResultMethod" /> will be 59&& object.Equals(this.GetResultMethod, other.GetResultMethod) 66return Hash.Combine(GetAwaiterMethod, Hash.Combine(IsCompletedProperty, Hash.Combine(GetResultMethod, Hash.Combine(RuntimeAwaitMethod, IsDynamic.GetHashCode()))));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (8)
Semantics\AwaitExpressionTests.cs (8)
94info.GetResultMethod.ToTestDisplayString() 119Assert.Equal("System.Int32 System.Runtime.CompilerServices.TaskAwaiter<System.Int32>.GetResult()", info.GetResultMethod.ToTestDisplayString()); 253Assert.Equal("System.Int32 System.Runtime.CompilerServices.TaskAwaiter<System.Int32>.GetResult()", info.GetResultMethod.ToTestDisplayString()); 279Assert.Null(info.GetResultMethod); 305AssertEx.Equal("void System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter.GetResult()", info.GetResultMethod.ToTestDisplayString()); 318Assert.Null(info.GetResultMethod); 443Assert.Equal("System.Int32 System.Runtime.CompilerServices.TaskAwaiter<System.Int32>.GetResult()", info.GetResultMethod.ToTestDisplayString()); 472Assert.Null(info.GetResultMethod);