Compilation.ClassifyCommonConversion(ITypeSymbol, ITypeSymbol) Method

Definition

Classifies a conversion from source to destination according to this compilation's programming language.

public:
 abstract Microsoft::CodeAnalysis::Operations::CommonConversion ClassifyCommonConversion(Microsoft::CodeAnalysis::ITypeSymbol ^ source, Microsoft::CodeAnalysis::ITypeSymbol ^ destination);
public abstract Microsoft.CodeAnalysis.Operations.CommonConversion ClassifyCommonConversion (Microsoft.CodeAnalysis.ITypeSymbol source, Microsoft.CodeAnalysis.ITypeSymbol destination);
abstract member ClassifyCommonConversion : Microsoft.CodeAnalysis.ITypeSymbol * Microsoft.CodeAnalysis.ITypeSymbol -> Microsoft.CodeAnalysis.Operations.CommonConversion
Public MustOverride Function ClassifyCommonConversion (source As ITypeSymbol, destination As ITypeSymbol) As CommonConversion

Parameters

source
ITypeSymbol

Source type of value to be converted

destination
ITypeSymbol

Destination type of value to be converted

Returns

A CommonConversion that classifies the conversion from the source type to the destination type.

Applies to