-
Notifications
You must be signed in to change notification settings - Fork 31
/
AsyncGenerator.yml
224 lines (224 loc) · 7.04 KB
/
AsyncGenerator.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
projects:
- filePath: CoreDistributedCache/NHibernate.Caches.CoreDistributedCache/NHibernate.Caches.CoreDistributedCache.csproj
targetFramework: net461
concurrentRun: true
applyChanges: true
analyzation:
methodConversion:
- conversion: Ignore
hasAttributeName: ObsoleteAttribute
callForwarding: true
cancellationTokens:
guards: true
methodParameter:
- anyInterfaceRule: PubliclyExposedType
parameter: Optional
- parameter: Optional
rule: PubliclyExposedType
- parameter: Required
scanMethodBody: true
scanForMissingAsyncMembers:
- all: true
transformation:
configureAwaitArgument: false
localFunctions: true
asyncLock:
type: NHibernate.Util.AsyncLock
methodName: LockAsync
registerPlugin:
- type: AsyncGenerator.Core.Plugins.EmptyRegionRemover
assemblyName: AsyncGenerator.Core
- filePath: StackExchangeRedis/NHibernate.Caches.StackExchangeRedis/NHibernate.Caches.StackExchangeRedis.csproj
targetFramework: net461
concurrentRun: true
applyChanges: true
analyzation:
methodConversion:
- conversion: Ignore
hasAttributeName: ObsoleteAttribute
- conversion: Smart
containingTypeName: AbstractRegionStrategy
- conversion: Smart
containingTypeName: RedisKeyLocker
- conversion: Ignore
name: OnVersionUpdate
- conversion: Ignore
name: AddAndGet
callForwarding: true
cancellationTokens:
guards: true
methodParameter:
- parameter: Required
requiresCancellationToken:
- containingType: NHibernate.Caches.StackExchangeRedis.RedisCache
name: GetMany
- containingType: NHibernate.Caches.StackExchangeRedis.RedisCache
name: PutMany
- containingType: NHibernate.Caches.StackExchangeRedis.AbstractRegionStrategy
name: Get
- containingType: NHibernate.Caches.StackExchangeRedis.AbstractRegionStrategy
name: GetMany
- containingType: NHibernate.Caches.StackExchangeRedis.AbstractRegionStrategy
name: Put
- containingType: NHibernate.Caches.StackExchangeRedis.AbstractRegionStrategy
name: PutMany
- containingType: NHibernate.Caches.StackExchangeRedis.AbstractRegionStrategy
name: Remove
- containingType: NHibernate.Caches.StackExchangeRedis.AbstractRegionStrategy
name: Unlock
- containingType: NHibernate.Caches.StackExchangeRedis.AbstractRegionStrategy
name: UnlockMany
- containingType: NHibernate.Caches.StackExchangeRedis.AbstractRegionStrategy
name: Clear
- containingType: NHibernate.Caches.StackExchangeRedis.RedisKeyLocker
name: Unlock
- containingType: NHibernate.Caches.StackExchangeRedis.RedisKeyLocker
name: UnlockMany
scanMethodBody: true
searchAsyncCounterpartsInInheritedTypes: true
scanForMissingAsyncMembers:
- all: true
transformation:
configureAwaitArgument: false
localFunctions: true
asyncLock:
type: NHibernate.Util.AsyncLock
methodName: LockAsync
registerPlugin:
- type: AsyncGenerator.Core.Plugins.EmptyRegionRemover
assemblyName: AsyncGenerator.Core
- filePath: NHibernate.Caches.Common.Tests/NHibernate.Caches.Common.Tests.csproj
targetFramework: net461
concurrentRun: true
applyChanges: true
analyzation:
cancellationTokens:
enabled: true
scanMethodBody: true
scanForMissingAsyncMembers:
- all: true
registerPlugin:
- type: AsyncGenerator.Core.Plugins.NUnitPlugin
parameters:
- name: createNewTypes
value: false
assemblyName: AsyncGenerator.Core
- filePath: CoreDistributedCache/NHibernate.Caches.CoreDistributedCache.Tests/NHibernate.Caches.CoreDistributedCache.Tests.csproj
targetFramework: net461
concurrentRun: true
applyChanges: true
analyzation:
cancellationTokens:
enabled: true
scanMethodBody: true
scanForMissingAsyncMembers:
- all: true
registerPlugin:
- type: AsyncGenerator.Core.Plugins.NUnitPlugin
parameters:
- name: createNewTypes
value: false
assemblyName: AsyncGenerator.Core
- filePath: CoreMemoryCache/NHibernate.Caches.CoreMemoryCache.Tests/NHibernate.Caches.CoreMemoryCache.Tests.csproj
targetFramework: net461
concurrentRun: true
applyChanges: true
analyzation:
cancellationTokens:
enabled: true
scanMethodBody: true
scanForMissingAsyncMembers:
- all: true
registerPlugin:
- type: AsyncGenerator.Core.Plugins.NUnitPlugin
parameters:
- name: createNewTypes
value: false
assemblyName: AsyncGenerator.Core
- filePath: EnyimMemcached/NHibernate.Caches.EnyimMemcached.Tests/NHibernate.Caches.EnyimMemcached.Tests.csproj
targetFramework: net461
concurrentRun: true
applyChanges: true
analyzation:
cancellationTokens:
enabled: true
scanMethodBody: true
scanForMissingAsyncMembers:
- all: true
registerPlugin:
- type: AsyncGenerator.Core.Plugins.NUnitPlugin
parameters:
- name: createNewTypes
value: false
assemblyName: AsyncGenerator.Core
- filePath: RtMemoryCache/NHibernate.Caches.RtMemoryCache.Tests/NHibernate.Caches.RtMemoryCache.Tests.csproj
targetFramework: net461
concurrentRun: true
applyChanges: true
analyzation:
cancellationTokens:
enabled: true
scanMethodBody: true
scanForMissingAsyncMembers:
- all: true
registerPlugin:
- type: AsyncGenerator.Core.Plugins.NUnitPlugin
parameters:
- name: createNewTypes
value: false
assemblyName: AsyncGenerator.Core
- filePath: StackExchangeRedis/NHibernate.Caches.StackExchangeRedis.Tests/NHibernate.Caches.StackExchangeRedis.Tests.csproj
targetFramework: net461
concurrentRun: true
applyChanges: true
analyzation:
cancellationTokens:
enabled: true
exceptionHandling:
catchMethodBody:
- all: true
result: false
ignoreSearchForAsyncCounterparts:
- name: Disassemble
scanMethodBody: true
searchAsyncCounterpartsInInheritedTypes: true
scanForMissingAsyncMembers:
- all: true
registerPlugin:
- type: AsyncGenerator.Core.Plugins.NUnitPlugin
parameters:
- name: createNewTypes
value: false
assemblyName: AsyncGenerator.Core
- filePath: SysCache/NHibernate.Caches.SysCache.Tests/NHibernate.Caches.SysCache.Tests.csproj
targetFramework: net461
concurrentRun: true
applyChanges: true
analyzation:
cancellationTokens:
enabled: true
scanMethodBody: true
scanForMissingAsyncMembers:
- all: true
registerPlugin:
- type: AsyncGenerator.Core.Plugins.NUnitPlugin
parameters:
- name: createNewTypes
value: false
assemblyName: AsyncGenerator.Core
- filePath: SysCache2/NHibernate.Caches.SysCache2.Tests/NHibernate.Caches.SysCache2.Tests.csproj
targetFramework: net461
concurrentRun: true
applyChanges: true
analyzation:
cancellationTokens:
enabled: true
scanMethodBody: true
scanForMissingAsyncMembers:
- all: true
registerPlugin:
- type: AsyncGenerator.Core.Plugins.NUnitPlugin
parameters:
- name: createNewTypes
value: false
assemblyName: AsyncGenerator.Core