You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 13, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 13, 2026. It is now read-only.
Implement parser for type names using Type.GetType format #504
I need a C# one that will produce type system objects in the new type system as its output. I may need one that doesn't use the immutable api surface (I'll look into it), but otherwise, the one you reference there is exactly what we'll need.
It's still a work in progress (we need to remove a bunch of allocations before calling it done), but it's designed to go from string -> custom object model.
@davkean@nguerrera What is the timeline for shipping TypeNameParsing in System.Reflection.Metadata? Turns out the immutable part might not be a big deal, but we will need this within ~1 month and if it's not ready by then, we will go with the reflection code because that's already done and tested.
Activity
davidwrighton commentedon Dec 9, 2015
There is an existing parser in reflection, we may be able to reuse that.
davkean commentedon Dec 9, 2015
MSDN is not a full specification - I have specified one here: https://github.com/dotnet/coreclr/issues/1345.
Do you need a native one or can you use a C# one that you native compile? We've got a managed one here: https://github.com/dotnet/corefx/tree/dev/metadata/src/System.Reflection.Metadata/src/System/Reflection/Metadata/Decoding/TypeNameParsing.
davidwrighton commentedon Dec 9, 2015
I need a C# one that will produce type system objects in the new type system as its output. I may need one that doesn't use the immutable api surface (I'll look into it), but otherwise, the one you reference there is exactly what we'll need.
davkean commentedon Dec 9, 2015
@nguerrera
It's still a work in progress (we need to remove a bunch of allocations before calling it done), but it's designed to go from string -> custom object model.
MichalStrehovsky commentedon Dec 9, 2015
The reflection one is used e.g. to build a CCI object model within the ProjectN dependency reducer. It's pretty reusable too.
MichalStrehovsky commentedon Dec 9, 2015
@davkean @nguerrera What is the timeline for shipping TypeNameParsing in System.Reflection.Metadata? Turns out the immutable part might not be a big deal, but we will need this within ~1 month and if it's not ready by then, we will go with the reflection code because that's already done and tested.
Implement parser for ECMA-335 SerString format
Implement parser for ECMA-335 SerString format
Implement parser for ECMA-335 SerString format