Skip to content

AssemblyBuilder docs for .NET Core are outdated #2645

Closed

Description

@cablooshe

Currently the System.Reflection.AssemblyBuilder docs for .NET Core are currently giving examples and remarks based around saving an assembly using the AssemblyBuilderAccess.RunAndSave property. However, this property, as well as AssemblyBuilderAccess.Save, don't exist in .NET Core, as right now there is no way to set an access modifier that allows for saving. Furthermore, there also is a new property added to .NET Core: AssemblyBuilderAccess.RunAndCollect.

Most of the information on the AssemblyBuilder page discusses working with saved assemblies, which isn't possible in Core. The docs should be updated to reference only running the dynamic assembly, instead of running and saving. There also could be additions to the examples showing the use of a collectible dynamic assembly.

Activity

  1. added
    untriaged
    on Jun 26, 2019
  2. added
    cross-platform
    doc-enhancement
    and removed
    untriaged
    on Nov 20, 2019
  3. mairaw commented on Nov 20, 2019

    @mairaw
    Contributor

    @steveharter, @GrabYourPitchforks is this something you can help out to make sure we call out explicitly the .NET Framework behavior vs. .NET Core?

  4. added
    Pri3
    on Nov 11, 2020
  5. buyaa-n commented on Jan 28, 2022

    @buyaa-n
    Contributor

    Fixed by #5491, thanks @MSDN-WhiteKnight

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

    Pri3area-System.Reflection.Emitcross-platformdoc-enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions