From 0575a95ec193bbc26a53d08fcf915178d43a7354 Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Fri, 19 Oct 2018 00:33:14 -0500 Subject: [PATCH] Added SuppressUnmanagedCodeSecurity to Color Dialog for some unmanaged calls --- DS4Windows/DS4Forms/AdvancedColorDialog.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DS4Windows/DS4Forms/AdvancedColorDialog.cs b/DS4Windows/DS4Forms/AdvancedColorDialog.cs index dc4ce78..61764b5 100644 --- a/DS4Windows/DS4Forms/AdvancedColorDialog.cs +++ b/DS4Windows/DS4Forms/AdvancedColorDialog.cs @@ -2,10 +2,12 @@ using System.Collections.Generic; using System.Drawing; using System.Runtime.InteropServices; +using System.Security; using System.Windows.Forms; namespace DS4Windows { + [SuppressUnmanagedCodeSecurity] [System.ComponentModel.DesignerCategory("")] public class AdvancedColorDialog : ColorDialog {