C# Класс Pchp.CodeAnalysis.Symbols.MethodSymbol

Represents a method or method-like symbol (including constructor, destructor, operator, or property/event accessor).
Наследование: Symbol, IMethodSymbol, IPhpRoutineSymbol
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
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

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

Construct() публичный Метод

public Construct ( ) : MethodSymbol
Результат MethodSymbol

Construct() публичный Метод

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
Результат MethodSymbol

GetDllImportData() публичный Метод

public GetDllImportData ( ) : DllImportData
Результат DllImportData

GetImplementationAttributes() публичный Метод

public GetImplementationAttributes ( EmitContext context ) : System.Reflection.MethodImplAttributes
context EmitContext
Результат System.Reflection.MethodImplAttributes

GetReturnTypeAttributes() публичный Метод

public GetReturnTypeAttributes ( ) : ImmutableArray
Результат ImmutableArray

GetTypeInferredDuringReduction() публичный Метод

public GetTypeInferredDuringReduction ( ITypeParameterSymbol reducedFromTypeParameter ) : ITypeSymbol
reducedFromTypeParameter ITypeParameterSymbol
Результат ITypeSymbol

ReduceExtensionMethod() публичный Метод

public ReduceExtensionMethod ( ITypeSymbol receiverType ) : IMethodSymbol
receiverType ITypeSymbol
Результат IMethodSymbol