public const string ImmutableMutationDiagnosticId = "FE0418"Diagnostic ID for mutating an [Immutable] parameter, field, or property.
All Types / Ferrous.Pedantic
public sealed class ImmutabilityAnalyzer : DiagnosticAnalyzer
Roslyn diagnostic analyzer (FE0418) enforcing deep immutability on parameters, fields, and properties annotated with [Immutable] (approximating Rust's &T).
public const string ImmutableMutationDiagnosticId = "FE0418"Diagnostic ID for mutating an [Immutable] parameter, field, or property.
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnosticspublic override void Initialize(AnalysisContext context)