Skip to content

Commit eb519af

Browse files
committed
Use collection expression in OID
1 parent 402fe65 commit eb519af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SabreTools.ASN1/ObjectIdentifier.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public static ulong[] ParseDERIntoArray(byte[] data, ulong length)
6565
nodes.Add(dotValue);
6666
}
6767

68-
return nodes.ToArray();
68+
return [.. nodes];
6969
}
7070
}
7171
}

0 commit comments

Comments
 (0)