-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Split identifier calculation from code context and bind marshallers to the code context #106846
Split identifier calculation from code context and bind marshallers to the code context #106846
Conversation
…straints to remove replacing code contexts
…ind generators to the code context at resolution
Tagging subscribers to this area: @dotnet/interop-contrib |
…the timeout that showed up. Maybe this will fix the test runs?
…3 algorithm in collections stress.
I'm a bit confused why we can't store the |
We can't store the |
Additionally (until we change how we handle ownership), we have the I'm also planning refactoring how we handle the fact that pointers can't be used in generics to use a custom |
/ba-g Firefox failure unrelated |
…o the code context (dotnet#106846)
Split out
GetIdentifier
andCodeEmitOptions
from theStubCodeContext
into aStubIdentifierContext
.Use only
TypePositionInfo
andStubCodeContext
to resolve to generator instances and includeStubCodeContext
in the information bound into a bound marshaller.Use
StubIdentifierContext
during actual codegen to provide identifiers forTypePositionInfo
instances.Construct the
TypePositionInfo
correctly from the start so we never have to rebind and remove theRebind
method.Keep count info structured longer (required as part of the above changes) and fix a latent bug.