Class InvocationResolveResult
- Namespace
- ICSharpCode.Decompiler.Semantics
- Assembly
- ICSharpCode.Decompiler.dll
Represents the result of a method, constructor or indexer invocation.
public class InvocationResolveResult : MemberResolveResult
- Inheritance
-
InvocationResolveResult
- Derived
- Inherited Members
- Extension Methods
Constructors
InvocationResolveResult(ResolveResult, IParameterizedMember, IList<ResolveResult>, IList<ResolveResult>, IType)
public InvocationResolveResult(ResolveResult targetResult, IParameterizedMember member, IList<ResolveResult> arguments = null, IList<ResolveResult> initializerStatements = null, IType returnTypeOverride = null)
Parameters
targetResult
ResolveResultmember
IParameterizedMemberarguments
IList<ResolveResult>initializerStatements
IList<ResolveResult>returnTypeOverride
IType
Fields
Arguments
Gets the arguments that are being passed to the method, in the order the arguments are being evaluated.
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.
public readonly IList<ResolveResult> InitializerStatements
Field Value
Properties
Member
public IParameterizedMember Member { get; }
Property Value
Methods
GetArgumentsForCall()
Gets the arguments in the order they are being passed to the method. For parameter arrays (params), this will return an ArrayCreateResolveResult.
public virtual IList<ResolveResult> GetArgumentsForCall()
Returns
GetChildResults()
public override IEnumerable<ResolveResult> GetChildResults()