Classname ending with " +<>c"

bdevuystbdevuyst Posts: 2
edited December 8, 2015 2:25PM in ANTS Memory Profiler 8
Hi,
When I use the memory profiler, I can see some types as
- classname
- classname+<>c

I can found the first type in the project I work on, but, I do not know the second one.

Is is something from Ants mem profiler ?

Thanks for your help

Comments

  • Jessica RJessica R Posts: 1,319 Rose Gold 4
    Hi and thanks for your post!

    Regarding your query, class names ending in " +<>c" usually represent compiler generated classes.

    These aren't added because of the profiler, but will show up when your application uses things like lamba functions, anonymous functions, or keywords like Async and yield. In these cases, the compiler needs to introduce actual constructs for things like classes, backing fields, variables etc... The <> is used at the start of the generated construct names to distinguish them from user classes.

    Hope this info helps!

    Jessica Ramos | Product Support Engineer | Redgate Software

    Have you visited our Help Center?


Sign In or Register to comment.