コガネブログ

平日更新を目標に Unity や C#、Visual Studio、ReSharper などのゲーム開発アレコレを書いていきます

【Unity】Unity 6 で NativeHashSet<T>.GetEnumerator が使えなくなった

概要

/// <summary>
/// This method is not implemented. Use <see cref="GetEnumerator"/> instead.
/// </summary>
/// <returns>Throws NotImplementedException.</returns>
/// <exception cref="NotImplementedException">Method is not implemented.</exception>
IEnumerator<T> IEnumerable<T>.GetEnumerator()
{
    throw new NotImplementedException();
}

Unity 6 にアップデートしたら
NativeHashSet<T>.GetEnumerator の実装が上記のように変わっていた。