C# Class Pchp.CodeAnalysis.Symbols.SynthesizedParameterSymbol

Represents a simple compiler generated parameter of a given type.
Inheritance: ParameterSymbol
ファイルを表示 Open project: iolevel/peachpie Class Usage Examples

Private Properties

Property Type Description
DeriveParameters ImmutableArray

Public Methods

Method Description
SynthesizedParameterSymbol ( MethodSymbol container, TypeSymbol type, int ordinal, RefKind refKind, string name = "", ImmutableArray customModifiers = default(ImmutableArray<CustomModifier>), ushort countOfCustomModifiersPrecedingByRef, ConstantValue explicitDefaultConstantValue = null ) : Microsoft.CodeAnalysis

Private Methods

Method Description
DeriveParameters ( MethodSymbol sourceMethod, MethodSymbol destinationMethod ) : ImmutableArray

For each parameter of a source method, construct a corresponding synthesized parameter for a destination method.

Method Details

SynthesizedParameterSymbol() public method

public SynthesizedParameterSymbol ( MethodSymbol container, TypeSymbol type, int ordinal, RefKind refKind, string name = "", ImmutableArray customModifiers = default(ImmutableArray<CustomModifier>), ushort countOfCustomModifiersPrecedingByRef, ConstantValue explicitDefaultConstantValue = null ) : Microsoft.CodeAnalysis
container MethodSymbol
type TypeSymbol
ordinal int
refKind RefKind
name string
customModifiers ImmutableArray
countOfCustomModifiersPrecedingByRef ushort
explicitDefaultConstantValue ConstantValue
return Microsoft.CodeAnalysis