Some analyzer code style changes
This commit is contained in:
@@ -6,9 +6,7 @@ public abstract class BaseAction
|
||||
{
|
||||
[ThreadStatic]
|
||||
internal static Simulator? TLSSimulation;
|
||||
protected static Simulator Simulation => TLSSimulation ?? throw new NullReferenceException();
|
||||
|
||||
public BaseAction() { }
|
||||
protected static Simulator Simulation => TLSSimulation!;
|
||||
|
||||
// Non-instanced properties
|
||||
public abstract ActionCategory Category { get; }
|
||||
|
||||
Reference in New Issue
Block a user