24 references to CheckValueStatus
System.Private.CoreLib (24)
src\libraries\System.Private.CoreLib\src\System\RuntimeType.cs (21)
813
CheckValueStatus
result = TryChangeType(ref value, ref copyBack);
814
if (result ==
CheckValueStatus
.Success)
821
case
CheckValueStatus
.ArgumentException:
823
case
CheckValueStatus
.NotSupported_ByRefLike:
857
CheckValueStatus
result = TryChangeType(ref value, ref copyBack);
858
if (result ==
CheckValueStatus
.Success)
863
if (result ==
CheckValueStatus
.ArgumentException && (invokeAttr & BindingFlags.ExactBinding) == 0)
883
if (result ==
CheckValueStatus
.Success)
892
case
CheckValueStatus
.ArgumentException:
894
case
CheckValueStatus
.NotSupported_ByRefLike:
927
private
CheckValueStatus
TryChangeType(ref object? value, ref bool copyBack)
951
return
CheckValueStatus
.Success;
958
return
CheckValueStatus
.Success;
963
return
CheckValueStatus
.NotSupported_ByRefLike;
968
return
CheckValueStatus
.Success;
971
return
CheckValueStatus
.ArgumentException;
980
return
CheckValueStatus
.Success;
985
return
CheckValueStatus
.Success;
990
return
CheckValueStatus
.NotSupported_ByRefLike;
995
return
CheckValueStatus
.Success;
1006
return
CheckValueStatus
.ArgumentException;
src\System\RuntimeType.CoreCLR.cs (3)
3740
private
CheckValueStatus
TryChangeTypeSpecial(ref object value)
3746
return
CheckValueStatus
.ArgumentException;
3763
return
CheckValueStatus
.Success;