+2004-10-18 Martin Baulig <martin@ximian.com>
+
+ * expression.cs (Cast.DoResolve): Don't access the TypeExpr's
+ `Type' directly, but call ResolveType() on it.
+ (Probe.DoResolve): Likewise.
+
2004-10-18 Raja R Harinath <rharinath@novell.com>
* class.cs (FieldMember.DoDefine): Reset ec.InUnsafe after doing
public override Expression DoResolve (EmitContext ec)
{
- ProbeType = ProbeType.ResolveAsTypeTerminal (ec, false);
- if (ProbeType == null)
+ TypeExpr texpr = ProbeType.ResolveAsTypeTerminal (ec, false);
+ if (texpr == null)
return null;
- probe_type = ProbeType.Type;
+ probe_type = texpr.ResolveType (ec);
CheckObsoleteAttribute (probe_type);
if (target == null)
return null;
- type = target.Type;
+ type = target.ResolveType (ec);
CheckObsoleteAttribute (type);
here, it makes it easier for me to see what changed in MCS since
the last time I merged.
+2004-10-18 Martin Baulig <martin@ximian.com>
+
+ * expression.cs (Cast.DoResolve): Don't access the TypeExpr's
+ `Type' directly, but call ResolveType() on it.
+ (Probe.DoResolve): Likewise.
+
2004-10-18 Martin Baulig <martin@ximian.com>
* expression.cs (Invocation.BetterFunction): Put back
public override Expression DoResolve (EmitContext ec)
{
- ProbeType = ProbeType.ResolveAsTypeTerminal (ec, false);
- if (ProbeType == null)
+ TypeExpr texpr = ProbeType.ResolveAsTypeTerminal (ec, false);
+ if (texpr == null)
return null;
- probe_type = ProbeType.Type;
+ probe_type = texpr.ResolveType (ec);
CheckObsoleteAttribute (probe_type);
if (target == null)
return null;
- type = target.Type;
+ type = target.ResolveType (ec);
CheckObsoleteAttribute (type);