24 references to CheckValueStatus
System.Private.CoreLib (24)
src\libraries\System.Private.CoreLib\src\System\RuntimeType.cs (21)
832
CheckValueStatus
result = TryChangeType(ref value, ref copyBack);
833
if (result ==
CheckValueStatus
.Success)
840
case
CheckValueStatus
.ArgumentException:
842
case
CheckValueStatus
.NotSupported_ByRefLike:
876
CheckValueStatus
result = TryChangeType(ref value, ref copyBack);
877
if (result ==
CheckValueStatus
.Success)
882
if (result ==
CheckValueStatus
.ArgumentException && (invokeAttr & BindingFlags.ExactBinding) == 0)
902
if (result ==
CheckValueStatus
.Success)
911
case
CheckValueStatus
.ArgumentException:
913
case
CheckValueStatus
.NotSupported_ByRefLike:
946
private
CheckValueStatus
TryChangeType(ref object? value, ref bool copyBack)
970
return
CheckValueStatus
.Success;
977
return
CheckValueStatus
.Success;
982
return
CheckValueStatus
.NotSupported_ByRefLike;
987
return
CheckValueStatus
.Success;
990
return
CheckValueStatus
.ArgumentException;
999
return
CheckValueStatus
.Success;
1004
return
CheckValueStatus
.Success;
1009
return
CheckValueStatus
.NotSupported_ByRefLike;
1014
return
CheckValueStatus
.Success;
1025
return
CheckValueStatus
.ArgumentException;
src\System\RuntimeType.CoreCLR.cs (3)
3719
private
CheckValueStatus
TryChangeTypeSpecial(ref object value)
3725
return
CheckValueStatus
.ArgumentException;
3742
return
CheckValueStatus
.Success;