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;
 }
예제 #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);
        }
예제 #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);
     }
 }
예제 #5
0
 public override bool IsVisible(ModifierContainer modifiers, SetModifierCompletionListItem item)
 {
     return(base.IsVisible(modifiers, item));
 }
예제 #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);
 }