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:
parent
26de34da84
commit
a5b1f1a688
@ -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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user