SecurityTransparentAttribute.cs 801 B

12345678910111213141516171819
  1. // Licensed to the .NET Foundation under one or more agreements.
  2. // The .NET Foundation licenses this file to you under the MIT license.
  3. // See the LICENSE file in the project root for more information.
  4. namespace System.Security
  5. {
  6. // SecurityTransparentAttribute:
  7. // Indicates the assembly contains only transparent code.
  8. // Security critical actions will be restricted or converted into less critical actions. For example,
  9. // Assert will be restricted, SuppressUnmanagedCode, LinkDemand, unsafe, and unverifiable code will be converted
  10. // into Full-Demands.
  11. [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false, Inherited = false)]
  12. public sealed class SecurityTransparentAttribute : Attribute
  13. {
  14. public SecurityTransparentAttribute() { }
  15. }
  16. }