Skip to content
This repository was archived by the owner on May 9, 2023. It is now read-only.

Commit 81dd8ba

Browse files
committed
Update to C# 10.0, global usings
1 parent 97dffc8 commit 81dd8ba

File tree

102 files changed

+96
-548
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+96
-548
lines changed
0 Bytes
Binary file not shown.

src/CSConsole/CSAutoCompleter.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
1+
using System.Text;
52
using UnityExplorer.CSConsole.Lexers;
63
using UnityExplorer.UI.Panels;
74
using UnityExplorer.UI.Widgets.AutoComplete;
8-
using UniverseLib;
95
using UniverseLib.UI.Models;
10-
using UniverseLib.Utility;
116

127
namespace UnityExplorer.CSConsole
138
{

src/CSConsole/ConsoleController.cs

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,10 @@
1-
using HarmonyLib;
2-
using Mono.CSharp;
3-
using System;
1+
using Mono.CSharp;
42
using System.Collections;
5-
using System.Collections.Generic;
6-
using System.IO;
7-
using System.Linq;
8-
using System.Reflection;
93
using System.Text;
10-
using UnityEngine;
11-
using UnityEngine.EventSystems;
12-
using UnityEngine.UI;
134
using UnityExplorer.UI;
145
using UnityExplorer.UI.Panels;
15-
using UnityExplorer.UI.Widgets.AutoComplete;
16-
using UniverseLib;
176
using UniverseLib.Input;
18-
using UniverseLib.Runtime;
197
using UniverseLib.UI.Models;
20-
using UniverseLib.Utility;
218

229
namespace UnityExplorer.CSConsole
2310
{

src/CSConsole/LexerBuilder.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Text;
1+
using System.Text;
42
using UnityExplorer.CSConsole.Lexers;
5-
using UniverseLib.Utility;
63

74
namespace UnityExplorer.CSConsole
85
{

src/CSConsole/Lexers/CommentLexer.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
using UnityEngine;
2-
3-
namespace UnityExplorer.CSConsole.Lexers
1+
namespace UnityExplorer.CSConsole.Lexers
42
{
53
public class CommentLexer : Lexer
64
{

src/CSConsole/Lexers/KeywordLexer.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
using System.Collections.Generic;
2-
using System.Text;
3-
using UnityEngine;
1+
using System.Text;
42

53
namespace UnityExplorer.CSConsole.Lexers
64
{

src/CSConsole/Lexers/Lexer.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
using System.Collections.Generic;
2-
using System.Linq;
3-
using UnityEngine;
4-
using UniverseLib.Utility;
5-
6-
namespace UnityExplorer.CSConsole.Lexers
1+
namespace UnityExplorer.CSConsole.Lexers
72
{
83
public abstract class Lexer
94
{

src/CSConsole/Lexers/NumberLexer.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
using UnityEngine;
2-
3-
namespace UnityExplorer.CSConsole.Lexers
1+
namespace UnityExplorer.CSConsole.Lexers
42
{
53
public class NumberLexer : Lexer
64
{

src/CSConsole/Lexers/StringLexer.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
using System.Collections.Generic;
2-
using UnityEngine;
3-
4-
namespace UnityExplorer.CSConsole.Lexers
1+
namespace UnityExplorer.CSConsole.Lexers
52
{
63
public class StringLexer : Lexer
74
{

src/CSConsole/Lexers/SymbolLexer.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
using System.Collections.Generic;
2-
using System.Linq;
3-
using UnityEngine;
4-
5-
namespace UnityExplorer.CSConsole.Lexers
1+
namespace UnityExplorer.CSConsole.Lexers
62
{
73
public class SymbolLexer : Lexer
84
{

0 commit comments

Comments
 (0)