|
1 | 1 | ; Unshipped analyzer release |
2 | 2 | ; See https://github.com/dotnet/roslyn-analyzers/blob/main/docs/Analyzer%20Release%20Tracking.md |
3 | 3 |
|
4 | | -## Release 9.0 |
| 4 | +## Release 10.0 |
5 | 5 |
|
6 | 6 | ### New Rules |
7 | 7 |
|
|
17 | 17 | TTRESG014 | ThinktectureRuntimeExtensionsAnalyzer | Error | Inner Smart Enum on first level must be private |
18 | 18 | TTRESG015 | ThinktectureRuntimeExtensionsAnalyzer | Error | Inner Smart Enum on non-first level must be public |
19 | 19 | TTRESG017 | ThinktectureRuntimeExtensionsAnalyzer | Error | The key member must not be nullable |
20 | | - TTRESG033 | ThinktectureRuntimeExtensionsAnalyzer | Error | Ad hoc unions must not be generic |
21 | 20 | TTRESG034 | ThinktectureRuntimeExtensionsAnalyzer | Error | Field of the base class must be read-only |
22 | 21 | TTRESG035 | ThinktectureRuntimeExtensionsAnalyzer | Error | Property of the base class must be read-only |
23 | 22 | TTRESG036 | ThinktectureRuntimeExtensionsAnalyzer | Error | The key type must not be nullable |
|
40 | 39 | TTRESG057 | ThinktectureRuntimeExtensionsAnalyzer | Error | AllowDefaultStructs must be false if VO is struct but key type is reference type |
41 | 40 | TTRESG058 | ThinktectureRuntimeExtensionsAnalyzer | Error | AllowDefaultStructs must be false if some members disallow default values |
42 | 41 | TTRESG059 | ThinktectureRuntimeExtensionsAnalyzer | Error | ObjectFactory must have corresponding constructor |
| 42 | + TTRESG060 | ThinktectureRuntimeExtensionsAnalyzer | Error | Smart Enums with ObjectFactory must not have HasCorrespondingConstructor=true |
43 | 43 | TTRESG061 | ThinktectureRuntimeExtensionsAnalyzer | Error | DiagnosticsDescriptors |
44 | 44 | TTRESG062 | ThinktectureRuntimeExtensionsAnalyzer | Error | DiagnosticsDescriptors |
45 | 45 | TTRESG063 | ThinktectureRuntimeExtensionsAnalyzer | Error | DiagnosticsDescriptors |
|
50 | 50 | TTRESG068 | ThinktectureRuntimeExtensionsAnalyzer | Error | DiagnosticsDescriptors |
51 | 51 | TTRESG069 | ThinktectureRuntimeExtensionsAnalyzer | Error | DiagnosticsDescriptors |
52 | 52 | TTRESG070 | ThinktectureRuntimeExtensionsAnalyzer | Error | DiagnosticsDescriptors |
53 | | - TTRESG060 | ThinktectureRuntimeExtensionsAnalyzer | Error | Smart Enums with ObjectFactory must not have HasCorrespondingConstructor=true |
| 53 | + TTRESG071 | ThinktectureRuntimeExtensionsAnalyzer | Error | TypeParamRef index exceeds the number of type parameters |
| 54 | + TTRESG072 | ThinktectureRuntimeExtensionsAnalyzer | Error | TypeParamRef cannot be used on non-generic ad-hoc union |
| 55 | + TTRESG073 | ThinktectureRuntimeExtensionsAnalyzer | Error | Ad-hoc unions do not support 'allows ref struct' type parameters |
| 56 | + TTRESG074 | ThinktectureRuntimeExtensionsAnalyzer | Error | Type parameter used via TypeParamRef must have 'notnull' constraint |
54 | 57 | TTRESG097 | ThinktectureRuntimeExtensionsAnalyzer | Error | Error during analysis of referenced modules |
55 | 58 | TTRESG098 | ThinktectureRuntimeExtensionsAnalyzer | Warning | Error during code analysis |
56 | 59 | TTRESG099 | ThinktectureRuntimeExtensionsAnalyzer | Error | Error during code generation |
|
61 | 64 | TTRESG104 | ThinktectureRuntimeExtensionsAnalyzer | Warning | Members disallowing default values must be required |
62 | 65 | TTRESG105 | ThinktectureRuntimeExtensionsAnalyzer | Warning | DiagnosticsDescriptors |
63 | 66 | TTRESG106 | ThinktectureRuntimeExtensionsAnalyzer | Warning | DiagnosticsDescriptors |
| 67 | + TTRESG107 | ThinktectureRuntimeExtensionsAnalyzer | Warning | Generic ad-hoc union does not reference any type parameter via TypeParamRef |
64 | 68 | TTRESG1000 | ThinktectureRuntimeExtensionsInternalUsageAnalyzer | Warning | Internal Thinktecture.Runtime.Extensions API usage |
65 | 69 | TTRESG1001 | ThinktectureRuntimeExtensionsAnalyzer | Info | UseSwitchMapWithStaticLambda |
| 70 | + |
| 71 | +### Removed Rules |
| 72 | + |
| 73 | + Rule ID | Category | Severity | Notes |
| 74 | +------------|----------------------------------------------------|----------|---------------------------------------------------------------------------------- |
| 75 | + TTRESG033 | ThinktectureRuntimeExtensionsAnalyzer | Error | Ad hoc unions are now allowed to be generic |
0 commit comments