Exemplo n.º 1
0
 public void WriteId(EscapingTextWriter trapFile, IGenericContext gc)
 {
     unmodifiedType.WriteId(trapFile, gc);
     trapFile.Write(isRequired ? " modreq(" : " modopt(");
     modifier.WriteId(trapFile, gc);
     trapFile.Write(")");
 }
Exemplo n.º 2
0
 public void WriteId(EscapingTextWriter trapFile, IGenericContext gc)
 {
     elementType.WriteId(trapFile, gc);
     trapFile.Write('[');
     for (var i = 1; i < shape.Rank; ++i)
     {
         trapFile.Write(',');
     }
     trapFile.Write(']');
 }
Exemplo n.º 3
0
            public void WriteId(EscapingTextWriter trapFile, IGenericContext gc)
            {
                genericType.WriteId(trapFile, gc);
                trapFile.Write('<');
                var index = 0;

                foreach (var arg in typeArguments)
                {
                    trapFile.WriteSeparator(",", ref index);
                    arg.WriteId(trapFile, gc);
                }
                trapFile.Write('>');
            }
Exemplo n.º 4
0
 public void WriteId(EscapingTextWriter trapFile, IGenericContext gc)
 {
     elementType.WriteId(trapFile, gc);
     trapFile.Write('&');
 }
Exemplo n.º 5
0
 public void WriteId(TextWriter trapFile, IGenericContext gc)
 {
     elementType.WriteId(trapFile, gc);
     trapFile.Write("[]");
 }