C# Class ICSharpCode.NRefactory.CSharp.Resolver.AwaitResolveResult

Represents the result of an await expression.
Inheritance: ResolveResult
Afficher le fichier Open project: 0xd4d/NRefactory

Méthodes publiques

Свойство Type Description
AwaiterType IType
GetAwaiterInvocation ResolveResult
GetResultMethod IMethod
IsCompletedProperty IProperty
OnCompletedMethod IMethod

Méthodes publiques

Méthode Description
AwaitResolveResult ( IType resultType, ResolveResult getAwaiterInvocation, IType awaiterType, IProperty isCompletedProperty, IMethod onCompletedMethod, IMethod getResultMethod ) : System
GetChildResults ( ) : IEnumerable

Method Details

AwaitResolveResult() public méthode

public AwaitResolveResult ( IType resultType, ResolveResult getAwaiterInvocation, IType awaiterType, IProperty isCompletedProperty, IMethod onCompletedMethod, IMethod getResultMethod ) : System
resultType IType
getAwaiterInvocation ResolveResult
awaiterType IType
isCompletedProperty IProperty
onCompletedMethod IMethod
getResultMethod IMethod
Résultat System

GetChildResults() public méthode

public GetChildResults ( ) : IEnumerable
Résultat IEnumerable

Property Details

AwaiterType public_oe property

Awaiter type. Will not be null (but can be UnknownType).
public IType AwaiterType
Résultat IType

GetAwaiterInvocation public_oe property

The method representing the GetAwaiter() call. Can be an InvocationResolveResult or a DynamicInvocationResolveResult.
public ResolveResult GetAwaiterInvocation
Résultat ResolveResult

GetResultMethod public_oe property

Method representing the GetResult method on the awaiter type. Can be null if the awaiter type or the method was not found, or when awaiting a dynamic expression.
public IMethod GetResultMethod
Résultat IMethod

IsCompletedProperty public_oe property

Property representing the IsCompleted property on the awaiter type. Can be null if the awaiter type or the property was not found, or when awaiting a dynamic expression.
public IProperty IsCompletedProperty
Résultat IProperty

OnCompletedMethod public_oe property

Method representing the OnCompleted method on the awaiter type. Can be null if the awaiter type or the method was not found, or when awaiting a dynamic expression. This can also refer to an UnsafeOnCompleted method, if the awaiter type implements System.Runtime.CompilerServices.ICriticalNotifyCompletion.
public IMethod OnCompletedMethod
Résultat IMethod