public void GetNamespaces(uint cNameSpaces, out uint pcNameSpaces, ISymUnmanagedNamespace[] namespaces)
 {
     Interop.CorSym.ISymUnmanagedNamespace[] array_namespaces = new Interop.CorSym.ISymUnmanagedNamespace[namespaces.Length];
     for (int i = 0; (i < namespaces.Length); i = (i + 1))
     {
         if ((namespaces[i] != null))
         {
             array_namespaces[i] = namespaces[i].WrappedObject;
         }
     }
     this.WrappedObject.GetNamespaces(cNameSpaces, out pcNameSpaces, array_namespaces);
     for (int i = 0; (i < namespaces.Length); i = (i + 1))
     {
         if ((array_namespaces[i] != null))
         {
             namespaces[i] = ISymUnmanagedNamespace.Wrap(array_namespaces[i]);
         }
         else
         {
             namespaces[i] = null;
         }
     }
 }
Exemple #2
0
        public override bool Equals(object o)
        {
            ISymUnmanagedNamespace casted = o as ISymUnmanagedNamespace;

            return((casted != null) && (casted.WrappedObject == wrappedObject));
        }