Ejemplo n.º 1
0
 private bool IsVoidTypeRegularType(TypeNamingParser.RegularTypeContext ctx)
 {
     if (ctx != null)
     {
         if (ctx.resolvedType() != null)
         {
             return(ctx.resolvedType().GetText().StartsWith("System.Void"));
         }
         return(ctx.nestedType().typeName().GetText().StartsWith("System.Void"));
     }
     return(false);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Exit a parse tree produced by <see cref="TypeNamingParser.regularType"/>.
 /// <para>The default implementation does nothing.</para>
 /// </summary>
 /// <param name="context">The parse tree.</param>
 public virtual void ExitRegularType([NotNull] TypeNamingParser.RegularTypeContext context)
 {
 }