bool HasType(ResolveResult r) { return r.Type.Kind != TypeKind.Unknown && r.Type.Kind != TypeKind.Null; } #endregion