Click or drag to resize

CSharpExtensionsClassifyConversion Method (Compilation, ITypeSymbol, ITypeSymbol)



Namespace:  Microsoft.CodeAnalysis.CSharp
Assembly:  Microsoft.CodeAnalysis.CSharp (in Microsoft.CodeAnalysis.CSharp.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public static Conversion ClassifyConversion(
	this Compilation compilation,
	ITypeSymbol source,
	ITypeSymbol destination
)

Parameters

compilation
Type: Microsoft.CodeAnalysisCompilation
source
Type: Microsoft.CodeAnalysisITypeSymbol
destination
Type: Microsoft.CodeAnalysisITypeSymbol

Return Value

Type: Conversion

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Compilation. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also