Skip to content

Commit

Permalink
GH-186 - CallInfoAnalyzer support for ThrowsAsync like methods
Browse files Browse the repository at this point in the history
  • Loading branch information
tpodolak committed Jul 22, 2022
1 parent cc5fdfe commit 4d9a706
Show file tree
Hide file tree
Showing 5 changed files with 373 additions and 417 deletions.
2 changes: 2 additions & 0 deletions src/NSubstitute.Analyzers.Shared/MetadataNames.cs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,9 @@ internal class MetadataNames
[NSubstituteReturnsMethod] = NSubstituteSubstituteExtensionsFullTypeName,
[NSubstituteReturnsForAnyArgsMethod] = NSubstituteSubstituteExtensionsFullTypeName,
[NSubstituteThrowsMethod] = NSubstituteExceptionExtensionsFullTypeName,
[NSubstituteThrowsAsyncMethod] = NSubstituteExceptionExtensionsFullTypeName,
[NSubstituteThrowsForAnyArgsMethod] = NSubstituteExceptionExtensionsFullTypeName,
[NSubstituteThrowsAsyncForAnyArgsMethod] = NSubstituteExceptionExtensionsFullTypeName,
[NSubstituteAndDoesMethod] = NSubstituteConfiguredCallFullTypeName,
[NSubstituteDoMethod] = NSubstituteWhenCalledType
};
Expand Down
Loading

0 comments on commit 4d9a706

Please sign in to comment.