Skip to content

feat: add non-strict exception classification #387

feat: add non-strict exception classification

feat: add non-strict exception classification #387

Triggered via pull request September 5, 2025 13:24
Status Success
Total duration 49s
Artifacts

ci.yml

on: pull_request
build-test
45s
build-test
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build-test: CheckedExceptions/CheckedExceptionsAnalyzer.cs#L349
Possible null reference argument for parameter 'exceptionType' in 'void CheckedExceptionsAnalyzer.ReportEnumerableBoundaryDiagnostic(SyntaxNodeAnalysisContext context, ExpressionSyntax expression, INamedTypeSymbol exceptionType, AnalyzerSettings settings, SemanticModel semanticModel)'.
build-test: CheckedExceptions/CheckedExceptionsAnalyzer.cs#L344
Cannot convert null literal to non-nullable reference type.
build-test: CheckedExceptions/CheckedExceptionsAnalyzer.cs#L289
Cannot convert null literal to non-nullable reference type.
build-test: CheckedExceptions/CheckedExceptionsAnalyzer.ControlFlow.cs#L459
Dereference of a possibly null reference.
build-test: CheckedExceptions/CheckedExceptionsAnalyzer.ControlFlow.cs#L440
Dereference of a possibly null reference.
build-test: CheckedExceptions/CheckedExceptionsAnalyzer.ControlFlow.cs#L429
Dereference of a possibly null reference.
build-test: CheckedExceptions/CheckedExceptionsAnalyzer.ControlFlow.cs#L238
'SyntaxNodeAnalysisContext.SyntaxNodeAnalysisContext(SyntaxNode, SemanticModel, AnalyzerOptions, Action<Diagnostic>, Func<Diagnostic, bool>, CancellationToken)' is obsolete: 'Use CompilationWithAnalyzers instead. See https://github.com/dotnet/roslyn/issues/63440 for more details.'
build-test: CheckedExceptions/CheckedExceptionsAnalyzer.Cast.cs#L28
Possible null reference argument for parameter 'value' in 'bool CheckedExceptionsAnalyzer.FitsInTarget(object value, ITypeSymbol targetType)'.
build-test: CheckedExceptions/CheckedExceptionsAnalyzer.ControlFlow.cs#L1087
Non-nullable property 'Node' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-test: CheckedExceptions/AttributeHelper.cs#L14
Possible null reference argument for parameter 'declaration' in 'ISymbol? ModelExtensions.GetDeclaredSymbol(SemanticModel semanticModel, SyntaxNode declaration, CancellationToken cancellationToken = default(CancellationToken))'.