public override bool Equals(object obj)
 {
     if (obj is NamespaceWrapper)
     {
         NamespaceWrapper other = obj as NamespaceWrapper;
         return((modef.Equals(other.modef)) && (@namespace == other.@namespace));
     }
     return(base.Equals(obj));
 }
 public void VisitTypeDefinitionCollection(TypeDefinitionCollection types)
 {
     foreach (TypeDefinition typedef in types)
     {
         if ((typedef.Attributes & TypeAttributes.VisibilityMask) <= TypeAttributes.Public)
         {
             NamespaceWrapper wrapper = new NamespaceWrapper(typedef.Module, typedef.Namespace);
             AppendNode(typedef.Module, wrapper, true);
             AppendNode(wrapper, typedef, true);
         }
     }
 }
Exemple #3
0
 public static Icons GetNamespaceImageIndex(NamespaceWrapper @namespace)
 {
     return Icons.PublicNamespace;
 }
Exemple #4
0
 public static Icons GetNamespaceImageIndex(NamespaceWrapper @namespace)
 {
     return(Icons.PublicNamespace);
 }
 public void VisitTypeDefinitionCollection(TypeDefinitionCollection types)
 {
     foreach (TypeDefinition typedef in types)
     {
         if ((typedef.Attributes & TypeAttributes.VisibilityMask) <= TypeAttributes.Public)
         {
             NamespaceWrapper wrapper = new NamespaceWrapper(typedef.Module, typedef.Namespace);
             AppendNode(typedef.Module, wrapper, true);
             AppendNode(wrapper, typedef, true);
         }
     }
 }