Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2011-01-17 17:08:10 +0300
committerMarek Safar <marek.safar@gmail.com>2011-01-17 17:08:36 +0300
commit659a007604ec5359c00ffcaa1e3f8e6ed0b6b36a (patch)
treede2344cd7bfd72d6f1464c099586e189f4954153 /mcs/class/System.Security/System.Security.Cryptography.X509Certificates
parent3e626376239309a68df3c1f14d33e199eb82411d (diff)
Turn X509Certificate2UI into static class for 4.0
Diffstat (limited to 'mcs/class/System.Security/System.Security.Cryptography.X509Certificates')
-rw-r--r--mcs/class/System.Security/System.Security.Cryptography.X509Certificates/X509Certificate2UI.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/mcs/class/System.Security/System.Security.Cryptography.X509Certificates/X509Certificate2UI.cs b/mcs/class/System.Security/System.Security.Cryptography.X509Certificates/X509Certificate2UI.cs
index 29d3bbfb2bd..a81061304c1 100644
--- a/mcs/class/System.Security/System.Security.Cryptography.X509Certificates/X509Certificate2UI.cs
+++ b/mcs/class/System.Security/System.Security.Cryptography.X509Certificates/X509Certificate2UI.cs
@@ -26,7 +26,7 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-#if NET_2_0 && SECURITY_DEP
+#if SECURITY_DEP
// Notes:
//
@@ -46,12 +46,16 @@ using Mono.Security.X509;
namespace System.Security.Cryptography.X509Certificates {
+#if NET_4_0
+ public static class X509Certificate2UI {
+#else
public sealed class X509Certificate2UI {
// sadly this isn't a static class
private X509Certificate2UI ()
{
}
+#endif
[MonoTODO]
public static void DisplayCertificate (X509Certificate2 certificate)