Conversion.MethodSymbol Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla