You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Additions
added IEnumerable<T> ForEachDirectory<T>(string folder, Func<string, T> func) to DirectoryExtensions
added IEnumerable<T> ForEachFile<T>(string folder, Func<string, T> func) to DirectoryExtensions
added DebugBurstIntrinsicsWindow if used within a Unity project as an editor window (Window/C# Dev Tools/Debug Burst Intrinsics (Local Packages Only)), enabling source code modification of used Unity.Burst compiler intrinsics within the LocalPackages folder
added AreNotAliased and AreNotAliased<T, U> assertions to ensure that pointers i.e. arrays do not overlap
added UnreachableException and an accompanying assertion Assert.Unreachable(), mainly to replace the default: throw null/new Exception("unreachable code") pattern in switch statements with default: throw Assert.Unreachable()
Improvements
added a more recognizable error message prefix "Assertion failed:" to all assertions
Fixes
fixed incorrect call counts of assertions being displayed in the Unity editor control window (Window/C# Dev Tools/Manage Safety Checks...)
Fixed Oversights
included .meta files to allow for adding the repository to Unity projects via its GitHub URL