Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Strip some security related attributes #8571

Merged
merged 1 commit into from
Dec 9, 2016

Commits on Dec 9, 2016

  1. Strip some security related attributes

    Strips SecurityCritical, SecuritySafeCritical, SecurityPermission,
    EnvironmentPermission, and PermissionSet attributes.
    
    Also removes empty defines these left behind.
    
    Patterns used:
    
    ^.*\[(System\.Security\.)?SecurityCritical\](\s*//.*|\s*)$[\r\n]*
    ^.*#if FEATURE_CORECLR[\s\r\n]*(#else)?[\s\r\n]*#endif.*[\r\n]*
    ^.*\[(System\.Security\.Permissions\.)?SecurityPermission(Attribute)?\([^)]*\)\](\s*//.*|\s*)$[\r\n]*
    JeremyKuhne committed Dec 9, 2016
    Configuration menu
    Copy the full SHA
    789610f View commit details
    Browse the repository at this point in the history