Interface IMethodSymbol
Assembly: Microsoft.CodeAnalysis.dll
Syntax
public interface IMethodSymbol : ISymbol, IEquatable<ISymbol?>
Properties
Arity
Declaration
Property Value
AssociatedAnonymousDelegate
Declaration
INamedTypeSymbol? AssociatedAnonymousDelegate { get; }
Property Value
AssociatedSymbol
Declaration
ISymbol? AssociatedSymbol { get; }
Property Value
CallingConvention
Declaration
SignatureCallingConvention CallingConvention { get; }
Property Value
ConstructedFrom
Declaration
IMethodSymbol ConstructedFrom { get; }
Property Value
ExplicitInterfaceImplementations
Declaration
ImmutableArray<IMethodSymbol> ExplicitInterfaceImplementations { get; }
Property Value
HidesBaseMethodsByName
Declaration
bool HidesBaseMethodsByName { get; }
Property Value
IsAsync
Declaration
Property Value
IsCheckedBuiltin
Declaration
bool IsCheckedBuiltin { get; }
Property Value
IsConditional
Declaration
bool IsConditional { get; }
Property Value
IsExtensionMethod
Declaration
bool IsExtensionMethod { get; }
Property Value
IsGenericMethod
Declaration
bool IsGenericMethod { get; }
Property Value
IsInitOnly
Declaration
Property Value
IsPartialDefinition
Declaration
bool IsPartialDefinition { get; }
Property Value
IsReadOnly
Declaration
Property Value
IsVararg
Declaration
Property Value
MethodImplementationFlags
Declaration
MethodImplAttributes MethodImplementationFlags { get; }
Property Value
MethodKind
Declaration
MethodKind MethodKind { get; }
Property Value
OriginalDefinition
Declaration
IMethodSymbol OriginalDefinition { get; }
Property Value
OverriddenMethod
Declaration
IMethodSymbol? OverriddenMethod { get; }
Property Value
Parameters
Declaration
ImmutableArray<IParameterSymbol> Parameters { get; }
Property Value
PartialDefinitionPart
Declaration
IMethodSymbol? PartialDefinitionPart { get; }
Property Value
PartialImplementationPart
Declaration
IMethodSymbol? PartialImplementationPart { get; }
Property Value
ReceiverNullableAnnotation
Declaration
NullableAnnotation ReceiverNullableAnnotation { get; }
Property Value
ReceiverType
Declaration
ITypeSymbol? ReceiverType { get; }
Property Value
ReducedFrom
Declaration
IMethodSymbol? ReducedFrom { get; }
Property Value
RefCustomModifiers
Declaration
ImmutableArray<CustomModifier> RefCustomModifiers { get; }
Property Value
RefKind
Declaration
Property Value
ReturnNullableAnnotation
Declaration
NullableAnnotation ReturnNullableAnnotation { get; }
Property Value
ReturnType
Declaration
ITypeSymbol ReturnType { get; }
Property Value
ReturnTypeCustomModifiers
Declaration
ImmutableArray<CustomModifier> ReturnTypeCustomModifiers { get; }
Property Value
ReturnsByRef
Declaration
bool ReturnsByRef { get; }
Property Value
ReturnsByRefReadonly
Declaration
bool ReturnsByRefReadonly { get; }
Property Value
ReturnsVoid
Declaration
bool ReturnsVoid { get; }
Property Value
TypeArgumentNullableAnnotations
Declaration
ImmutableArray<NullableAnnotation> TypeArgumentNullableAnnotations { get; }
Property Value
TypeArguments
Declaration
ImmutableArray<ITypeSymbol> TypeArguments { get; }
Property Value
TypeParameters
Declaration
ImmutableArray<ITypeParameterSymbol> TypeParameters { get; }
Property Value
UnmanagedCallingConventionTypes
Declaration
ImmutableArray<INamedTypeSymbol> UnmanagedCallingConventionTypes { get; }
Property Value
Methods
Construct(params ITypeSymbol[])
Declaration
IMethodSymbol Construct(params ITypeSymbol[] typeArguments)
Parameters
Returns
Construct(ImmutableArray<ITypeSymbol>, ImmutableArray<NullableAnnotation>)
Declaration
IMethodSymbol Construct(ImmutableArray<ITypeSymbol> typeArguments, ImmutableArray<NullableAnnotation> typeArgumentNullableAnnotations)
Parameters
Returns
GetDllImportData()
Declaration
DllImportData? GetDllImportData()
Returns
GetReturnTypeAttributes()
Declaration
ImmutableArray<AttributeData> GetReturnTypeAttributes()
Returns
GetTypeInferredDuringReduction(ITypeParameterSymbol)
Declaration
ITypeSymbol? GetTypeInferredDuringReduction(ITypeParameterSymbol reducedFromTypeParameter)
Parameters
Returns
ReduceExtensionMethod(ITypeSymbol)
Declaration
IMethodSymbol? ReduceExtensionMethod(ITypeSymbol receiverType)
Parameters
Returns
Extension Methods