diff --git a/Content.Shared.Database/TypedHwid.cs b/Content.Shared.Database/TypedHwid.cs index 6e4a7763b3a..253375e9dbc 100644 --- a/Content.Shared.Database/TypedHwid.cs +++ b/Content.Shared.Database/TypedHwid.cs @@ -34,7 +34,9 @@ public static bool TryParse(string value, [NotNullWhen(true)] out ImmutableTyped return false; } - hwid = new ImmutableTypedHwid([..array], type); + // ReSharper disable once UseCollectionExpression + // Do not use collection expression, C# compiler is weird and it fails sandbox. + hwid = new ImmutableTypedHwid(ImmutableArray.Create(array), type); return true; }