3 references to ConversionThrowsRule
Microsoft.CodeAnalysis.NetAnalyzers (3)
Microsoft.NetCore.Analyzers\Runtime\PreventNumericIntPtrUIntPtrBehavioralChanges.cs (3)
56public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(OperatorThrowsRule, ConversionThrowsRule, ConversionNotThrowRule); 103context.ReportDiagnostic(explicitConversion.CreateDiagnostic(ConversionThrowsRule, 109context.ReportDiagnostic(explicitConversion.CreateDiagnostic(ConversionThrowsRule,