diff --git a/ICD.Common.Utils/Extensions/TypeExtensions.cs b/ICD.Common.Utils/Extensions/TypeExtensions.cs index b0f59db..e327472 100644 --- a/ICD.Common.Utils/Extensions/TypeExtensions.cs +++ b/ICD.Common.Utils/Extensions/TypeExtensions.cs @@ -317,7 +317,7 @@ namespace ICD.Common.Utils.Extensions Type nullableType = Nullable.GetUnderlyingType(extends); if (nullableType != null) - return nullableType.Name + "?"; + return nullableType.GetSyntaxName() + "?"; if (!(extends.IsGenericType && extends.Name.Contains('`'))) {