C# Class Pchp.CodeAnalysis.Symbols.MethodSymbol

Represents a method or method-like symbol (including constructor, destructor, operator, or property/event accessor).
Inheritance: Symbol, IMethodSymbol, IPhpRoutineSymbol
Afficher le fichier Open project: iolevel/peachpie Class Usage Examples

Private Properties

Свойство Type Description
AsMember MethodSymbol
Cci Microsoft.Cci.IDefinition
Cci IEnumerable
Cci Microsoft.Cci.IMethodBody
Cci Microsoft.Cci.IMethodDefinition
Cci Microsoft.Cci.IMethodReference
Cci Microsoft.Cci.ITypeReference
Cci ImmutableArray
Cci void
EnumerateDefinitionParameters ImmutableArray
GetReturnValueCustomAttributesToEmit IEnumerable
IMethodSymbol IMethodSymbol
IsMetadataNewSlot bool
IsMetadataVirtual bool
ResolvedMethodImpl Microsoft.Cci.IMethodDefinition
TypeParametersMatchTypeArguments bool

Méthodes publiques

Méthode Description
Construct ( ) : MethodSymbol
Construct ( ImmutableArray typeArguments ) : MethodSymbol

Apply type substitution to a generic method to create an method symbol with the given type parameters supplied.

GetDllImportData ( ) : DllImportData
GetImplementationAttributes ( EmitContext context ) : System.Reflection.MethodImplAttributes
GetReturnTypeAttributes ( ) : ImmutableArray
GetTypeInferredDuringReduction ( ITypeParameterSymbol reducedFromTypeParameter ) : ITypeSymbol
ReduceExtensionMethod ( ITypeSymbol receiverType ) : IMethodSymbol

Private Methods

Méthode Description
AsMember ( NamedTypeSymbol newOwner ) : MethodSymbol
Cci ( EmitContext context ) : Microsoft.Cci.IDefinition
Cci ( EmitContext context ) : IEnumerable
Cci ( EmitContext context ) : Microsoft.Cci.IMethodBody
Cci ( EmitContext context ) : Microsoft.Cci.IMethodDefinition
Cci ( EmitContext context ) : Microsoft.Cci.IMethodReference
Cci ( EmitContext context ) : Microsoft.Cci.ITypeReference
Cci ( EmitContext context ) : ImmutableArray
Cci ( Microsoft.Cci visitor ) : void
EnumerateDefinitionParameters ( ) : ImmutableArray
GetReturnValueCustomAttributesToEmit ( ) : IEnumerable
IMethodSymbol ( ) : IMethodSymbol
IsMetadataNewSlot ( bool ignoreInterfaceImplementationChanges = false ) : bool

This method indicates whether or not the runtime will regard the method as newslot (as indicated by the presence of the "newslot" modifier in the signature). WARN WARN WARN: We won't have a final value for this until declaration diagnostics have been computed for all symbols, so pass ignoringInterfaceImplementationChanges: true if you need a value sooner and aren't concerned about tweaks made to satisfy interface implementation requirements. NOTE: Not ignoring changes can only result in a value that is more true.

IsMetadataVirtual ( bool ignoreInterfaceImplementationChanges = false ) : bool

This method indicates whether or not the runtime will regard the method as virtual (as indicated by the presence of the "virtual" modifier in the signature). WARN WARN WARN: We won't have a final value for this until declaration diagnostics have been computed for all symbols, so pass ignoringInterfaceImplementationChanges: true if you need a value sooner and aren't concerned about tweaks made to satisfy interface implementation requirements. NOTE: Not ignoring changes can only result in a value that is more true.

ResolvedMethodImpl ( EmitContext context ) : Microsoft.Cci.IMethodDefinition
TypeParametersMatchTypeArguments ( ImmutableArray typeParameters, ImmutableArray typeArguments ) : bool

Method Details

Construct() public méthode

public Construct ( ) : MethodSymbol
Résultat MethodSymbol

Construct() public méthode

Apply type substitution to a generic method to create an method symbol with the given type parameters supplied.
public Construct ( ImmutableArray typeArguments ) : MethodSymbol
typeArguments ImmutableArray
Résultat MethodSymbol

GetDllImportData() public méthode

public GetDllImportData ( ) : DllImportData
Résultat DllImportData

GetImplementationAttributes() public méthode

public GetImplementationAttributes ( EmitContext context ) : System.Reflection.MethodImplAttributes
context EmitContext
Résultat System.Reflection.MethodImplAttributes

GetReturnTypeAttributes() public méthode

public GetReturnTypeAttributes ( ) : ImmutableArray
Résultat ImmutableArray

GetTypeInferredDuringReduction() public méthode

public GetTypeInferredDuringReduction ( ITypeParameterSymbol reducedFromTypeParameter ) : ITypeSymbol
reducedFromTypeParameter ITypeParameterSymbol
Résultat ITypeSymbol

ReduceExtensionMethod() public méthode

public ReduceExtensionMethod ( ITypeSymbol receiverType ) : IMethodSymbol
receiverType ITypeSymbol
Résultat IMethodSymbol