mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
mark the string as nullable.
This commit is contained in:
@ -21,7 +21,7 @@ namespace osu.Game.Extensions
|
|||||||
/// </remarks>
|
/// </remarks>
|
||||||
internal static string GetInvariantInstantiationInfo(this Type type)
|
internal static string GetInvariantInstantiationInfo(this Type type)
|
||||||
{
|
{
|
||||||
string assemblyQualifiedName = type.AssemblyQualifiedName;
|
string? assemblyQualifiedName = type.AssemblyQualifiedName;
|
||||||
if (assemblyQualifiedName == null)
|
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));
|
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));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user