Upgrade to .NET 8.0 and remove/migrate obsolete stuff
This commit is contained in:
@@ -13,13 +13,11 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace OpenRA
|
||||
{
|
||||
using UtilityActions = Dictionary<string, KeyValuePair<Action<Utility, string[]>, Func<string[], bool>>>;
|
||||
|
||||
[Serializable]
|
||||
public class NoSuchCommandException : Exception
|
||||
{
|
||||
public readonly string Command;
|
||||
@@ -28,12 +26,6 @@ namespace OpenRA
|
||||
{
|
||||
Command = command;
|
||||
}
|
||||
|
||||
public override void GetObjectData(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
base.GetObjectData(info, context);
|
||||
info.AddValue("Command", Command);
|
||||
}
|
||||
}
|
||||
|
||||
sealed class Program
|
||||
|
||||
Reference in New Issue
Block a user