1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-26 18:03:11 +08:00

mark the string as nullable.

This commit is contained in:
andy840119 2022-06-30 23:23:14 +08:00
parent 26de34da84
commit a5b1f1a688

View File

@ -21,7 +21,7 @@ namespace osu.Game.Extensions
/// </remarks>
internal static string GetInvariantInstantiationInfo(this Type type)
{
string assemblyQualifiedName = type.AssemblyQualifiedName;
string? assemblyQualifiedName = type.AssemblyQualifiedName;
if (assemblyQualifiedName == null)
throw new ArgumentException($"{type}'s assembly-qualified name is null. Ensure that it is a concrete type and not a generic type parameter.", nameof(type));