What is this Type in .NET (Reflection)

后端 未结 2 1704
鱼传尺愫
鱼传尺愫 2020-12-29 20:11

What is this Type in .NET? I am using reflection to get a list of all the classes and this one turns up.

What is it? where does it come from? How is the name Display

2条回答
  •  被撕碎了的回忆
    2020-12-29 20:17

    Jon is of course correct. I've provided a "decoder ring" for figuring out what the various compiler-generate type names mean here:

    Where to learn about VS debugger 'magic names'

    The names are quite long and we sometimes get complaints that we're bulking up the size of metadata as a result. We might change the name generation rules to address this concern at any time in the future. It is therefore very important that you not write code that takes advantage of knowledge of this compiler implementation detail.

提交回复
热议问题