Boo.Lang.Compiler.Steps.EmitAssembly.MethodVisibilityAttributesFor C# (CSharp) Метод

MethodVisibilityAttributesFor() приватный статический Метод

private static MethodVisibilityAttributesFor ( Boo.Lang.Compiler.Ast.TypeMember member ) : MethodAttributes
member Boo.Lang.Compiler.Ast.TypeMember
Результат MethodAttributes
        private static MethodAttributes MethodVisibilityAttributesFor(TypeMember member)
        {
            if (member.IsPublic)
                return MethodAttributes.Public;
            if (member.IsProtected)
                return member.IsInternal ? MethodAttributes.FamORAssem : MethodAttributes.Family;
            if (member.IsInternal)
                return MethodAttributes.Assembly;
            return MethodAttributes.Private;
        }
EmitAssembly