Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@
namespace Microsoft.VisualStudio.Threading.Analyzers;

/// <summary>
/// Finds await expressions on <see cref="Task"/> that do not use <see cref="Task.ConfigureAwait(bool)"/>.
/// Also works on <see cref="ValueTask"/>.
/// Finds methods that return <see langword="null"/> in place of a <see cref="Task"/> or <see cref="Task{TResult}"/>.
/// </summary>
/// <remarks>
/// <see cref="ValueTask"/> and <see cref="ValueTask{TResult}"/> are value types, so <see langword="null"/> cannot be
/// returned in their place and the compiler already prevents this pattern for them.
/// </remarks>
public abstract class AbstractVSTHRD114AvoidReturningNullTaskAnalyzer : DiagnosticAnalyzer
{
public const string Id = "VSTHRD114";
Expand Down
Loading