Fix RCS1071

This commit is contained in:
RoosterDragon
2023-03-18 12:20:20 +00:00
committed by Gustas
parent 4fe2ed3df0
commit 43ebb93ff6
3 changed files with 5 additions and 4 deletions

View File

@@ -986,6 +986,9 @@ dotnet_diagnostic.RCS1066.severity = warning
# Simplify logical negation.
dotnet_diagnostic.RCS1068.severity = warning
# Remove redundant base constructor call.
dotnet_diagnostic.RCS1071.severity = warning
# Remove empty namespace declaration.
dotnet_diagnostic.RCS1072.severity = warning

View File

@@ -175,8 +175,7 @@ namespace OpenRA
protected CompositeActorInit(TraitInfo info)
: base(info.InstanceName) { }
protected CompositeActorInit()
: base() { }
protected CompositeActorInit() { }
public virtual void Initialize(MiniYaml yaml)
{

View File

@@ -19,8 +19,7 @@ namespace OpenRA.Mods.Common.Widgets
public double ExpA = 1.0e-3;
public double ExpB = 6.908;
public ExponentialSliderWidget()
: base() { }
public ExponentialSliderWidget() { }
public ExponentialSliderWidget(ExponentialSliderWidget other)
: base(other) { }