コード例 #1
0
 protected TypeReference GetStaticClassType(string identifier, INode parent)
 {
     if (Char.IsUpper(identifier[0]))
     {
         string fullName = TypeResolver.GetStaticFullName(identifier, parent);
         if (CodeBase.Types.Contains(fullName))
         {
             return(AstUtil.GetTypeReference(fullName, parent));
         }
         else if (CodeBase.Mappings.Contains(fullName))
         {
             return(AstUtil.GetTypeReference(fullName, parent));
         }
     }
     return(null);
 }
コード例 #2
0
 protected string GetStaticFullName(string identifier, INode parent)
 {
     return(TypeResolver.GetStaticFullName(identifier, parent));
 }