Пример #1
0
 /// <inheritdoc />
 public override void DumpTo(CodeWriter writer)
 {
     this.DumpAttributesTo(writer);
     ParameterType?.DumpContextualAttributesTo(writer, true);
     if (IsThis)
     {
         writer.Write("this ");
     }
     if (IsParams)
     {
         writer.Write("params ");
     }
     ParameterType?.DumpReferenceTo(writer);
     writer.Write(" ");
     writer.Write(Name);
     if (DefaultValue != null)
     {
         writer.Write(" = ");
         writer.Write(DefaultValue);
     }
 }