public const string DetachedTaskInScopeDiagnosticId = "FE0503"Diagnostic ID for detached Task.Run(...) when a TaskScope is in scope.
All Types / Ferrous.Concurrency.Analyzers
public sealed class DetachedTaskAnalyzer : DiagnosticAnalyzer
Roslyn diagnostic analyzer (FE0503) that flags detached Task.Run(...) calls inside methods that already have a TaskScope in scope, encouraging structured concurrency via scope.Spawn(...).
public const string DetachedTaskInScopeDiagnosticId = "FE0503"Diagnostic ID for detached Task.Run(...) when a TaskScope is in scope.
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnosticspublic override void Initialize(AnalysisContext context)