From 22c05eeae2a57e2e7982e12434bf94bd39924d88 Mon Sep 17 00:00:00 2001 From: MrDevBot Date: Tue, 21 May 2019 18:08:15 +1000 Subject: [PATCH] Added discard to PortsFrm_Load's Methods.FadeIn Added discard to PortsFrm_Load's Methods.FadeIn to suppress and solve CS4014 Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call. --- AsyncRAT-C#/AsyncRAT-Sharp/Forms/FormPorts.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AsyncRAT-C#/AsyncRAT-Sharp/Forms/FormPorts.cs b/AsyncRAT-C#/AsyncRAT-Sharp/Forms/FormPorts.cs index ec7f808..0c4cbc7 100644 --- a/AsyncRAT-C#/AsyncRAT-Sharp/Forms/FormPorts.cs +++ b/AsyncRAT-C#/AsyncRAT-Sharp/Forms/FormPorts.cs @@ -18,7 +18,7 @@ namespace AsyncRAT_Sharp.Forms private void PortsFrm_Load(object sender, EventArgs e) { - Methods.FadeIn(this, 5); + _ = Methods.FadeIn(this, 5); if (Properties.Settings.Default.Ports.Length == 0) {