Back to Benchmarkdotnet

AnalyzerReleases.Shipped

src/BenchmarkDotNet.Analyzers/AnalyzerReleases.Shipped.md

0.15.82.7 KB
Original Source

v0.15.8

New Rules

Rule IDCategorySeverityNotes
BDN1503UsageError[Arguments] method has no parameters

v0.15.7

New Rules

Rule IDCategorySeverityNotes
BDN1000UsageErrorBenchmarkRunner.Run() type is missing benchmark methods
BDN1001UsageErrorBenchmarkRunner.Run() type is not public
BDN1002UsageErrorBenchmarkRunner.Run() type is sealed
BDN1003UsageErrorBenchmarkRunner.Run() type is abstract
BDN1004UsageErrorBenchmarkRunner.Run() generic type is not annotated
BDN1100UsageErrorAnnotated generic benchmark class is abstract
BDN1101UsageErrorAnnotated benchmark class is not generic
BDN1102UsageErrorAnnotated generic benchmark class does not match type parameter count
BDN1103UsageErrorBenchmark method is not public
BDN1104UsageErrorBenchmark method is generic
BDN1105UsageErrorBenchmark class is static
BDN1106UsageErrorSingle null argument passed to category
BDN1107UsageErrorMultiple baseline benchmark methods
BDN1108UsageWarningMultiple baseline benchmark methods per category
BDN1200UsageErrorMore than one [Params(Source|AllValues)] on a field
BDN1201UsageErrorMore than one [Params(Source|AllValues)] on a property
BDN1202UsageError[Params(Source|AllValues)] field is not public
BDN1203UsageError[Params(Source|AllValues)] property is not public
BDN1204UsageError[Params(Source|AllValues)] field is readonly
BDN1205UsageError[Params(Source|AllValues)] field is constant
BDN1206UsageError[Params(Source|AllValues)] property is init only
BDN1207UsageError[Params(Source|AllValues)] has no public setter
BDN1300UsageError[Params] has no values
BDN1301UsageError[Params] values do not match the type of the field or property
BDN1302UsageInfo[Params] used with a single value
BDN1303UsageError[ParamsAllValues] used with a [Flags] enum
BDN1304UsageError[ParamsAllValues] used with a type that is not enum or bool
BDN1400UsageErrorBenchmark method with parameters not annotated with [Arguments(Source)]
BDN1500UsageError[Arguments(Source)] method is not a benchmark method
BDN1501UsageError[Arguments] value(s) count does not match method parameter(s) count
BDN1502UsageError[Arguments] value(s) do not match the type(s) of the method parameters