diff --git a/Directory.Build.props b/Directory.Build.props
index b1b69d9..847ee6d 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -36,20 +36,12 @@
true
-
- CA5399;CA1812;
CS1591;CS1573;
CA1303;CA1304;CA1305;CA1307;CA1308;CA1309;CA1310;CA1311;
CA1848;CA1727;
-
- CA1815;CA1725;
-
- CA1710;CA1711;CA1720;CA1724;
-
- CA1502;CA1716;NETSDK1206;
$(NoWarn)
diff --git a/GrasshopperAsyncComponent/GH_AsyncComponent.cs b/GrasshopperAsyncComponent/GH_AsyncComponent.cs
index be6c289..cb607de 100755
--- a/GrasshopperAsyncComponent/GH_AsyncComponent.cs
+++ b/GrasshopperAsyncComponent/GH_AsyncComponent.cs
@@ -177,7 +177,7 @@ public abstract class GH_AsyncComponent : GH_Component, IDisposable
}
}
- protected override void SolveInstance(IGH_DataAccess da)
+ protected override void SolveInstance(IGH_DataAccess DA)
{
//return;
if (_state == 0)
@@ -191,10 +191,10 @@ public abstract class GH_AsyncComponent : GH_Component, IDisposable
// Add cancellation source to our bag
var tokenSource = new CancellationTokenSource();
- var currentWorker = BaseWorker.Duplicate($"Worker-{da.Iteration}", tokenSource.Token);
+ var currentWorker = BaseWorker.Duplicate($"Worker-{DA.Iteration}", tokenSource.Token);
// Let the worker collect data.
- currentWorker.GetData(da, Params);
+ currentWorker.GetData(DA, Params);
var currentRun = new Task(
async () =>
@@ -226,7 +226,7 @@ public abstract class GH_AsyncComponent : GH_Component, IDisposable
if (_workers.Count > 0)
{
Interlocked.Decrement(ref _state);
- _workers[_state].Instance.SetData(da);
+ _workers[_state].Instance.SetData(DA);
}
if (_state != 0)