Skip to content

Remove pr-mode: false from Qodana workflows #608

Remove pr-mode: false from Qodana workflows

Remove pr-mode: false from Qodana workflows #608

GitHub Actions / Qodana for .NET completed Nov 26, 2024 in 0s

26 new problems found by Qodana for .NET

Qodana for .NET

26 new problems were found

Inspection name Severity Problems
Non-accessed positional property (non-private accessibility) 🔶 Warning 10
Conditional access qualifier expression is not null according to nullable reference types' annotations 🔶 Warning 2
Unresolved fragment in a link 🔶 Warning 2
Obsolete attribute 🔶 Warning 1
Property can be made init-only (non-private accessibility) ◽️ Notice 3
Some values of the enum are not processed inside 'switch' statement ◽️ Notice 2
RoslynAnalyzers Use concrete types when possible for improved performance ◽️ Notice 1
'if-return' statement can be rewritten as 'return' statement ◽️ Notice 1
Merge null/pattern checks into complex pattern ◽️ Notice 1
Redundant semicolon after type or namespace declaration ◽️ Notice 1
Simplify conditional ternary expression ◽️ Notice 1
Type member is never used (non-private accessibility) ◽️ Notice 1

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

Details

This result was published with Qodana GitHub Action

Annotations

Check notice on line 13 in src/dotnet/aspire-session-host/Connection.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

RoslynAnalyzers Use concrete types when possible for improved performance

Change type of field '_scheduler' from 'JetBrains.Collections.Viewable.IScheduler' to 'JetBrains.Collections.Viewable.SingleThreadScheduler' for improved performance

Check warning on line 36 in src/dotnet/aspire-session-host/Sessions/SessionService.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Conditional access qualifier expression is not null according to nullable reference types' annotations

Conditional access qualifier expression is never null according to nullable reference types' annotations

Check warning on line 37 in src/dotnet/aspire-session-host/Sessions/SessionService.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Conditional access qualifier expression is not null according to nullable reference types' annotations

Conditional access qualifier expression is never null according to nullable reference types' annotations

Check notice on line 94 in src/dotnet/aspire-session-host/Resources/ResourceExtensions.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

'if-return' statement can be rewritten as 'return' statement

Convert into 'return' statement

Check warning on line 1 in README.md

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Obsolete attribute

Obsolete attribute

Check warning on line 2 in README.md

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Unresolved fragment in a link

Cannot resolve anchor #gh-light-mode-only in file pluginIcon.svg

Check warning on line 3 in README.md

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Unresolved fragment in a link

Cannot resolve anchor #gh-dark-mode-only in file pluginIcon_dark.svg

Check notice on line 45 in src/dotnet/aspire-session-host/Resources/ResourceServiceRegistration.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Merge null/pattern checks into complex pattern

Merge into pattern

Check warning on line 13 in src/dotnet/aspire-session-host/Sessions/SessionEvents.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Non-accessed positional property (non-private accessibility)

Positional property 'JetBrains.Rider.Aspire.SessionHost.Sessions.LogReceivedEvent.LogMessage' is never accessed (except in implicit Equals/ToString implementations)

Check warning on line 16 in src/dotnet/aspire-session-host/Sessions/SessionEvents.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Non-accessed positional property (non-private accessibility)

Positional property 'JetBrains.Rider.Aspire.SessionHost.Sessions.ProcessTerminatedEvent.NotificationType' is never accessed (except in implicit Equals/ToString implementations)

Check warning on line 13 in src/dotnet/aspire-session-host/Sessions/SessionEvents.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Non-accessed positional property (non-private accessibility)

Positional property 'JetBrains.Rider.Aspire.SessionHost.Sessions.LogReceivedEvent.SessionId' is never accessed (except in implicit Equals/ToString implementations)

Check warning on line 10 in src/dotnet/aspire-session-host/Sessions/SessionEvents.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Non-accessed positional property (non-private accessibility)

Positional property 'JetBrains.Rider.Aspire.SessionHost.Sessions.ProcessStartedEvent.NotificationType' is never accessed (except in implicit Equals/ToString implementations)

Check warning on line 13 in src/dotnet/aspire-session-host/Sessions/SessionEvents.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Non-accessed positional property (non-private accessibility)

Positional property 'JetBrains.Rider.Aspire.SessionHost.Sessions.LogReceivedEvent.NotificationType' is never accessed (except in implicit Equals/ToString implementations)

Check warning on line 13 in src/dotnet/aspire-session-host/Sessions/SessionEvents.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Non-accessed positional property (non-private accessibility)

Positional property 'JetBrains.Rider.Aspire.SessionHost.Sessions.LogReceivedEvent.IsStdErr' is never accessed (except in implicit Equals/ToString implementations)

Check warning on line 16 in src/dotnet/aspire-session-host/Sessions/SessionEvents.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Non-accessed positional property (non-private accessibility)

Positional property 'JetBrains.Rider.Aspire.SessionHost.Sessions.ProcessTerminatedEvent.ExitCode' is never accessed (except in implicit Equals/ToString implementations)

Check warning on line 16 in src/dotnet/aspire-session-host/Sessions/SessionEvents.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Non-accessed positional property (non-private accessibility)

Positional property 'JetBrains.Rider.Aspire.SessionHost.Sessions.ProcessTerminatedEvent.SessionId' is never accessed (except in implicit Equals/ToString implementations)

Check warning on line 10 in src/dotnet/aspire-session-host/Sessions/SessionEvents.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Non-accessed positional property (non-private accessibility)

Positional property 'JetBrains.Rider.Aspire.SessionHost.Sessions.ProcessStartedEvent.SessionId' is never accessed (except in implicit Equals/ToString implementations)

Check warning on line 10 in src/dotnet/aspire-session-host/Sessions/SessionEvents.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Non-accessed positional property (non-private accessibility)

Positional property 'JetBrains.Rider.Aspire.SessionHost.Sessions.ProcessStartedEvent.Pid' is never accessed (except in implicit Equals/ToString implementations)

Check notice on line 8 in src/dotnet/aspire-session-host/Resources/ResourceServiceOptions.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Property can be made init-only (non-private accessibility)

Property can be made init-only

Check notice on line 7 in src/dotnet/aspire-session-host/ConnectionOptions.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Property can be made init-only (non-private accessibility)

Property can be made init-only

Check notice on line 7 in src/dotnet/aspire-session-host/Resources/ResourceServiceOptions.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Property can be made init-only (non-private accessibility)

Property can be made init-only

Check notice on line 9 in src/dotnet/aspire-session-host/Resources/ResourceServiceOptions.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Redundant semicolon after type or namespace declaration

Semicolon after class declaration is redundant

Check notice on line 89 in src/dotnet/aspire-session-host/Resources/ResourceLogService.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Simplify conditional ternary expression

Simplify conditional ternary expression

Check notice on line 65 in src/dotnet/aspire-session-host/Resources/ResourceService.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Some values of the enum are not processed inside 'switch' statement

Some values of the enum are not processed inside switch: None, default

Check notice on line 105 in src/dotnet/aspire-session-host/Resources/ResourceService.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Some values of the enum are not processed inside 'switch' statement

Some values of the enum are not processed inside switch: None, default