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