Skip to content

Commit 65c1e4b

Browse files
committed
Exclude Net40 from async
1 parent cab1103 commit 65c1e4b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/CommandLine/ParserResultExtensionsAsync.cs

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ namespace CommandLine
77
{
88
public static partial class ParserResultExtensions
99
{
10+
#if !NET40
1011
/// <summary>
1112
/// Executes asynchronously <paramref name="action"/> if <see cref="CommandLine.ParserResult{T}"/> contains
1213
/// parsed values.
@@ -59,5 +60,6 @@ public static async Task<ParserResult<T>> WithNotParsedAsync<T>(this ParserResul
5960
}
6061
return result;
6162
}
63+
#endif
6264
}
6365
}

0 commit comments

Comments
 (0)