You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/analyzers/PH_S019.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,3 +7,15 @@ An asynchronous method makes use of a blocking method, although there exists an
7
7
## Solution
8
8
9
9
Replace the blocking method with its asynchronous counterpart.
10
+
11
+
## Additional Note
12
+
13
+
The methods `AddAsync` and `AddRangeAsync` of entity framework's `DbSet` and `DbContext` are explicitely excluded from this analysis by default. The [documentation](https://docs.microsoft.com/en-us/dotnet/api/microsoft.entityframeworkcore.dbcontext.addasync?view=efcore-5.0) recommends using the non-async versions instead.
14
+
15
+
## Options
16
+
17
+
```
18
+
# A white-space separated list of methods to exclude when searching for async counterparts
0 commit comments