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); }
protected string GetStaticFullName(string identifier, INode parent) { return(TypeResolver.GetStaticFullName(identifier, parent)); }