Skip to content

Document Single file unfriendly APIs #38405

@MichalStrehovsky

Description

@MichalStrehovsky

This is a running list of APIs that might be problematic for single file and we'll need to tag in some way. Until we have such mechanism here they are:

  • Assembly.Location
  • Assembly.CodeBase
  • Assembly.EscapedCodeBase
  • AssemblyName.CodeBase
  • AssemblyName.EscapedCodeBase
  • AssemblyDependencyResolver
  • Assembly.GetFile
  • Assembly.GetFiles
  • Marshal.GetHINSTANCE
  • Module.FullyQualifiedName

Assembly load APIs that might be problematic if people choose them instead of Assembly.Load by accident:

  • AssemblyLoadContext.LoadFromAssemblyPath
  • Assembly.LoadFile
  • Assembly.LoadFrom

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions