Compartir a través de


Conversion.MethodSymbol Property

Definition

Returns the method used to create the delegate for a method group conversion if IsMethodGroup is true or the method used to perform the conversion for a user-defined conversion if IsUserDefined is true. Otherwise, returns null.

public:
 property Microsoft::CodeAnalysis::IMethodSymbol ^ MethodSymbol { Microsoft::CodeAnalysis::IMethodSymbol ^ get(); };
public Microsoft.CodeAnalysis.IMethodSymbol MethodSymbol { get; }
public Microsoft.CodeAnalysis.IMethodSymbol? MethodSymbol { get; }
member this.MethodSymbol : Microsoft.CodeAnalysis.IMethodSymbol
Public ReadOnly Property MethodSymbol As IMethodSymbol

Property Value

Remarks

Method group conversions are described in section 6.6 of the C# language specification. User-defined conversions are described in section 6.4 of the C# language specification.

Applies to