Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Requires on type in NativeAot #68978

Merged
merged 7 commits into from
May 13, 2022

Commits on May 6, 2022

  1. Support Requires on type in NativeAot

    - Adds new overload for MessageOrigin creation that uses MethodIL and an offset as parameters, eventually this will be used to produce warnings
    - Share methods used in linker/analyzer for asking questions about members being in RequiresScope, members Requiring and Requires warning generation. These methods include handling of Requires on a type.
    - The ReflectionMethodBodyScanner on field access now verifies for requires on type, since implicitly can call the static constructor
    - Updated the mismatch attribute rules to take into account Requires on type
    tlakollo committed May 6, 2022
    Configuration menu
    Copy the full SHA
    e65a043 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2022

  1. Rename methods to match more analyzer/linker

    Added support for RequiresAssemblyFilesAttribute
     - Now the code checks for RAF and warns about it
     - Added support to check and retrieve attributes in a property
     - Added overloads to IsInRequiresScope that verify associated properties
    Added new constant values for the different requires attributes
    tlakollo committed May 10, 2022
    Configuration menu
    Copy the full SHA
    dd5c0b3 View commit details
    Browse the repository at this point in the history
  2. Change DoesMemberRequires to DoesMemberRequire

    Add static constructor id
    Change this name in GetDecodedCustomAttribute for prop
    tlakollo committed May 10, 2022
    Configuration menu
    Copy the full SHA
    28f0abb View commit details
    Browse the repository at this point in the history

Commits on May 11, 2022

  1. Configuration menu
    Copy the full SHA
    4878bd3 View commit details
    Browse the repository at this point in the history
  2. Fix more CI issues

    Tlakollo committed May 11, 2022
    Configuration menu
    Copy the full SHA
    1b14df5 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2022

  1. More fixes for CI

    Tlakollo committed May 12, 2022
    Configuration menu
    Copy the full SHA
    b578948 View commit details
    Browse the repository at this point in the history
  2. Trigger Build after JIT fix

    Tlakollo committed May 12, 2022
    Configuration menu
    Copy the full SHA
    8d718ed View commit details
    Browse the repository at this point in the history