Docs around Type and TypeInfo/Examples? #53113
-
There is not so much well documented info around Type and TypeInfo, as well as what GetTypes, ExportedTypes, DefinedTypes really do. Additionally what happend to the separation of Type and TypeInfo as shown in https://devblogs.microsoft.com/dotnet/evolving-the-reflection-api/. I think I remember (but I can't find the blog anymore that this strict separation has not been done because of too many problems that arose. I'm especially interested in the MetadataLoadContext. Since you get the "full" Type it's not quite clear to me what the GetTypeInfo() does. I understand somehow that you didn't want to introduced a ReflectionOnlyAssembly and instead throw exceptions on methods where the full reflection is not available. For me it's currently a bit trial and error and it would be nice if someone could guide me in a direction where I can find some more docs and infos around this topic. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
I remember |
Beta Was this translation helpful? Give feedback.
-
There is no functional difference between |
Beta Was this translation helpful? Give feedback.
I remember
TypeInfo
was introduced for limited reflection for Windows Store. Now are there any real difference?