#pragma warning disable/restore 162 in WhileTests.cs