+2002-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * class.cs: fixed compilation on windoze.
+
2002-08-03 Martin Baulig <martin@gnome.org>
* interface.cs (Interface.GetInterfaceBases): Check whether all
if ((flags & Modifiers.INTERNAL) != 0) {
if ((flags & Modifiers.PROTECTED) != 0) {
- if ((int) level < AccessLevel.ProtectedInternal)
+ if ((int) level < (int) AccessLevel.ProtectedInternal)
level = AccessLevel.ProtectedInternal;
} else {
- if ((int) level < AccessLevel.Internal)
+ if ((int) level < (int) AccessLevel.Internal)
level = AccessLevel.Internal;
}
} else if ((flags & Modifiers.PROTECTED) != 0) {
- if ((int) level < AccessLevel.Protected)
+ if ((int) level < (int) AccessLevel.Protected)
level = AccessLevel.Protected;
} else if ((flags & Modifiers.PRIVATE) != 0)
level = AccessLevel.Private;
return level;
if (t.IsNestedAssembly || t.IsNotPublic) {
- if (level < (int) AccessLevel.Internal)
+ if ((int) level < (int) AccessLevel.Internal)
level = AccessLevel.Internal;
}
if (t.IsNestedFamily) {
- if (level < (int) AccessLevel.Protected)
+ if ((int) level < (int) AccessLevel.Protected)
level = AccessLevel.Protected;
}
if (t.IsNestedFamORAssem) {
- if (level < (int) AccessLevel.ProtectedInternal)
+ if ((int) level < (int) AccessLevel.ProtectedInternal)
level = AccessLevel.ProtectedInternal;
}