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

◆ ImplementsINullableValue()

static bool System.Data.Common.DataStorage.ImplementsINullableValue ( StorageType typeCode,
Type dataType )
inlinestaticpackageinherited

Definition at line 421 of file DataStorage.cs.

422 {
423 if (typeCode == StorageType.Empty && dataType.IsGenericType)
424 {
425 return dataType.GetGenericTypeDefinition() == typeof(Nullable<>);
426 }
427 return false;
428 }

References System.Xml.Dictionary, System.Type.GetGenericTypeDefinition(), and System.Type.IsGenericType.

Referenced by System.Data.DataColumn.DataColumn().