Represents a parameter of a method or property.
Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
Syntax
public interface IParameter : INamedDeclaration, IDeclaration, IDisplayable, IDiagnosticLocation, ICompilationElement, IMeasurable, IEquatable<IDeclaration>, IExpression, IHasType
Properties
Name | Description |
---|---|
DeclaringMember | Gets the parent IMethod, IConstructor or IIndexer. |
DefaultValue | |
Index | Gets the parameter position, or |
IsParams | Gets a value indicating whether the parameter has the |
IsReturnParameter |
Methods
Name | Description |
---|---|
ToParameterInfo() | Gets a ParameterInfo that represents the current parameter at run time. |
ToRef() |