Uh oh!
There was an error while loading. Please reload this page.
Expose extension points needed by UnityLinker. - #90688
Conversation
ghost
commented
Aug 16, 2023
Tagging subscribers to this area: @agocke, @sbomer, @vitek-karas Issue Details
|
e162037 to
68b4b5aComparemrvoorhe
commented
Aug 16, 2023
This is probably going to fail the ref api checks. I forget the command to update the suppressions, but I remember the job that fails tells you the command to run. If I get that failure I'll update the PR. |
vitek-karas
commented
Aug 16, 2023
I don't know about the api checks, but there's an intentional difference between members marked as public and the surface exposed through the ref assemblies. I would expect this change to NOT modify the ref assemblies. The ref assemblies are solely for custom steps - basically an attempt to minimize the API surface exposed to custom steps (with an eventual goal of removing custom steps altogether). @sbomer might know details about the ref assembly generation - if it does become a problem. |
sbomer
commented
Aug 16, 2023
The api compat validation changed with the move to dotnet/runtime, and it now checks that public APIs in the implementation are also in the ref assembly. As @vitek-karas described, that's not what we want, so we use the suppressions. The build failure is showing: Last time you updated the suppressions it looked right to me. I assume this is how you did it. |
68b4b5a to
1b96b9bComparemrvoorhe
commented
Aug 17, 2023
@vitek-karas@sbomer I think this PR is ready. There are failures but I don't think they are related. |
Uh oh!
There was an error while loading. Please reload this page.
* Expose stages of MarkStep for customization * Add back `MethodsWithOverrideInformation` * Expose `TypeMapInfo` and `EnsureProcessed` * Re-expose a way to pass in a different `UnintializedContextFactory` * Move AssemblyResolver creation to `UnintializedContextFactory` so that we can have control over the resolver again. * Make AssemblyResolver more extensible * We need to search winmd files. * We control over setting up the ReaderParameters * Expose some methods we need to override. * Make `KeepMembersForDebugger` a property so we can turn it on or off. * Make MarkAssembly virtual * Re-expose `ShouldMarkInterfaceImplementation`
1b96b9b to
a432565Comparemrvoorhe
commented
Aug 23, 2023
@vitek-karas This PR is ready to be merged. |
vitek-karas
commented
Aug 24, 2023
Thanks a lot @mrvoorhe |
Expose stages of MarkStep for customization
Add back
MethodsWithOverrideInformationExpose
TypeMapInfoandEnsureProcessedRe-expose a way to pass in a different
UnintializedContextFactoryMove AssemblyResolver creation to
UnintializedContextFactoryso that we can have control over the resolver again.Make AssemblyResolver more extensible
We need to search winmd files.
We control over setting up the ReaderParameters
Expose some methods we need to override.
Make
KeepMembersForDebuggera property so we can turn it on or off.Make MarkAssembly virtual
Re-expose
ShouldMarkInterfaceImplementation