|
4 | 4 | ## Release 9.0 |
5 | 5 |
|
6 | 6 | ### New Rules |
7 | | -Rule ID | Category | Severity | Notes |
8 | | ---------|----------|----------|-------------------- |
9 | | -TTRESG001 | ThinktectureRuntimeExtensionsAnalyzer | Error | Field must be read-only |
10 | | -TTRESG002 | ThinktectureRuntimeExtensionsAnalyzer | Error | Smart Enum item must be public |
11 | | -TTRESG003 | ThinktectureRuntimeExtensionsAnalyzer | Error | Property must be read-only |
12 | | -TTRESG004 | ThinktectureRuntimeExtensionsAnalyzer | Error | The type must be a class or a struct |
13 | | -TTRESG006 | ThinktectureRuntimeExtensionsAnalyzer | Error | Type must be partial |
14 | | -TTRESG009 | ThinktectureRuntimeExtensionsAnalyzer | Error | The constructors must be private |
15 | | -TTRESG012 | ThinktectureRuntimeExtensionsAnalyzer | Error | Provided key member name is not allowed |
16 | | -TTRESG014 | ThinktectureRuntimeExtensionsAnalyzer | Error | Inner Smart Enum on first level must be private |
17 | | -TTRESG015 | ThinktectureRuntimeExtensionsAnalyzer | Error | Inner Smart Enum on non-first level must be public |
18 | | -TTRESG017 | ThinktectureRuntimeExtensionsAnalyzer | Error | The key member must not be nullable |
19 | | -TTRESG033 | ThinktectureRuntimeExtensionsAnalyzer | Error | Ad hoc unions must not be generic |
20 | | -TTRESG034 | ThinktectureRuntimeExtensionsAnalyzer | Error | Field of the base class must be read-only |
21 | | -TTRESG035 | ThinktectureRuntimeExtensionsAnalyzer | Error | Property of the base class must be read-only |
22 | | -TTRESG036 | ThinktectureRuntimeExtensionsAnalyzer | Error | The key type must not be nullable |
23 | | -TTRESG037 | ThinktectureRuntimeExtensionsAnalyzer | Error | Smart Enum without derived types must be sealed |
24 | | -TTRESG041 | ThinktectureRuntimeExtensionsAnalyzer | Error | The type of the comparer doesn't match the type of the member |
25 | | -TTRESG042 | ThinktectureRuntimeExtensionsAnalyzer | Error | Property 'init' accessor must be private |
26 | | -TTRESG043 | ThinktectureRuntimeExtensionsAnalyzer | Error | Primary constructor is not allowed |
27 | | -TTRESG044 | ThinktectureRuntimeExtensionsAnalyzer | Error | Custom implementation of the key member not found |
28 | | -TTRESG045 | ThinktectureRuntimeExtensionsAnalyzer | Error | Key member type mismatch |
29 | | -TTRESG046 | ThinktectureRuntimeExtensionsAnalyzer | Error | The arguments of 'Switch' and 'Map' must be named |
30 | | -TTRESG047 | ThinktectureRuntimeExtensionsAnalyzer | Error | Variable must be initialized with non-default value |
31 | | -TTRESG048 | ThinktectureRuntimeExtensionsAnalyzer | Warning | String-based Value Object needs equality comparer |
32 | | -TTRESG049 | ThinktectureRuntimeExtensionsAnalyzer | Warning | Complex Value Object with string members needs equality comparer |
33 | | -TTRESG050 | ThinktectureRuntimeExtensionsAnalyzer | Error | Method with UseDelegateFromConstructor must be partial |
34 | | -TTRESG051 | ThinktectureRuntimeExtensionsAnalyzer | Error | Method with UseDelegateFromConstructor must not have generics |
35 | | -TTRESG052 | ThinktectureRuntimeExtensionsAnalyzer | Error | The type must not be inside generic type |
36 | | -TTRESG053 | ThinktectureRuntimeExtensionsAnalyzer | Error | Derived type of a union must not be generic |
37 | | -TTRESG054 | ThinktectureRuntimeExtensionsAnalyzer | Error | Discriminated union must be sealed or have private constructors only |
38 | | -TTRESG055 | ThinktectureRuntimeExtensionsAnalyzer | Error | Discriminated union implemented using a record must be sealed |
39 | | -TTRESG056 | ThinktectureRuntimeExtensionsAnalyzer | Error | Non-abstract derived union is less accessible than base union |
40 | | -TTRESG057 | ThinktectureRuntimeExtensionsAnalyzer | Error | AllowDefaultStructs must be false if VO is struct but key type is reference type |
41 | | -TTRESG058 | ThinktectureRuntimeExtensionsAnalyzer | Error | AllowDefaultStructs must be false if some members disallow default values |
42 | | -TTRESG059 | ThinktectureRuntimeExtensionsAnalyzer | Error | ObjectFactory must have corresponding constructor |
43 | | -TTRESG060 | ThinktectureRuntimeExtensionsAnalyzer | Error | Smart Enums with ObjectFactory must not have HasCorrespondingConstructor=true |
44 | | -TTRESG097 | ThinktectureRuntimeExtensionsAnalyzer | Error | Error during analysis of referenced modules |
45 | | -TTRESG098 | ThinktectureRuntimeExtensionsAnalyzer | Warning | Error during code analysis |
46 | | -TTRESG099 | ThinktectureRuntimeExtensionsAnalyzer | Error | Error during code generation |
47 | | -TTRESG100 | ThinktectureRuntimeExtensionsAnalyzer | Warning | The Smart Enum has no items |
48 | | -TTRESG101 | ThinktectureRuntimeExtensionsAnalyzer | Warning | Static properties are not considered Smart Enum items |
49 | | -TTRESG102 | ThinktectureRuntimeExtensionsAnalyzer | Warning | The type has a comparer defined but no equality comparer |
50 | | -TTRESG103 | ThinktectureRuntimeExtensionsAnalyzer | Warning | The type has an equality comparer defined but no comparer |
51 | | -TTRESG104 | ThinktectureRuntimeExtensionsAnalyzer | Warning | Members disallowing default values must be required |
52 | | -TTRESG1000 | ThinktectureRuntimeExtensionsInternalUsageAnalyzer | Warning | Internal Thinktecture.Runtime.Extensions API usage |
| 7 | + |
| 8 | + Rule ID | Category | Severity | Notes |
| 9 | +------------|----------------------------------------------------|----------|---------------------------------------------------------------------------------- |
| 10 | + TTRESG001 | ThinktectureRuntimeExtensionsAnalyzer | Error | Field must be read-only |
| 11 | + TTRESG002 | ThinktectureRuntimeExtensionsAnalyzer | Error | Smart Enum item must be public |
| 12 | + TTRESG003 | ThinktectureRuntimeExtensionsAnalyzer | Error | Property must be read-only |
| 13 | + TTRESG004 | ThinktectureRuntimeExtensionsAnalyzer | Error | The type must be a class or a struct |
| 14 | + TTRESG006 | ThinktectureRuntimeExtensionsAnalyzer | Error | Type must be partial |
| 15 | + TTRESG009 | ThinktectureRuntimeExtensionsAnalyzer | Error | The constructors must be private |
| 16 | + TTRESG012 | ThinktectureRuntimeExtensionsAnalyzer | Error | Provided key member name is not allowed |
| 17 | + TTRESG014 | ThinktectureRuntimeExtensionsAnalyzer | Error | Inner Smart Enum on first level must be private |
| 18 | + TTRESG015 | ThinktectureRuntimeExtensionsAnalyzer | Error | Inner Smart Enum on non-first level must be public |
| 19 | + TTRESG017 | ThinktectureRuntimeExtensionsAnalyzer | Error | The key member must not be nullable |
| 20 | + TTRESG033 | ThinktectureRuntimeExtensionsAnalyzer | Error | Ad hoc unions must not be generic |
| 21 | + TTRESG034 | ThinktectureRuntimeExtensionsAnalyzer | Error | Field of the base class must be read-only |
| 22 | + TTRESG035 | ThinktectureRuntimeExtensionsAnalyzer | Error | Property of the base class must be read-only |
| 23 | + TTRESG036 | ThinktectureRuntimeExtensionsAnalyzer | Error | The key type must not be nullable |
| 24 | + TTRESG037 | ThinktectureRuntimeExtensionsAnalyzer | Error | Smart Enum without derived types must be sealed |
| 25 | + TTRESG041 | ThinktectureRuntimeExtensionsAnalyzer | Error | The type of the comparer doesn't match the type of the member |
| 26 | + TTRESG042 | ThinktectureRuntimeExtensionsAnalyzer | Error | Property 'init' accessor must be private |
| 27 | + TTRESG043 | ThinktectureRuntimeExtensionsAnalyzer | Error | Primary constructor is not allowed |
| 28 | + TTRESG044 | ThinktectureRuntimeExtensionsAnalyzer | Error | Custom implementation of the key member not found |
| 29 | + TTRESG045 | ThinktectureRuntimeExtensionsAnalyzer | Error | Key member type mismatch |
| 30 | + TTRESG046 | ThinktectureRuntimeExtensionsAnalyzer | Error | The arguments of 'Switch' and 'Map' must be named |
| 31 | + TTRESG047 | ThinktectureRuntimeExtensionsAnalyzer | Error | Variable must be initialized with non-default value |
| 32 | + TTRESG048 | ThinktectureRuntimeExtensionsAnalyzer | Warning | String-based Value Object needs equality comparer |
| 33 | + TTRESG049 | ThinktectureRuntimeExtensionsAnalyzer | Warning | Complex Value Object with string members needs equality comparer |
| 34 | + TTRESG050 | ThinktectureRuntimeExtensionsAnalyzer | Error | Method with UseDelegateFromConstructor must be partial |
| 35 | + TTRESG051 | ThinktectureRuntimeExtensionsAnalyzer | Error | Method with UseDelegateFromConstructor must not have generics |
| 36 | + TTRESG052 | ThinktectureRuntimeExtensionsAnalyzer | Error | The type must not be inside generic type |
| 37 | + TTRESG053 | ThinktectureRuntimeExtensionsAnalyzer | Error | Derived type of a union must not be generic |
| 38 | + TTRESG054 | ThinktectureRuntimeExtensionsAnalyzer | Error | Discriminated union must be sealed or have private constructors only |
| 39 | + TTRESG055 | ThinktectureRuntimeExtensionsAnalyzer | Error | Discriminated union implemented using a record must be sealed |
| 40 | + TTRESG056 | ThinktectureRuntimeExtensionsAnalyzer | Error | Non-abstract derived union is less accessible than base union |
| 41 | + TTRESG057 | ThinktectureRuntimeExtensionsAnalyzer | Error | AllowDefaultStructs must be false if VO is struct but key type is reference type |
| 42 | + TTRESG058 | ThinktectureRuntimeExtensionsAnalyzer | Error | AllowDefaultStructs must be false if some members disallow default values |
| 43 | + TTRESG059 | ThinktectureRuntimeExtensionsAnalyzer | Error | ObjectFactory must have corresponding constructor |
| 44 | + TTRESG061 | ThinktectureRuntimeExtensionsAnalyzer | Error | DiagnosticsDescriptors |
| 45 | + TTRESG062 | ThinktectureRuntimeExtensionsAnalyzer | Error | DiagnosticsDescriptors |
| 46 | + TTRESG063 | ThinktectureRuntimeExtensionsAnalyzer | Error | DiagnosticsDescriptors |
| 47 | + TTRESG064 | ThinktectureRuntimeExtensionsAnalyzer | Error | DiagnosticsDescriptors |
| 48 | + TTRESG065 | ThinktectureRuntimeExtensionsAnalyzer | Error | DiagnosticsDescriptors |
| 49 | + TTRESG066 | ThinktectureRuntimeExtensionsAnalyzer | Error | DiagnosticsDescriptors |
| 50 | + TTRESG067 | ThinktectureRuntimeExtensionsAnalyzer | Error | DiagnosticsDescriptors |
| 51 | + TTRESG068 | ThinktectureRuntimeExtensionsAnalyzer | Error | DiagnosticsDescriptors |
| 52 | + TTRESG069 | ThinktectureRuntimeExtensionsAnalyzer | Error | DiagnosticsDescriptors |
| 53 | + TTRESG070 | ThinktectureRuntimeExtensionsAnalyzer | Error | DiagnosticsDescriptors |
| 54 | + TTRESG060 | ThinktectureRuntimeExtensionsAnalyzer | Error | Smart Enums with ObjectFactory must not have HasCorrespondingConstructor=true |
| 55 | + TTRESG097 | ThinktectureRuntimeExtensionsAnalyzer | Error | Error during analysis of referenced modules |
| 56 | + TTRESG098 | ThinktectureRuntimeExtensionsAnalyzer | Warning | Error during code analysis |
| 57 | + TTRESG099 | ThinktectureRuntimeExtensionsAnalyzer | Error | Error during code generation |
| 58 | + TTRESG100 | ThinktectureRuntimeExtensionsAnalyzer | Warning | The Smart Enum has no items |
| 59 | + TTRESG101 | ThinktectureRuntimeExtensionsAnalyzer | Warning | Static properties are not considered Smart Enum items |
| 60 | + TTRESG102 | ThinktectureRuntimeExtensionsAnalyzer | Warning | The type has a comparer defined but no equality comparer |
| 61 | + TTRESG103 | ThinktectureRuntimeExtensionsAnalyzer | Warning | The type has an equality comparer defined but no comparer |
| 62 | + TTRESG104 | ThinktectureRuntimeExtensionsAnalyzer | Warning | Members disallowing default values must be required |
| 63 | + TTRESG105 | ThinktectureRuntimeExtensionsAnalyzer | Warning | DiagnosticsDescriptors |
| 64 | + TTRESG106 | ThinktectureRuntimeExtensionsAnalyzer | Warning | DiagnosticsDescriptors |
| 65 | + TTRESG1000 | ThinktectureRuntimeExtensionsInternalUsageAnalyzer | Warning | Internal Thinktecture.Runtime.Extensions API usage |
0 commit comments