This repository was archived by the owner on Nov 1, 2020. It is now read-only.
Conversation
This is fixing several problems with how we did `ToString`: * The existing scheme required every `TypeDesc`/`MethodDesc`/`FieldDesc` descendant to override `ToString`. Of course we were not consistent with this and as a result, most of our synthetic type system entities had non-existent representation in the debugger. Overriding is a lot of boilerplate. * We were not flexible with the stringified names. E.g. instantiated types became too long because we were module- and namespace- qualifying everything. * (Minor) The runtime type loader was shipping with ToString support in retail configuration that was largely unused. With the new scheme, besides fixing the problems above, I'm adding a bunch of conveniences: * `MethodDesc` now also have signatures in their `ToString`. * Well-known primitive types have short aliases * System.Private prefix is shortened to S.P. I tested that the `TYPE_LOADER_TRACE` still works after this. The runtime type loader overrides the `ToString` in all the places that matter.
Merge nmirror to master
Use results of whole program analysis to drive devirtualization
* Added real support for Unbox stubs to WebAssembly
Find unwind info ourselves instead of initializing unwind cursors each time.
Null Check added to GetFullPath Function in Unix Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
* Add GetReference and TryGetArray to MemoryMarshal * Marking GetReference with AggressiveInlining * Do not use ByReference as a return type. * Addressing PR feedback. Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Merge nmirror to master
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.