using System.Reflection;
using System.Reflection.Emit;
-namespace Mono.CSharp {
+namespace Mono.MonoBASIC {
/// <summary>
/// Interfaces
public Interface (TypeContainer parent, string name, int mod, Attributes attrs, Location l)
: base (parent, name, l)
{
- ModFlags = Modifiers.Check (AllowedModifiers, mod, Modifiers.PRIVATE, l);
+ ModFlags = Modifiers.Check (AllowedModifiers, mod, Modifiers.PUBLIC, l);
OptAttributes = attrs;
method_builders = new ArrayList ();
if (!Parent.AsAccessible (t, ModFlags))
Report.Error (61, Location,
"Inconsistent accessibility: base interface `" +
- TypeManager.CSharpName (t) + "' is less " +
+ TypeManager.MonoBASIC_Name (t) + "' is less " +
"accessible than interface `" +
Name + "'");