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