Fixed Vanara.Collection references

pull/133/head
dahall 2020-05-15 18:58:39 -06:00
parent 589d47c3b6
commit a75f2dd17d
2 changed files with 4 additions and 4 deletions

View File

@ -3882,17 +3882,17 @@ namespace Vanara.PInvoke
/// <summary>Enumerates the values in a <see cref="IEnumContextProps"/> instance.</summary>
/// <param name="e">The <see cref="IEnumContextProps"/> instance.</param>
/// <returns>The enumerated values.</returns>
public static IEnumerable<ContextProperty> Enumerate(this IEnumContextProps e) => new Collections.IEnumFromCom<ContextProperty>(e.Next, e.Reset);
public static IEnumerable<ContextProperty> Enumerate(this IEnumContextProps e) => new Vanara.Collections.IEnumFromCom<ContextProperty>(e.Next, e.Reset);
/// <summary>Enumerates the values in a <see cref="IEnumSTATSTG"/> instance.</summary>
/// <param name="e">The <see cref="IEnumSTATSTG"/> instance.</param>
/// <returns>The enumerated values.</returns>
public static IEnumerable<STATSTG> Enumerate(this IEnumSTATSTG e) => new Collections.IEnumFromCom<STATSTG>(e.Next, e.Reset);
public static IEnumerable<STATSTG> Enumerate(this IEnumSTATSTG e) => new Vanara.Collections.IEnumFromCom<STATSTG>(e.Next, e.Reset);
/// <summary>Enumerates the values in a <see cref="IEnumUnknown"/> instance.</summary>
/// <param name="e">The <see cref="IEnumUnknown"/> instance.</param>
/// <returns>The enumerated values.</returns>
public static IEnumerable<IntPtr> Enumerate(this IEnumUnknown e) => new Collections.IEnumFromCom<IntPtr>(e.Next, e.Reset);
public static IEnumerable<IntPtr> Enumerate(this IEnumUnknown e) => new Vanara.Collections.IEnumFromCom<IntPtr>(e.Next, e.Reset);
/// <summary>Enumerates the values in a <see cref="IEnumUnknown"/> instance.</summary>
/// <typeparam name="T">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.</typeparam>

View File

@ -130,7 +130,7 @@ namespace Vanara.PInvoke
/// <summary>Returns a hash code for this instance.</summary>
/// <returns>A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.</returns>
public override int GetHashCode() => new Collections.EnumerableEqualityComparer<byte>().GetHashCode(handle.ToIEnum<byte>((int)Size));
public override int GetHashCode() => new Vanara.Collections.EnumerableEqualityComparer<byte>().GetHashCode(handle.ToIEnum<byte>((int)Size));
/// <summary>Inserts the specified <see cref="PIDL"/> before the existing list.</summary>
/// <param name="insertPidl">The <see cref="PIDL"/> to insert.</param>