rollback CS1635584
authorRahul Kumar <rahku@microsoft.com>
Thu, 27 Oct 2016 22:39:18 +0000 (15:39 -0700)
committerRahul Kumar <rahku@microsoft.com>
Thu, 27 Oct 2016 22:39:18 +0000 (15:39 -0700)
[tfs-changeset: 1635595]

src/mscorlib/model.xml
src/mscorlib/mscorlib.shared.sources.props
src/mscorlib/ref/mscorlib.cs
src/mscorlib/src/System/Security/Principal/PrincipalPolicy.cs [deleted file]

index e94bfb9..130702e 100644 (file)
       <Member Name="IsInRole(System.String)" />
       <Member Name ="get_Identity" />
     </Type>
-    <Type Name="System.Security.Principal.PrincipalPolicy">
-      <Member MemberType="Field" Name="UnauthenticatedPrincipal" />
-      <Member MemberType="Field" Name="NoPrincipal" />
-      <Member MemberType="Field" Name="WindowsPrincipal" />
-      <Member MemberType="Field" Name="value__" />
-    </Type>
     <Type Name="System.Security.Principal.TokenImpersonationLevel">
       <Member MemberType="Field" Name="Anonymous" />
       <Member MemberType="Field" Name="Delegation" />
index 6240e01..2bb41e3 100644 (file)
   <ItemGroup>
     <SecurityPrincipalSources Include="$(BclSourcesRoot)\System\Security\Principal\IIdentity.cs" />
     <SecurityPrincipalSources Include="$(BclSourcesRoot)\System\Security\Principal\IPrincipal.cs" />
-    <SecurityPrincipalSources Include="$(BclSourcesRoot)\System\Security\Principal\PrincipalPolicy.cs" />
     <SecurityPrincipalSources Include="$(BclSourcesRoot)\System\Security\Principal\TokenImpersonationLevel.cs" />
   </ItemGroup>
   <ItemGroup>
index 03ccb87..27b0d30 100644 (file)
@@ -12399,11 +12399,6 @@ namespace System.Security.Principal
         System.Security.Principal.IIdentity Identity { get; }
         bool IsInRole(string role);
     }
-    public enum PrincipalPolicy {
-        UnauthenticatedPrincipal = 0,
-        NoPrincipal = 1,
-        WindowsPrincipal = 2,
-    }
     public enum TokenImpersonationLevel
     {
         Anonymous = 1,
diff --git a/src/mscorlib/src/System/Security/Principal/PrincipalPolicy.cs b/src/mscorlib/src/System/Security/Principal/PrincipalPolicy.cs
deleted file mode 100644 (file)
index d6c7f38..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-// 
-
-//
-//
-//  Enum describing what type of principal to create by default (assuming no
-//  principal has been set on the AppDomain).
-//
-
-namespace System.Security.Principal
-{
-    [Serializable]
-    public enum PrincipalPolicy {
-        // Note: it's important that the default policy has the value 0.
-        UnauthenticatedPrincipal = 0,
-        NoPrincipal = 1,
-        WindowsPrincipal = 2,
-    }
-}