Thread: meta data and attribute

  1. #1
    Registered User
    Join Date
    May 2006

    meta data and attribute

    Hello everyone,

    Two questions related to meta data and attribute,


    .Net built-in and user defined attribute are both defined in meta data portion of assembly or not? In my past experience, I think method/class level attribute is only used to facilitate the method/class IL generation, and will not exist in final assembly file. Any comments?


    If .Net built-in and user defined attribute exist in the final meta data part of assembly, is it possible to use reflector to see them? (I have tried but can not find.)

    thanks in advance,

  2. #2
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Hannover, Germany
    Yes, it will be in the final assembly. And if you had googled this, by looking up basic stuff like "C# Attribute" instead of posting to other forums, you would get what you want without anoying people.

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Dynamic Memory Allocation for a Class Attribute
    By clkaiser in forum C++ Programming
    Replies: 2
    Last Post: 09-11-2006, 09:41 AM
  2. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 06:39 AM
  3. Best Data Structure for this in C++
    By alvifarooq in forum C++ Programming
    Replies: 6
    Last Post: 05-23-2005, 07:51 AM
  4. Tetris Questions
    By KneeGrow in forum Game Programming
    Replies: 19
    Last Post: 10-28-2003, 11:12 PM