Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetTypeCode()

static TypeCode System.Convert.GetTypeCode ( object? value)
inlinestatic

Definition at line 202 of file Convert.cs.

203 {
204 if (value == null)
205 {
206 return TypeCode.Empty;
207 }
208 if (value is IConvertible convertible)
209 {
210 return convertible.GetTypeCode();
211 }
212 return TypeCode.Object;
213 }

References System.value.

Referenced by System.Enum.ToObject(), System.Enum.ToUInt64(), and System.Enum.ValueToHexString().