はじめに 以下のようなコードがあったとします。 public static void Main() { string? value = new Random().Next() > 10 ? "" : null; Assert(value != null); // Riderが検知できないので警告などは出てこない if (value == null) { // ここを通ることはない } } private static void Assert( bool condition) { if (condition) { return; } throw new InvalidOperationExcep…