C-minor v0.0

OperatorEvaluation.IsExplicitlyConvertible Method

Assembly: Topten.Cminor.Compiler.dll
Namespace: Topten.Cminor
Declaring Type: OperatorEvaluation

Check if a source type is explicitly castable to another type

public static bool IsExplicitlyConvertible(Type targetType, Type sourceType);

Parameters

Type targetType
Type sourceType

Returns

bool