Skip to content

Ban SR.GetResourceString #81338

Closed
Closed

Description

@MichalStrehovsky

We should forbid calling SR.GetResourceString directly. This throws off size optimizations that try to get rid of the unused resource strings like #80896. We need to clean these up and enable enforcement.

Microsoft.CSharp, Microsoft.VisualBasic, System.ComponentModel seem to be the worst offenders.

Activity

  1. added this to the 8.0.0 milestone on Jan 29, 2023
  2. modified the milestones: 8.0.0, Future on Apr 6, 2023
  3. added a commit that references this issue on Jun 22, 2023
    8718892
  4. ghost added
    in-prThere is an active PR which will close this issue when it is merged
    on Jun 22, 2023
  5. added a commit that references this issue on Jun 23, 2023
    a0e670a
  6. ghost removed
    in-prThere is an active PR which will close this issue when it is merged
    on Jun 23, 2023
  7. ghost locked as resolved and limited conversation to collaborators on Jul 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    • Status
      No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions