mono/MonoGame — pull request #1801 by flibitijibibo (2013-06-18 08:56:03+00:00)
Title: Fix comparison of null DisplayModes.

This fixes a bug where comparing with one or more null DisplayModes would cause a NullReferenceException.

This also allows us to do deliberate null checks like `if (myMode == null)`.