Skip to content

Commit 8742512

Browse files
NH-3905 - update Async Generator to 0.5.0, adjust its configuration.
1 parent 623d798 commit 8742512

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Tools/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
<package id="NUnit.Extension.NUnitV2ResultWriter" version="3.6.0" targetFramework="net461" />
88
<package id="NUnit.Extension.TeamCityEventListener" version="1.0.2" targetFramework="net461" />
99
<package id="NUnit.Extension.VSProjectLoader" version="3.6.0" targetFramework="net461" />
10-
<package id="CSharpAsyncGenerator.CommandLine" version="0.4.4" targetFramework="net461" />
10+
<package id="CSharpAsyncGenerator.CommandLine" version="0.5.0" targetFramework="net461" />
1111
<package id="vswhere" version="2.1.4" targetFramework="net461" />
1212
</packages>

src/AsyncGenerator.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,6 @@
184184
- hasAttributeName: TestAttribute
185185
- hasAttributeName: TheoryAttribute
186186
typeConversion:
187-
- conversion: Ignore
188-
name: NorthwindDbCreator
189187
- conversion: Ignore
190188
name: ObjectAssert
191189
- conversion: Ignore
@@ -200,9 +198,13 @@
200198
rule: IsTestCase
201199
- conversion: Ignore
202200
anyBaseTypeRule: IsTestCase
201+
ignoreSearchForMethodReferences:
202+
- hasAttributeName: TheoryAttribute
203+
- hasAttributeName: TestAttribute
203204
ignoreDocuments:
204205
- filePathEndsWith: Linq\MathTests.cs
205206
- filePathEndsWith: Linq\ExpressionSessionLeakTest.cs
207+
- filePathEndsWith: Linq\NorthwindDbCreator.cs
206208
cancellationTokens:
207209
withoutCancellationToken:
208210
- hasAttributeName: TestAttribute

0 commit comments

Comments
 (0)