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

Merge nmirror to master - #1677

Merged
jkotas merged 9 commits into
masterfrom
nmirror
Aug 20, 2016
Merged

jkotas merged 9 commits into
masterfrom
nmirror

Conversation

@MichalStrehovsky

Copy link
Copy Markdown
Member

No description provided.

davidwrighton and others added 4 commits August 19, 2016 11:54
…singRuntimeArtifactException

The issue here is that for reflection access to fields on types which are statically generated, but not directly present in the field mapping tables, we behave incorrectly
- USG logic should work for all instantiations, but it was disabled for non-dynamic types
- When USG logic was used for a pre-existing instantiations to access a thread static field we need to create a field access cookie instead of just using the offset
- Also exposed a memory leak in the dictionary generation path where we would allocate a dictionary cell target each time a query was asked instead of returning the previously allocated one
- New test cases to cover the problematic behavior so we don't regress in the future

[tfs-changeset: 1623299]
This changeset contains changes authored by Tom Meschter and me to move types from System.Private.Reflection and System.Reflection.Primitives into System.Private.CoreLib, in addition to moving System.IO.Stream and some types from System.Reflection.Primitives into System.Private.CoreLib.

What also comes with these cahnges are:
- Moving away from consuming UWP 5.1.0 MP to UWP 5.2.2 + the new live libs, to reflect the move of types out from corefx libs into System.Private.CoreLib.
- Turning off producing TestILC with UWP 5.0.0 MP (RTM), because the new toolchain will not be compatible with the old MP anymore, hence this combo doesn't make any sense anymore. (note: we need to turn off the relevant test passes as a follow-up)

[tfs-changeset: 1623333]
Atsushi Kanamori and others added 5 commits August 19, 2016 17:27
The long awaited step #3:

- Change Type's parent type to MemberInfo
- Change TypeInfo's parent type to Type
- Get rid of RuntimeType (RuntimeTypeInfo serves
  as its own AsType())
- Get rid of InstantiatedType (InstantedTypeInfo
  serves as its own AsType())
Reflection Refactoring Step #3.
@jkotas
jkotas merged commit db9e666 into master Aug 20, 2016
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.

5 participants