Search Results for

    Show / Hide Table of Contents

    Interface IMethodSymbol

    Inherited Members
    ISymbol.GetAttributes()
    ISymbol.Accept(SymbolVisitor)
    ISymbol.Accept<TResult>(SymbolVisitor<TResult>)
    ISymbol.Accept<TArgument, TResult>(SymbolVisitor<TArgument, TResult>, TArgument)
    ISymbol.GetDocumentationCommentId()
    ISymbol.GetDocumentationCommentXml(CultureInfo, bool, CancellationToken)
    ISymbol.ToDisplayString(SymbolDisplayFormat)
    ISymbol.ToDisplayParts(SymbolDisplayFormat)
    ISymbol.ToMinimalDisplayString(SemanticModel, int, SymbolDisplayFormat)
    ISymbol.ToMinimalDisplayParts(SemanticModel, int, SymbolDisplayFormat)
    ISymbol.Equals(ISymbol, SymbolEqualityComparer)
    ISymbol.Kind
    ISymbol.Language
    ISymbol.Name
    ISymbol.MetadataName
    ISymbol.MetadataToken
    ISymbol.ContainingSymbol
    ISymbol.ContainingAssembly
    ISymbol.ContainingModule
    ISymbol.ContainingType
    ISymbol.ContainingNamespace
    ISymbol.IsDefinition
    ISymbol.IsStatic
    ISymbol.IsVirtual
    ISymbol.IsOverride
    ISymbol.IsAbstract
    ISymbol.IsSealed
    ISymbol.IsExtern
    ISymbol.IsImplicitlyDeclared
    ISymbol.CanBeReferencedByName
    ISymbol.Locations
    ISymbol.DeclaringSyntaxReferences
    ISymbol.DeclaredAccessibility
    ISymbol.HasUnsupportedMetadata
    IEquatable<ISymbol>.Equals(ISymbol)
    Namespace: Microsoft.CodeAnalysis
    Assembly: Microsoft.CodeAnalysis.dll
    Syntax
    public interface IMethodSymbol : ISymbol, IEquatable<ISymbol?>

    Properties

    Arity

    Declaration
    int Arity { get; }
    Property Value
    Type Description
    int

    AssociatedAnonymousDelegate

    Declaration
    INamedTypeSymbol? AssociatedAnonymousDelegate { get; }
    Property Value
    Type Description
    INamedTypeSymbol

    AssociatedSymbol

    Declaration
    ISymbol? AssociatedSymbol { get; }
    Property Value
    Type Description
    ISymbol

    CallingConvention

    Declaration
    SignatureCallingConvention CallingConvention { get; }
    Property Value
    Type Description
    SignatureCallingConvention

    ConstructedFrom

    Declaration
    IMethodSymbol ConstructedFrom { get; }
    Property Value
    Type Description
    IMethodSymbol

    ExplicitInterfaceImplementations

    Declaration
    ImmutableArray<IMethodSymbol> ExplicitInterfaceImplementations { get; }
    Property Value
    Type Description
    ImmutableArray<IMethodSymbol>

    HidesBaseMethodsByName

    Declaration
    bool HidesBaseMethodsByName { get; }
    Property Value
    Type Description
    bool

    IsAsync

    Declaration
    bool IsAsync { get; }
    Property Value
    Type Description
    bool

    IsCheckedBuiltin

    Declaration
    bool IsCheckedBuiltin { get; }
    Property Value
    Type Description
    bool

    IsConditional

    Declaration
    bool IsConditional { get; }
    Property Value
    Type Description
    bool

    IsExtensionMethod

    Declaration
    bool IsExtensionMethod { get; }
    Property Value
    Type Description
    bool

    IsGenericMethod

    Declaration
    bool IsGenericMethod { get; }
    Property Value
    Type Description
    bool

    IsInitOnly

    Declaration
    bool IsInitOnly { get; }
    Property Value
    Type Description
    bool

    IsPartialDefinition

    Declaration
    bool IsPartialDefinition { get; }
    Property Value
    Type Description
    bool

    IsReadOnly

    Declaration
    bool IsReadOnly { get; }
    Property Value
    Type Description
    bool

    IsVararg

    Declaration
    bool IsVararg { get; }
    Property Value
    Type Description
    bool

    MethodImplementationFlags

    Declaration
    MethodImplAttributes MethodImplementationFlags { get; }
    Property Value
    Type Description
    MethodImplAttributes

    MethodKind

    Declaration
    MethodKind MethodKind { get; }
    Property Value
    Type Description
    MethodKind

    OriginalDefinition

    Declaration
    IMethodSymbol OriginalDefinition { get; }
    Property Value
    Type Description
    IMethodSymbol

    OverriddenMethod

    Declaration
    IMethodSymbol? OverriddenMethod { get; }
    Property Value
    Type Description
    IMethodSymbol

    Parameters

    Declaration
    ImmutableArray<IParameterSymbol> Parameters { get; }
    Property Value
    Type Description
    ImmutableArray<IParameterSymbol>

    PartialDefinitionPart

    Declaration
    IMethodSymbol? PartialDefinitionPart { get; }
    Property Value
    Type Description
    IMethodSymbol

    PartialImplementationPart

    Declaration
    IMethodSymbol? PartialImplementationPart { get; }
    Property Value
    Type Description
    IMethodSymbol

    ReceiverNullableAnnotation

    Declaration
    NullableAnnotation ReceiverNullableAnnotation { get; }
    Property Value
    Type Description
    NullableAnnotation

    ReceiverType

    Declaration
    ITypeSymbol? ReceiverType { get; }
    Property Value
    Type Description
    ITypeSymbol

    ReducedFrom

    Declaration
    IMethodSymbol? ReducedFrom { get; }
    Property Value
    Type Description
    IMethodSymbol

    RefCustomModifiers

    Declaration
    ImmutableArray<CustomModifier> RefCustomModifiers { get; }
    Property Value
    Type Description
    ImmutableArray<CustomModifier>

    RefKind

    Declaration
    RefKind RefKind { get; }
    Property Value
    Type Description
    RefKind

    ReturnNullableAnnotation

    Declaration
    NullableAnnotation ReturnNullableAnnotation { get; }
    Property Value
    Type Description
    NullableAnnotation

    ReturnType

    Declaration
    ITypeSymbol ReturnType { get; }
    Property Value
    Type Description
    ITypeSymbol

    ReturnTypeCustomModifiers

    Declaration
    ImmutableArray<CustomModifier> ReturnTypeCustomModifiers { get; }
    Property Value
    Type Description
    ImmutableArray<CustomModifier>

    ReturnsByRef

    Declaration
    bool ReturnsByRef { get; }
    Property Value
    Type Description
    bool

    ReturnsByRefReadonly

    Declaration
    bool ReturnsByRefReadonly { get; }
    Property Value
    Type Description
    bool

    ReturnsVoid

    Declaration
    bool ReturnsVoid { get; }
    Property Value
    Type Description
    bool

    TypeArgumentNullableAnnotations

    Declaration
    ImmutableArray<NullableAnnotation> TypeArgumentNullableAnnotations { get; }
    Property Value
    Type Description
    ImmutableArray<NullableAnnotation>

    TypeArguments

    Declaration
    ImmutableArray<ITypeSymbol> TypeArguments { get; }
    Property Value
    Type Description
    ImmutableArray<ITypeSymbol>

    TypeParameters

    Declaration
    ImmutableArray<ITypeParameterSymbol> TypeParameters { get; }
    Property Value
    Type Description
    ImmutableArray<ITypeParameterSymbol>

    UnmanagedCallingConventionTypes

    Declaration
    ImmutableArray<INamedTypeSymbol> UnmanagedCallingConventionTypes { get; }
    Property Value
    Type Description
    ImmutableArray<INamedTypeSymbol>

    Methods

    Construct(params ITypeSymbol[])

    Declaration
    IMethodSymbol Construct(params ITypeSymbol[] typeArguments)
    Parameters
    Type Name Description
    ITypeSymbol[] typeArguments
    Returns
    Type Description
    IMethodSymbol

    Construct(ImmutableArray<ITypeSymbol>, ImmutableArray<NullableAnnotation>)

    Declaration
    IMethodSymbol Construct(ImmutableArray<ITypeSymbol> typeArguments, ImmutableArray<NullableAnnotation> typeArgumentNullableAnnotations)
    Parameters
    Type Name Description
    ImmutableArray<ITypeSymbol> typeArguments
    ImmutableArray<NullableAnnotation> typeArgumentNullableAnnotations
    Returns
    Type Description
    IMethodSymbol

    GetDllImportData()

    Declaration
    DllImportData? GetDllImportData()
    Returns
    Type Description
    DllImportData

    GetReturnTypeAttributes()

    Declaration
    ImmutableArray<AttributeData> GetReturnTypeAttributes()
    Returns
    Type Description
    ImmutableArray<AttributeData>

    GetTypeInferredDuringReduction(ITypeParameterSymbol)

    Declaration
    ITypeSymbol? GetTypeInferredDuringReduction(ITypeParameterSymbol reducedFromTypeParameter)
    Parameters
    Type Name Description
    ITypeParameterSymbol reducedFromTypeParameter
    Returns
    Type Description
    ITypeSymbol

    ReduceExtensionMethod(ITypeSymbol)

    Declaration
    IMethodSymbol? ReduceExtensionMethod(ITypeSymbol receiverType)
    Parameters
    Type Name Description
    ITypeSymbol receiverType
    Returns
    Type Description
    IMethodSymbol

    Extension Methods

    ISymbolExtensions.GetConstructedReducedFrom(IMethodSymbol)
    In this article
    Back to top Generated by DocFX | Copyright (c) 2018- The NUnit Project - Licensed under CC BY-NC-SA 4.0