17 implementations of ToType
mscorlib (17)
system\boolean.cs (1)
306
Object IConvertible.
ToType
(Type type, IFormatProvider provider) {
system\byte.cs (1)
259
Object IConvertible.
ToType
(Type type, IFormatProvider provider) {
system\char.cs (1)
504
Object IConvertible.
ToType
(Type type, IFormatProvider provider) {
system\datetime.cs (1)
1649
Object IConvertible.
ToType
(Type type, IFormatProvider provider) {
system\dbnull.cs (1)
118
Object IConvertible.
ToType
(Type type, IFormatProvider provider) {
system\decimal.cs (1)
1272
Object IConvertible.
ToType
(Type type, IFormatProvider provider) {
system\double.cs (1)
373
Object IConvertible.
ToType
(Type type, IFormatProvider provider) {
system\enum.cs (1)
1036
Object IConvertible.
ToType
(Type type, IFormatProvider provider)
system\int16.cs (1)
272
Object IConvertible.
ToType
(Type type, IFormatProvider provider) {
system\int32.cs (1)
245
Object IConvertible.
ToType
(Type type, IFormatProvider provider) {
system\int64.cs (1)
224
Object IConvertible.
ToType
(Type type, IFormatProvider provider) {
system\sbyte.cs (1)
280
Object IConvertible.
ToType
(Type type, IFormatProvider provider) {
system\single.cs (1)
343
Object IConvertible.
ToType
(Type type, IFormatProvider provider) {
system\string.cs (1)
3435
Object IConvertible.
ToType
(Type type, IFormatProvider provider) {
system\uint16.cs (1)
247
Object IConvertible.
ToType
(Type type, IFormatProvider provider) {
system\uint32.cs (1)
229
Object IConvertible.
ToType
(Type type, IFormatProvider provider) {
system\uint64.cs (1)
224
Object IConvertible.
ToType
(Type type, IFormatProvider provider) {
12 references to ToType
mscorlib (1)
system\convert.cs (1)
381
return ic.
ToType
(conversionType, provider);
System (2)
compmod\system\componentmodel\EnumConverter.cs (2)
164
value = ((IConvertible)value).
ToType
(underlyingType, culture);
183
object convertedValue = ((IConvertible)value).
ToType
(underlyingType, culture);
System.Management (1)
property.cs (1)
27
return ((IConvertible)theValue).
ToType
(typeof(object), null);
System.Runtime.Serialization (1)
System\Runtime\Serialization\CodeGenerator.cs (1)
1054
Ldc(((IConvertible)o).
ToType
(Enum.GetUnderlyingType(valueType), null));
System.ServiceModel (1)
System\ServiceModel\Dispatcher\CodeGenerator.cs (1)
434
Ldc(((IConvertible)o).
ToType
(Enum.GetUnderlyingType(valueType), null));
System.Workflow.Activities (5)
Rules\Executor.cs (5)
879
converted = ((IConvertible)c).
ToType
(resultType, CultureInfo.CurrentCulture);
894
converted = ((IConvertible)f).
ToType
(resultType, CultureInfo.CurrentCulture);
909
converted = ((IConvertible)d).
ToType
(resultType, CultureInfo.CurrentCulture);
924
converted = ((IConvertible)d).
ToType
(resultType, CultureInfo.CurrentCulture);
937
converted = convert.
ToType
(resultType, CultureInfo.CurrentCulture);
System.Xml (1)
System\Xml\Serialization\CodeGenerator.cs (1)
1050
Ldc(((IConvertible)o).
ToType
(Enum.GetUnderlyingType(valueType), null));