public const string ThrowingHelperCallDiagnosticId = "FE0421"Diagnostic ID for calling a throwing helper inside a [NoThrow] or Result-returning method.
All Types / Ferrous.Pedantic
public sealed class InterproceduralContractAnalyzer : DiagnosticAnalyzer
Inter-procedural Roslyn diagnostic analyzer (FE0421–FE0422) that summarizes same-compilation helper methods via operation blocks and flags transitive throws inside [NoThrow]/Result methods and transitive heap allocations inside [NoAlloc] methods.
public const string ThrowingHelperCallDiagnosticId = "FE0421"Diagnostic ID for calling a throwing helper inside a [NoThrow] or Result-returning method.
public const string AllocatingHelperCallDiagnosticId = "FE0422"Diagnostic ID for calling an allocating helper inside a [NoAlloc] method.
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnosticspublic override void Initialize(AnalysisContext context)