From a75f2dd17d8df89f4bb6132c8978d34bc116a675 Mon Sep 17 00:00:00 2001 From: dahall Date: Fri, 15 May 2020 18:58:39 -0600 Subject: [PATCH] Fixed Vanara.Collection references --- PInvoke/Ole/Ole32/ObjIdl.cs | 6 +++--- PInvoke/Shell32/ShTypes.PIDL.cs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/PInvoke/Ole/Ole32/ObjIdl.cs b/PInvoke/Ole/Ole32/ObjIdl.cs index d76cc3b0..0811a49b 100644 --- a/PInvoke/Ole/Ole32/ObjIdl.cs +++ b/PInvoke/Ole/Ole32/ObjIdl.cs @@ -3882,17 +3882,17 @@ namespace Vanara.PInvoke /// Enumerates the values in a instance. /// The instance. /// The enumerated values. - public static IEnumerable Enumerate(this IEnumContextProps e) => new Collections.IEnumFromCom(e.Next, e.Reset); + public static IEnumerable Enumerate(this IEnumContextProps e) => new Vanara.Collections.IEnumFromCom(e.Next, e.Reset); /// Enumerates the values in a instance. /// The instance. /// The enumerated values. - public static IEnumerable Enumerate(this IEnumSTATSTG e) => new Collections.IEnumFromCom(e.Next, e.Reset); + public static IEnumerable Enumerate(this IEnumSTATSTG e) => new Vanara.Collections.IEnumFromCom(e.Next, e.Reset); /// Enumerates the values in a instance. /// The instance. /// The enumerated values. - public static IEnumerable Enumerate(this IEnumUnknown e) => new Collections.IEnumFromCom(e.Next, e.Reset); + public static IEnumerable Enumerate(this IEnumUnknown e) => new Vanara.Collections.IEnumFromCom(e.Next, e.Reset); /// Enumerates the values in a instance. /// The COM interface type to query for from each item in the collection. Note that if this type cannot be retrieved, an exception will be thrown. diff --git a/PInvoke/Shell32/ShTypes.PIDL.cs b/PInvoke/Shell32/ShTypes.PIDL.cs index db9ff49e..400929dc 100644 --- a/PInvoke/Shell32/ShTypes.PIDL.cs +++ b/PInvoke/Shell32/ShTypes.PIDL.cs @@ -130,7 +130,7 @@ namespace Vanara.PInvoke /// Returns a hash code for this instance. /// A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - public override int GetHashCode() => new Collections.EnumerableEqualityComparer().GetHashCode(handle.ToIEnum((int)Size)); + public override int GetHashCode() => new Vanara.Collections.EnumerableEqualityComparer().GetHashCode(handle.ToIEnum((int)Size)); /// Inserts the specified before the existing list. /// The to insert.