1 write to GetResultMethod
Microsoft.CodeAnalysis.CSharp (1)
Compilation\AwaitExpressionInfo.cs (1)
27
GetResultMethod
= getResult;
9 references to GetResultMethod
Microsoft.CodeAnalysis.CSharp (3)
Compilation\AwaitExpressionInfo.cs (3)
40
&& object.Equals(this.
GetResultMethod
, other.
GetResultMethod
)
46
return Hash.Combine(GetAwaiterMethod, Hash.Combine(IsCompletedProperty, Hash.Combine(
GetResultMethod
, IsDynamic.GetHashCode())));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
Semantics\AwaitExpressionTests.cs (6)
94
info.
GetResultMethod
.ToTestDisplayString()
118
Assert.Equal("System.Int32 System.Runtime.CompilerServices.TaskAwaiter<System.Int32>.GetResult()", info.
GetResultMethod
.ToTestDisplayString());
136
Assert.Equal("System.Int32 System.Runtime.CompilerServices.TaskAwaiter<System.Int32>.GetResult()", info.
GetResultMethod
.ToTestDisplayString());
146
Assert.Null(info.
GetResultMethod
);
270
Assert.Equal("System.Int32 System.Runtime.CompilerServices.TaskAwaiter<System.Int32>.GetResult()", info.
GetResultMethod
.ToTestDisplayString());
299
Assert.Null(info.
GetResultMethod
);