Beispiel #1
0
 public ClassSymbol(string name, ClassDeclarationSyntax declaration = null, bool isStatic = false, bool isIncluded = false, bool isAbstract = false, bool isSerializable = false, ClassSymbol parentSym = null, Text.TextLocation location = new Text.TextLocation())
     : base(name, location)
 {
     Declaration    = declaration;
     IsStatic       = isStatic;
     IsIncluded     = isIncluded;
     IsAbstract     = isAbstract;
     IsSerializable = isSerializable;
     ParentSym      = parentSym;
 }
Beispiel #2
0
 private static void WriteClassTo(ClassSymbol symbol, TextWriter writer)
 {
     writer.WriteKeyword(SyntaxKind.ClassKeyword);
     writer.WriteSpace();
     writer.WriteIdentifier(symbol.Name);
 }