ICSharpCode.NRefactory.MonoCSharp.Interface.Interface C# (CSharp) Method

Interface() public method

public Interface ( TypeContainer parent, MemberName name, Modifiers mod, Attributes attrs ) : System
parent TypeContainer
name MemberName
mod Modifiers
attrs Attributes
return System
		public Interface (TypeContainer parent, MemberName name, Modifiers mod, Attributes attrs)
			: base (parent, name, attrs, MemberKind.Interface)
		{
			var accmods = IsTopLevel ? Modifiers.INTERNAL : Modifiers.PRIVATE;

			this.ModFlags = ModifiersExtensions.Check (AllowedModifiers, mod, accmods, name.Location, Report);
			spec = new TypeSpec (Kind, null, this, null, ModFlags);
		}