Skip to content

Commit 327f07b

Browse files
committed
Remove leftover ImmutableArrayBuilder type
1 parent 91fdb77 commit 327f07b

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/CommunityToolkit.Mvvm.SourceGenerators/Helpers/ImmutableArrayBuilder{T}.cs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -205,18 +205,4 @@ private void ResizeBuffer(int sizeHint)
205205
ArrayPool<T?>.Shared.Return(oldArray, clearArray: typeof(T) != typeof(char));
206206
}
207207
}
208-
}
209-
210-
/// <summary>
211-
/// Private helpers for the <see cref="ImmutableArrayBuilder{T}"/> type.
212-
/// </summary>
213-
file static class ImmutableArrayBuilder
214-
{
215-
/// <summary>
216-
/// Throws an <see cref="ArgumentOutOfRangeException"/> for <c>"index"</c>.
217-
/// </summary>
218-
public static void ThrowArgumentOutOfRangeExceptionForIndex()
219-
{
220-
throw new ArgumentOutOfRangeException("index");
221-
}
222208
}

0 commit comments

Comments
 (0)