Skip to content

Commit 68b8615

Browse files
committed
update analyzer releases
1 parent c503fcd commit 68b8615

File tree

2 files changed

+17
-13
lines changed

2 files changed

+17
-13
lines changed

src/Thinktecture.Runtime.Extensions.Roslyn.Sources/AnalyzerReleases.Shipped.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
; Unshipped analyzer release
22
; See https://github.com/dotnet/roslyn-analyzers/blob/main/docs/Analyzer%20Release%20Tracking.md
33

4-
## Release 9.0
4+
## Release 10.0
55

66
### New Rules
77

@@ -17,7 +17,6 @@
1717
TTRESG014 | ThinktectureRuntimeExtensionsAnalyzer | Error | Inner Smart Enum on first level must be private
1818
TTRESG015 | ThinktectureRuntimeExtensionsAnalyzer | Error | Inner Smart Enum on non-first level must be public
1919
TTRESG017 | ThinktectureRuntimeExtensionsAnalyzer | Error | The key member must not be nullable
20-
TTRESG033 | ThinktectureRuntimeExtensionsAnalyzer | Error | Ad hoc unions must not be generic
2120
TTRESG034 | ThinktectureRuntimeExtensionsAnalyzer | Error | Field of the base class must be read-only
2221
TTRESG035 | ThinktectureRuntimeExtensionsAnalyzer | Error | Property of the base class must be read-only
2322
TTRESG036 | ThinktectureRuntimeExtensionsAnalyzer | Error | The key type must not be nullable
@@ -40,6 +39,7 @@
4039
TTRESG057 | ThinktectureRuntimeExtensionsAnalyzer | Error | AllowDefaultStructs must be false if VO is struct but key type is reference type
4140
TTRESG058 | ThinktectureRuntimeExtensionsAnalyzer | Error | AllowDefaultStructs must be false if some members disallow default values
4241
TTRESG059 | ThinktectureRuntimeExtensionsAnalyzer | Error | ObjectFactory must have corresponding constructor
42+
TTRESG060 | ThinktectureRuntimeExtensionsAnalyzer | Error | Smart Enums with ObjectFactory must not have HasCorrespondingConstructor=true
4343
TTRESG061 | ThinktectureRuntimeExtensionsAnalyzer | Error | DiagnosticsDescriptors
4444
TTRESG062 | ThinktectureRuntimeExtensionsAnalyzer | Error | DiagnosticsDescriptors
4545
TTRESG063 | ThinktectureRuntimeExtensionsAnalyzer | Error | DiagnosticsDescriptors
@@ -50,7 +50,10 @@
5050
TTRESG068 | ThinktectureRuntimeExtensionsAnalyzer | Error | DiagnosticsDescriptors
5151
TTRESG069 | ThinktectureRuntimeExtensionsAnalyzer | Error | DiagnosticsDescriptors
5252
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
5457
TTRESG097 | ThinktectureRuntimeExtensionsAnalyzer | Error | Error during analysis of referenced modules
5558
TTRESG098 | ThinktectureRuntimeExtensionsAnalyzer | Warning | Error during code analysis
5659
TTRESG099 | ThinktectureRuntimeExtensionsAnalyzer | Error | Error during code generation
@@ -61,5 +64,12 @@
6164
TTRESG104 | ThinktectureRuntimeExtensionsAnalyzer | Warning | Members disallowing default values must be required
6265
TTRESG105 | ThinktectureRuntimeExtensionsAnalyzer | Warning | DiagnosticsDescriptors
6366
TTRESG106 | ThinktectureRuntimeExtensionsAnalyzer | Warning | DiagnosticsDescriptors
67+
TTRESG107 | ThinktectureRuntimeExtensionsAnalyzer | Warning | Generic ad-hoc union does not reference any type parameter via TypeParamRef
6468
TTRESG1000 | ThinktectureRuntimeExtensionsInternalUsageAnalyzer | Warning | Internal Thinktecture.Runtime.Extensions API usage
6569
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
Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
### New Rules
22

3-
Rule ID | Category | Severity | Notes
4-
-----------|---------------------------------------|----------|-----------------------------------------------------------------------------
5-
TTRESG071 | ThinktectureRuntimeExtensionsAnalyzer | Error | TypeParamRef index exceeds the number of type parameters
6-
TTRESG072 | ThinktectureRuntimeExtensionsAnalyzer | Error | TypeParamRef cannot be used on non-generic ad-hoc union
7-
TTRESG073 | ThinktectureRuntimeExtensionsAnalyzer | Error | Ad-hoc unions do not support 'allows ref struct' type parameters
8-
TTRESG074 | ThinktectureRuntimeExtensionsAnalyzer | Error | Type parameter used via TypeParamRef must have 'notnull' constraint
9-
TTRESG107 | ThinktectureRuntimeExtensionsAnalyzer | Warning | Generic ad-hoc union does not reference any type parameter via TypeParamRef
3+
Rule ID | Category | Severity | Notes
4+
---------|----------|----------|------
105

116
### Removed Rules
127

13-
Rule ID | Category | Severity | Notes
14-
-----------|---------------------------------------|----------|---------------------------------------------
15-
TTRESG033 | ThinktectureRuntimeExtensionsAnalyzer | Error | Ad hoc unions are now allowed to be generic
8+
Rule ID | Category | Severity | Notes
9+
---------|----------|----------|------

0 commit comments

Comments
 (0)