Skip to content

Commit

Permalink
disable warnings: CS0618 CS3021 CS0108
Browse files Browse the repository at this point in the history
  • Loading branch information
TransposonY committed Nov 2, 2018
1 parent 339debf commit f16067f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions GestureSign.Common/Applications/ApplicationManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,7 @@ private static bool CompareString(string compareMatchString, string windowMatchS
: string.Equals(windowMatchString.Trim(), compareMatchString.Trim(), StringComparison.CurrentCultureIgnoreCase);
}

#pragma warning disable CS0618
private bool LoadLegacy()
{
var legacyApps = FileManager.LoadObject<List<LegacyApplicationBase>>(Path.Combine(AppConfig.ApplicationDataPath, "Actions.act"), true, true);
Expand Down Expand Up @@ -585,6 +586,7 @@ private List<IAction> ConvertLegacyActions(List<GestureSign.Applications.Action>
}
return newActions;
}
#pragma warning restore CS0618

private bool IsFullScreenWindow(SystemWindow window)
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
using System.Collections.Generic;

#pragma warning disable CS0618

namespace GestureSign.Common.Applications
{
public abstract class LegacyApplicationBase
Expand Down
1 change: 1 addition & 0 deletions GestureSign.ControlPanel/Common/TouchWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

namespace GestureSign.ControlPanel.Common
{
#pragma warning disable CS0108
/// <summary>
/// https://devdept.zendesk.com/hc/en-us/articles/217843288-Enable-multitouch-on-WPF-controls
/// </summary>
Expand Down
1 change: 1 addition & 0 deletions ManagedWinapi/Hooks/LowLevelHook.cs
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,7 @@ public MouseButtons Button
}
}

#pragma warning disable CS3021
/// <summary>
/// Mouse event flags needed to replay this message.
/// </summary>
Expand Down

0 comments on commit f16067f

Please sign in to comment.