Modify S3168: Fix error in compliant code example (#4090)
This commit is contained in:
parent
a20a45637b
commit
f39f18d8d1
@ -72,7 +72,7 @@ private async Task ThrowExceptionAsync() // Compliant: async method return type
|
||||
throw new InvalidOperationException();
|
||||
}
|
||||
|
||||
public void Method()
|
||||
public async Task Method()
|
||||
{
|
||||
try
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user