CSharpCompilation.ClassifyConversion(ITypeSymbol, ITypeSymbol) Method
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.
Classifies a conversion from source
to destination
.
public:
Microsoft::CodeAnalysis::CSharp::Conversion ClassifyConversion(Microsoft::CodeAnalysis::ITypeSymbol ^ source, Microsoft::CodeAnalysis::ITypeSymbol ^ destination);
public Microsoft.CodeAnalysis.CSharp.Conversion ClassifyConversion (Microsoft.CodeAnalysis.ITypeSymbol source, Microsoft.CodeAnalysis.ITypeSymbol destination);
member this.ClassifyConversion : Microsoft.CodeAnalysis.ITypeSymbol * Microsoft.CodeAnalysis.ITypeSymbol -> Microsoft.CodeAnalysis.CSharp.Conversion
Public Function ClassifyConversion (source As ITypeSymbol, destination As ITypeSymbol) As Conversion
Parameters
- source
- ITypeSymbol
Source type of value to be converted
- destination
- ITypeSymbol
Destination type of value to be converted
Returns
A Conversion that classifies the conversion from the
source
type to the destination
type.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.