Net8
Composite Recipes
Recipes that include further recipes, often including the individual recipes below.
Recipes
- Find
AesGcmconstructor without tag size (SYSLIB0053) - Find DateTime.Now/UtcNow usage (TimeProvider in .NET 8)
- Find
JsonSerializerOptions.AddContextusage (SYSLIB0049) - Find
Regex.CompileToAssemblyusage (SYSLIB0052) - Find ToImmutable*() that could use Frozen collections
- Find formatter-based serialization types (SYSLIB0050/0051)
- Find legacy serialization constructors (SYSLIB0051)
- Use ArgumentException.ThrowIfNullOrWhiteSpace()
- Use ArgumentOutOfRangeException.ThrowIfGreaterThan()
- Use ArgumentOutOfRangeException.ThrowIfLessThan()
- Use ArgumentOutOfRangeException.ThrowIfZero()
- Use TimeProvider instead of DateTime/DateTimeOffset static properties