[Mono-devel-list] mcs patch for precise location handling
Marek Safar
marek.safar at seznam.cz
Tue Jun 28 11:59:11 EDT 2005
Hello Eno,
Now as you moved Location to MemberName
public class MemberName {
public readonly string Name;
public readonly MemberName Left;
+ public readonly Location Location;
You could remove loc from MemberCore and add only property as
Location Location {
get {
return member_name.Location;
}
}
It can save a lot.
Also code like this
- ModFlags = Modifiers.Check (allowed_mod, mod, def_mod, loc);
+ ModFlags = Modifiers.Check (allowed_mod, mod, def_mod, name.Location);
then could be written more elegant with Location only.
Marek
More information about the Mono-devel-list
mailing list