public static void ValidateRootScope(ISymUnmanagedScope scope) { int count; Assert.Equal(HResult.S_OK, scope.GetLocalCount(out count)); Assert.Equal(0, count); Assert.Equal(HResult.S_OK, ((ISymUnmanagedScope2)scope).GetConstantCount(out count)); Assert.Equal(0, count); Assert.Equal(HResult.S_OK, ((ISymUnmanagedScope2)scope).GetNamespaces(0, out count, null)); Assert.Equal(0, count); ISymUnmanagedScope parent; Assert.Equal(HResult.S_OK, scope.GetParent(out parent)); Assert.Null(parent); }