Is there a built in .NET exception that indicates an illegal object state? March 21, 2023 by Tarik InvalidOperationException maybe? The exception that is thrown when a method call is invalid for the object’s current state.