Cleanup some warnings.

This commit is contained in:
hondacrx
2021-11-15 16:11:20 -05:00
parent e0f344af25
commit 032f9a55f3
70 changed files with 233 additions and 234 deletions
+2 -2
View File
@@ -157,7 +157,7 @@ namespace System
public static List<T> DeserializeObjects<T>(this ICollection<uint> data)
{
List<T> list = new List<T>();
List<T> list = new();
if (data.Count == 0)
return list;
@@ -261,7 +261,7 @@ namespace System
public static string ReadCString(this BinaryReader reader)
{
byte num;
List<byte> temp = new List<byte>();
List<byte> temp = new();
while ((num = reader.ReadByte()) != 0)
temp.Add(num);