Skip to content

Instantly share code, notes, and snippets.

@jcdickinson
Created February 9, 2011 20:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jcdickinson/819204 to your computer and use it in GitHub Desktop.
Save jcdickinson/819204 to your computer and use it in GitHub Desktop.
Type Attributes as C# Sees Them
--- OUTPUT ---
NonNestedClass: AutoLayout, AnsiClass, NotPublic, BeforeFieldInit
PublicClass: AutoLayout, AnsiClass, NotPublic, Public, BeforeFieldInit
NestedInternalClass: AutoLayout, AnsiClass, NotPublic, NestedAssembly, BeforeFieldInit
NestedProtectedClass: AutoLayout, AnsiClass, NotPublic, NestedFamily, BeforeFieldInit
NestedProtectedInternalClass: AutoLayout, AnsiClass, NotPublic, NestedFamORAssem, BeforeFieldInit
PrivateClass: NotPublic, NestedPrivate
--- LESS GARBAGE ---
NonNestedClass: NotPublic
PublicClass: NotPublic, Public
NestedInternalClass: NotPublic, NestedAssembly
NestedProtectedClass: NotPublic, NestedFamily
NestedProtectedInternalClass: NotPublic, NestedFamORAssem
PrivateClass: NotPublic, NestedPrivate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment