Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7547829
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T09:33:13+00:00 2026-05-30T09:33:13+00:00

I was looking at the metadata for Type, and noticed a member was protected,

  • 0

I was looking at the metadata for Type, and noticed a member was protected, which made me wonder what might derive from it, which made me realize I could write a class that derives from it, and all that makes me wonder what I can do with that (if anything).

No compiler error from following:

class MyType : Type
{
    // Implemented abstract members here.
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T09:33:14+00:00Added an answer on May 30, 2026 at 9:33 am

    Great question. I only have a partial answer. There are currently 4 classes that derive from Type. You can find the Type hierarchy on MSDN.

    System.Object
      System.Reflection.MemberInfo
        System.Type
          System.Reflection.Emit.EnumBuilder
          System.Reflection.Emit.GenericTypeParameterBuilder
          System.Reflection.Emit.TypeBuilder
          System.Reflection.TypeDelegator
    

    It looks like those types are basically used to encapsulate some “instance-building” logic. But I haven’t explored the code.

    Edit

    Oh, wow… that’s interesting. The code examples seem to not only be creating instances of types, but also classes themselves. Therefore, some of these classes are creating CLR types, and saving them off to real assemblies. That’s pretty cool.

    Edit Again

    Some of the big dogs have said that there are more than the four types I listed above. I used Reflector ReSharper to find the derived types and found these (there could still be types missing):

    System.Type
      System.RuntimeType
      System.ReflectionOnlyType
      System.Reflection.Emit.EnumBuilder
      System.Reflection.Emit.GenericTypeParameterBuilder
      System.Reflection.Emit.SymbolType
      System.Reflection.Emit.TypeBuilder
      System.Reflection.Emit.TypeBuilderInstantiation
      System.Reflection.TypeDelegator
    

    Edit Once More

    as @MarcGravell stated, there’s really no reason why you would want to derive a class from any of these. You could, however, use them within a class of your own to encapsulate your own logic.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Looking for C# class which wraps calls to do the following: read and write
I'm looking for a plugin or way to simply go from any namespace, type,
I'm looking at using the jQuery MetaData Plugin. Looks very interesting but... <li class=someclass
I'm looking to store some metadata in Docbook (V5) XML files. Specifically, links to
I'm looking at using a Windows SharePoint Services 3.0 wiki as a metadata repository.
How can I access/remove PNG metadata? I'm looking for a Mac application or a
Looking at the specifications for DLNA, most of the metadata communication appears to be
I'm looking for a way to filter out methods which have the unsafe modifier
I'm looking to use the MsmqIntegrationBinding to integrate with a legacy queue which has
Hi I'm looking for a WCF example which include service discovery and a way

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.