mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
Fix usage of collection literals
(cherry picked from commit 6d3e827e64597e787c33382ecc86e75adf090710)
This commit is contained in:
@@ -38,7 +38,7 @@ internal sealed class NetBitArraySerializer : IStaticTypeSerializer
|
||||
|
||||
public IEnumerable<Type> GetSubtypes(Type type)
|
||||
{
|
||||
return [typeof(int[]), typeof(int)];
|
||||
return new Type[] { typeof(int[]), typeof(int) };
|
||||
}
|
||||
|
||||
public MethodInfo GetStaticWriter(Type type)
|
||||
|
||||
Reference in New Issue
Block a user