Skip to content
This repository was archived by the owner on Nov 13, 2026. It is now read-only.

Bring up the apis to retrieve custom attributes. - #1721

Merged
1 commit merged into
nmirrorfrom
unknown repository
Aug 24, 2016
Merged

1 commit merged into
nmirrorfrom
unknown repository

Conversation

@ghost

@ghost ghost commented Aug 24, 2016

Copy link
Copy Markdown

Gee, I don't think we have enough apis to do this - should
we propose a few more?

Anyhow, this was done by moving the CustomAttributeExtensions
class from System.Reflection.Extensions.dll into Corelib.

We also needed to move CustomAttributeInstantiator
from S.P.R.Execution to Corelib (with a typeforwarder.)

Though CustomAttributeExtensions is supposed to be the
"bandaid" api, it actually has the nicest apis so now
it gets to be near the bottom of the stack (with
XInfo.CustomAttributes being the lowest-level primitive.)

Everything else is legacy api that we threw out in
.Net Core.

Gee, I don't think we have enough apis to do this - should
we propose a few more?

Anyhow, this was done by moving the CustomAttributeExtensions
class from System.Reflection.Extensions.dll into Corelib.

We also needed to move CustomAttributeInstantiator
from S.P.R.Execution to Corelib (with a typeforwarder.)

Though CustomAttributeExtensions is supposed to be the
"bandaid" api, it actually has the nicest apis so now
it gets to be near the bottom of the stack (with
XInfo.CustomAttributes being the lowest-level primitive.)

Everything else is legacy api that we threw out in
.Net Core.
@ghost
ghost merged commit cb1d9e5 into dotnet:nmirror Aug 24, 2016
@ghost
ghost deleted the ca branch August 24, 2016 22:50
MichalStrehovsky pushed a commit to MichalStrehovsky/corert that referenced this pull request Mar 28, 2020
MichalStrehovsky pushed a commit to MichalStrehovsky/corert that referenced this pull request Mar 31, 2020
jkotas pushed a commit that referenced this pull request Apr 1, 2020
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant