From 94010717ccf9addcd7f9c6b8e4f2eb2a95b6f1de Mon Sep 17 00:00:00 2001 From: jbevain Date: Thu, 27 May 2010 10:58:08 +0000 Subject: [PATCH] 2010-05-27 Jb Evain * SecurityContextSource.cs: add new enum in net_4_0. git-svn-id: svn+ssh://mono-cvs.ximian.com/source/trunk/mcs@158015 e3ebcda4-bce8-0310-ba0a-eca2169e7518 --- class/corlib/System.Security/ChangeLog | 4 +++ .../System.Security/SecurityContextSource.cs | 39 ++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 class/corlib/System.Security/SecurityContextSource.cs diff --git a/class/corlib/System.Security/ChangeLog b/class/corlib/System.Security/ChangeLog index 50ff478d6e..9661a329c4 100644 --- a/class/corlib/System.Security/ChangeLog +++ b/class/corlib/System.Security/ChangeLog @@ -1,3 +1,7 @@ +2010-05-27 Jb Evain + + * SecurityContextSource.cs: add new enum in net_4_0. + 2010-04-16 Sebastien Pouliot * SecurityManager.cs: Add stub for new methods (so code compiles diff --git a/class/corlib/System.Security/SecurityContextSource.cs b/class/corlib/System.Security/SecurityContextSource.cs new file mode 100644 index 0000000000..d2b39e7c65 --- /dev/null +++ b/class/corlib/System.Security/SecurityContextSource.cs @@ -0,0 +1,39 @@ +// +// System.Security.SecurityContextSource +// +// Author: +// Jb Evain +// +// Copyright (C) 2010 Novell, Inc (http://www.novell.com) +// +// Permission is hereby granted, free of charge, to any person obtaining +// a copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to +// permit persons to whom the Software is furnished to do so, subject to +// the following conditions: +// +// The above copyright notice and this permission notice shall be +// included in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +// + +#if NET_4_0 + +namespace System.Security { + + public enum SecurityContextSource { + CurrentAppDomain, + CurrentAssembly, + } +} + +#endif -- 2.11.4.GIT