Ejemplo n.º 1
0
        protected void WriteBeginType(TypeAccessibility accessibility, string kind, string name)
        {
            switch (accessibility)
            {
            case TypeAccessibility.Private:
                Write("private ");
                break;

            case TypeAccessibility.Protected:
                Write("protected ");
                break;

            case TypeAccessibility.ProtectedInternal:
                Write("protected internal ");
                break;

            case TypeAccessibility.Internal:
                Write("internal ");
                break;

            case TypeAccessibility.Public:
                Write("public ");
                break;

            default:
                break;
            }

            Write("partial " + kind + " " + name);
            WriteLine();
            WriteLine(typeIndentLevel, "{");
        }
Ejemplo n.º 2
0
 public ReflectableAttribute(TypeAccessibility typeAccessibility)
 {
 }
Ejemplo n.º 3
0
 public extern ReflectableAttribute(TypeAccessibility typeAccessibility);