public override bool IsVisible(ModifierContainer modifiers, SetModifierCompletionListItem item)
 {
     ClassOrStructBlock c = modifiers.ParentParent as ClassOrStructBlock;
     if (c != null)
     {
         return !c.IsNested && base.IsVisible(modifiers, item);
     }
     return false;
 }
Example #2
0
        public override bool IsVisible(ModifierContainer modifiers, SetModifierCompletionListItem item)
        {
            ClassOrStructBlock c = modifiers.ParentParent as ClassOrStructBlock;

            if (c != null)
            {
                return(!c.IsNested && base.IsVisible(modifiers, item));
            }
            return(false);
        }
Example #3
0
 public override bool IsVisible(ModifierContainer modifiers, SetModifierCompletionListItem item)
 {
     if (modifiers.IsSet("static"))
     {
         return(false);
     }
     else
     {
         return(Unique.IsVisible(modifiers, item));
     }
 }
 public override bool IsVisible(ModifierContainer modifiers, SetModifierCompletionListItem item)
 {
     if (modifiers.IsSet("static"))
     {
         return false;
     }
     else
     {
         return Unique.IsVisible(modifiers, item);
     }
 }
Example #5
0
 public override bool IsVisible(ModifierContainer modifiers, SetModifierCompletionListItem item)
 {
     return(base.IsVisible(modifiers, item));
 }
Example #6
0
 public virtual bool IsVisible(ModifierContainer modifiers, SetModifierCompletionListItem item)
 {
     return(!modifiers.IsSet(item.Text));
 }
 public override bool IsVisible(ModifierContainer modifiers, SetModifierCompletionListItem item)
 {
     return base.IsVisible(modifiers, item);
 }
 public virtual bool IsVisible(ModifierContainer modifiers, SetModifierCompletionListItem item)
 {
     return !modifiers.IsSet(item.Text);
 }