Skip to content

Commit 7843d6d

Browse files
missed some stuff
1 parent 8be6dfc commit 7843d6d

4 files changed

Lines changed: 4 additions & 31 deletions

File tree

ExtendedSystemObjects/ImmutableLookupMapUnmanaged.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,12 @@
1818

1919
namespace ExtendedSystemObjects
2020
{
21+
/// <inheritdoc cref="IDisposable" />
2122
/// <summary>
2223
/// A high-performance, immutable lookup map using unmanaged arrays.
2324
/// Suitable for value types only. Keys must be unique.
2425
/// </summary>
25-
public sealed unsafe class ImmutableLookupMapUnmanaged<TKey, TValue> : IDisposable, IEnumerable<KeyValuePair<TKey, TValue>>
26+
public sealed class ImmutableLookupMapUnmanaged<TKey, TValue> : IDisposable, IEnumerable<KeyValuePair<TKey, TValue>>
2627
where TKey : unmanaged, IEquatable<TKey>
2728
where TValue : unmanaged
2829
{
@@ -58,7 +59,6 @@ public sealed unsafe class ImmutableLookupMapUnmanaged<TKey, TValue> : IDisposab
5859
/// <param name="data">A dictionary containing the initial key-value pairs.</param>
5960
/// <exception cref="ArgumentNullException">Thrown when <paramref name="data"/> is null.</exception>
6061
/// <exception cref="InvalidOperationException">Thrown when a duplicate key is found.</exception>
61-
6262
public ImmutableLookupMapUnmanaged(IDictionary<TKey, TValue> data)
6363
{
6464
if (data == null)
@@ -165,6 +165,7 @@ public IEnumerator<KeyValuePair<TKey, TValue>> GetEnumerator()
165165
/// </returns>
166166
IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
167167

168+
/// <inheritdoc />
168169
/// <summary>
169170
/// Releases the unmanaged memory used by the lookup map.
170171
/// </summary>

ExtendedSystemObjects/ResourceFile.cs

Lines changed: 0 additions & 20 deletions
This file was deleted.

ExtendedSystemObjects/UnmanagedArray.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
using System;
1414
using System.Collections;
1515
using System.Collections.Generic;
16-
using System.Numerics;
1716
using System.Runtime.InteropServices;
1817
using ExtendedSystemObjects.Helper;
1918
using ExtendedSystemObjects.Interfaces;
@@ -51,14 +50,6 @@ public sealed unsafe class UnmanagedArray<T> : IUnmanagedArray<T>, IEnumerable<T
5150
/// </summary>
5251
private T* _ptr;
5352

54-
/// <summary>
55-
/// Gets a value indicating whether [use simd].
56-
/// </summary>
57-
/// <value>
58-
/// <c>true</c> if [use simd]; otherwise, <c>false</c>.
59-
/// </value>
60-
private static bool UseSimd => Vector.IsHardwareAccelerated;
61-
6253
/// <summary>
6354
/// Initializes a new instance of the <see cref="UnmanagedArray{T}" /> class.
6455
/// </summary>

ExtendedSystemObjects/UnmanagedIntArray.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
*/
88

99
// ReSharper disable MemberCanBeInternal
10+
// ReSharper disable UnusedMember.Global
1011

1112
using System;
1213
using System.Collections;

0 commit comments

Comments
 (0)