Class DynamicInvocationResolveResult
- Namespace
- ICSharpCode.Decompiler.CSharp.Resolver
- Assembly
- ICSharpCode.Decompiler.dll
Represents the result of an invocation of a member of a dynamic object.
public class DynamicInvocationResolveResult : ResolveResult
- Inheritance
-
DynamicInvocationResolveResult
- Inherited Members
- Extension Methods
Constructors
DynamicInvocationResolveResult(ResolveResult, DynamicInvocationType, IList<ResolveResult>, IList<ResolveResult>)
public DynamicInvocationResolveResult(ResolveResult target, DynamicInvocationType invocationType, IList<ResolveResult> arguments, IList<ResolveResult> initializerStatements = null)
Parameters
target
ResolveResultinvocationType
DynamicInvocationTypearguments
IList<ResolveResult>initializerStatements
IList<ResolveResult>
Fields
Arguments
Arguments for the call. Named arguments will be instances of NamedArgumentResolveResult.
public readonly IList<ResolveResult> Arguments
Field Value
InitializerStatements
Gets the list of initializer statements that are appplied to the result of this invocation. This is used to represent object and collection initializers. With the initializer statements, the InitializedObjectResolveResult is used to refer to the result of this invocation. Initializer statements can only exist if the InvocationType is ObjectCreation.
public readonly IList<ResolveResult> InitializerStatements
Field Value
InvocationType
Type of the invocation.
public readonly DynamicInvocationType InvocationType
Field Value
Target
Target of the invocation. Can be a dynamic expression or a MethodGroupResolveResult.
public readonly ResolveResult Target
Field Value
Methods
ToString()
public override string ToString()