Fix IDE0055
This rule no longer appears to be buggy, so enforce it. Some of the automated fixes are adjusted in order to improve the result. #pragma directives have no option to control indentation, so remove them where possible.
This commit is contained in:
committed by
Pavel Penev
parent
60cbf79c9b
commit
360f24f609
@@ -196,18 +196,24 @@ namespace OpenRA.Mods.Cnc.Traits
|
||||
}
|
||||
|
||||
public Activity MoveTo(CPos cell, int nearEnough = 0, Actor ignoreActor = null,
|
||||
bool evaluateNearestMovableCell = false, Color? targetLineColor = null) { return null; }
|
||||
bool evaluateNearestMovableCell = false, Color? targetLineColor = null)
|
||||
{ return null; }
|
||||
public Activity MoveWithinRange(in Target target, WDist range,
|
||||
WPos? initialTargetPosition = null, Color? targetLineColor = null) { return null; }
|
||||
WPos? initialTargetPosition = null, Color? targetLineColor = null)
|
||||
{ return null; }
|
||||
public Activity MoveWithinRange(in Target target, WDist minRange, WDist maxRange,
|
||||
WPos? initialTargetPosition = null, Color? targetLineColor = null) { return null; }
|
||||
WPos? initialTargetPosition = null, Color? targetLineColor = null)
|
||||
{ return null; }
|
||||
public Activity MoveFollow(Actor self, in Target target, WDist minRange, WDist maxRange,
|
||||
WPos? initialTargetPosition = null, Color? targetLineColor = null) { return null; }
|
||||
WPos? initialTargetPosition = null, Color? targetLineColor = null)
|
||||
{ return null; }
|
||||
public Activity ReturnToCell(Actor self) { return null; }
|
||||
public Activity MoveToTarget(Actor self, in Target target,
|
||||
WPos? initialTargetPosition = null, Color? targetLineColor = null) { return null; }
|
||||
WPos? initialTargetPosition = null, Color? targetLineColor = null)
|
||||
{ return null; }
|
||||
public Activity MoveOntoTarget(Actor self, in Target target, in WVec offset,
|
||||
WAngle? facing, Color? targetLineColor = null) { return null; }
|
||||
WAngle? facing, Color? targetLineColor = null)
|
||||
{ return null; }
|
||||
public Activity MoveIntoTarget(Actor self, in Target target) { return null; }
|
||||
public Activity LocalMove(Actor self, WPos fromPos, WPos toPos) { return null; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user