Class ArgumentMap
The arguments of a call mapped to the parameters of the procedure it calls (Map(ImmutableArray<VBParameterSymbol>, ImmutableArray<ExpressionNode>)).
public sealed record ArgumentMap : IEquatable<ArgumentMap>
- Inheritance
-
ArgumentMap
- Implements
- Inherited Members
Constructors
ArgumentMap(ExpressionNode?[]?, ImmutableArray<ExpressionNode>, ArgumentMappingError, ExpressionNode?)
The arguments of a call mapped to the parameters of the procedure it calls (Map(ImmutableArray<VBParameterSymbol>, ImmutableArray<ExpressionNode>)).
public ArgumentMap(ExpressionNode?[]? Mapped, ImmutableArray<ExpressionNode> ParamArrayArguments, ArgumentMappingError Error, ExpressionNode? ErrorAt)
Parameters
MappedExpressionNode[]The argument each parameter is given, by the parameter's position - the value of a named argument; null for a parameter given none, or when
Erroris not None.ParamArrayArgumentsImmutableArray<ExpressionNode>The positional arguments a trailing
ParamArrayparameter collects.ErrorArgumentMappingErrorWhat went wrong, if anything did.
ErrorAtExpressionNodeThe argument that is wrong, when one is.
Properties
Error
What went wrong, if anything did.
public ArgumentMappingError Error { get; init; }
Property Value
ErrorAt
The argument that is wrong, when one is.
public ExpressionNode? ErrorAt { get; init; }
Property Value
Mapped
The argument each parameter is given, by the parameter's position - the value of a named argument; null for a parameter
given none, or when Error is not None.
public ExpressionNode?[]? Mapped { get; init; }
Property Value
ParamArrayArguments
The positional arguments a trailing ParamArray parameter collects.
public ImmutableArray<ExpressionNode> ParamArrayArguments { get; init; }