1 write to GetResultMethod
Microsoft.CodeAnalysis.CSharp (1)
Compilation\AwaitExpressionInfo.cs (1)
45
GetResultMethod
= 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
)
66
return Hash.Combine(GetAwaiterMethod, Hash.Combine(IsCompletedProperty, Hash.Combine(
GetResultMethod
, Hash.Combine(RuntimeAwaitMethod, IsDynamic.GetHashCode()))));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (8)
Semantics\AwaitExpressionTests.cs (8)
94
info.
GetResultMethod
.ToTestDisplayString()
119
Assert.Equal("System.Int32 System.Runtime.CompilerServices.TaskAwaiter<System.Int32>.GetResult()", info.
GetResultMethod
.ToTestDisplayString());
253
Assert.Equal("System.Int32 System.Runtime.CompilerServices.TaskAwaiter<System.Int32>.GetResult()", info.
GetResultMethod
.ToTestDisplayString());
279
Assert.Null(info.
GetResultMethod
);
305
AssertEx.Equal("void System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter.GetResult()", info.
GetResultMethod
.ToTestDisplayString());
318
Assert.Null(info.
GetResultMethod
);
443
Assert.Equal("System.Int32 System.Runtime.CompilerServices.TaskAwaiter<System.Int32>.GetResult()", info.
GetResultMethod
.ToTestDisplayString());
472
Assert.Null(info.
GetResultMethod
);