public static readonly DiagnosticDescriptor ThreadConfinedCaptureRule = new(
id: "FE0500",
title: "Thread-confined value captured across thread boundary",
messageFormat: "cannot send thread-confined value '{0}' of type '{1}' across thread boundary '{2}'; help: wrap it in 'Mutex<T>' / 'AsyncMutex<T>', use a thread-safe collection, or copy immutable data before dispatching",
category: "Concurrency",
defaultSeverity: DiagnosticSeverity.Warning,
isEnabledByDefault: true,
helpLinkUri: HelpUri)FE0500: Thread-confined value captured across a thread boundary.