21 references to Conversions
Microsoft.VisualBasic.Core (21)
Microsoft\VisualBasic\CompilerServices\IDOBinder.vb (2)
837If errorSuggestion IsNot Nothing AndAlso Not Conversions.CanUserDefinedConvert(target.Value, Me.Type()) Then 843GetType(Conversions).GetMethod("FallbackUserDefinedConversion"),
Microsoft\VisualBasic\CompilerServices\ObjectFlowControl.vb (3)
90Return Conversions.ChangeType(value, targetType) 311loopFor._limit = Conversions.ChangeType(loopFor._limit, MapTypeCodeToType(resultTypeCode)) 312loopFor._stepValue = Conversions.ChangeType(loopFor._stepValue, MapTypeCodeToType(resultTypeCode))
Microsoft\VisualBasic\CompilerServices\OverloadResolution.vb (2)
1373argument = Conversions.ForceValueCopy(argument, argumentType) 1378Return Conversions.ChangeType(argument, parameterType)
Microsoft\VisualBasic\CompilerServices\Symbols.vb (13)
1143field.SetValue(_instance, Conversions.ChangeType(value, field.FieldType)) 1162DirectCast(Conversions.ChangeType(indices(0), GetType(Integer)), Integer) 1168DirectCast(Conversions.ChangeType(indices(1), GetType(Integer)), Integer) 1174DirectCast(Conversions.ChangeType(indices(2), GetType(Integer)), Integer) 1184DirectCast(Conversions.ChangeType(indices(i), GetType(Integer)), Integer) 1216DirectCast(Conversions.ChangeType(arguments(0), GetType(Integer)), Integer) 1219arrayInstance.SetValue(Conversions.ChangeType(value, elementType), zerothIndex) 1223DirectCast(Conversions.ChangeType(arguments(1), GetType(Integer)), Integer) 1226arrayInstance.SetValue(Conversions.ChangeType(value, elementType), zerothIndex, firstIndex) 1230DirectCast(Conversions.ChangeType(arguments(2), GetType(Integer)), Integer) 1233arrayInstance.SetValue(Conversions.ChangeType(value, elementType), zerothIndex, firstIndex, secondIndex) 1241DirectCast(Conversions.ChangeType(arguments(i), GetType(Integer)), Integer) 1244arrayInstance.SetValue(Conversions.ChangeType(value, elementType), indexArray)
Microsoft\VisualBasic\CompilerServices\Versioned.vb (1)
90Return Conversions.TryParseDouble(value, dbl)