


To address this, we’ve added the Add pattern variable context action over the not null pattern. However, using the not null pattern may hinder your ability to introduce variable names for checked values. The setting consists of 2 options: empty recursive pattern syntax and negated pattern not null, where the latter is the default. Syntax style for null checking patternĪ new Syntax style setting was added to Rider 2023.1 to help you maintain a consistent style of not null checks inside the patterns. Rider 2023.1 introduces a set of inspections with corresponding quick-fixes to optimize and speed up your work with different types of collections by reducing the number of lookups inside them.įor example, Rider will now suggest removing redundant Contains and ContainsKey checks or using TryAdd and TryGetValue methods instead. C# support Reducing the number of lookups in collections The latest major Rider update has just been published! We invite you to explore the new features and improvements in the 2023.1 version of your favorite cross-platform.
