Skip to content

Fix to avoid CA1852 for ViewModels #1834

Fix to avoid CA1852 for ViewModels

Fix to avoid CA1852 for ViewModels #1834

Triggered via push December 9, 2023 10:19
Status Success
Total duration 4m 44s
Artifacts 4

main.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

20 warnings
build (Release, net6.0-windows) / build: ThScoreFileConverter/Models/Th175/SaveData.cs#L19
Type 'SaveData' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build (Release, net6.0-windows) / build: ThScoreFileConverter/Models/Th105/ClearData.cs#L21
Type 'ClearData' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build (Release, net6.0-windows) / build: ThScoreFileConverter/Models/Th11/CharaExReplacer.cs#L16
Type 'CharaExReplacer' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build (Release, net6.0-windows) / build: ThScoreFileConverter/Models/Th11/ScoreReplacer.cs#L17
Type 'ScoreReplacer' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build (Release, net6.0-windows) / build: ThScoreFileConverter/Models/Th08/Header.cs#L14
Type 'Header' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build (Release, net6.0-windows) / build: ThScoreFileConverter/Models/Th165/BestShotHeader.cs#L20
Type 'BestShotHeader' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build (Release, net6.0-windows) / build: ThScoreFileConverter/Models/Th143/NicknameReplacer.cs#L17
Type 'NicknameReplacer' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build (Release, net6.0-windows) / build: ThScoreFileConverter/Models/Th18/ClearReplacer.cs#L18
Type 'ClearReplacer' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build (Release, net6.0-windows) / build: ThScoreFileConverter/Models/Th08/PlayStatus.cs#L21
Type 'PlayStatus' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build (Release, net6.0-windows) / build: ThScoreFileConverter/Models/Th12/CharaExReplacer.cs#L16
Type 'CharaExReplacer' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build (Release, net48) / build: ThScoreFileConverter/Models/Th09/ScoreReplacer.cs#L20
Type 'ScoreReplacer' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build (Release, net48) / build: ThScoreFileConverter/Models/Th07/CollectRateReplacer.cs#L20
Type 'CollectRateReplacer' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build (Release, net48) / build: ThScoreFileConverter/Models/Th08/ClearData.cs#L19
Type 'ClearData' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build (Release, net48) / build: ThScoreFileConverter/Models/Th14/CharaReplacer.cs#L24
Type 'CharaReplacer' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build (Release, net48) / build: ThScoreFileConverter/Models/Th135/ClearReplacer.cs#L18
Type 'ClearReplacer' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build (Release, net48) / build: ThScoreFileConverter/Models/Th175/AllScoreData.cs#L19
Type 'AllScoreData' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build (Release, net48) / build: ThScoreFileConverter/Models/Th075/Status.cs#L21
Type 'Status' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build (Release, net48) / build: ThScoreFileConverter/Models/Th075/ScoreReplacer.cs#L18
Type 'ScoreReplacer' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build (Release, net48) / build: ThScoreFileConverter/Models/Th165/ShotExReplacer.cs#L21
Type 'ShotExReplacer' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build (Release, net48) / build: ThScoreFileConverter/Models/Th145/ClearRankReplacer.cs#L18
Type 'ClearRankReplacer' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)

Artifacts

Produced during runtime
Name Size
ThScoreFileConverter.Debug.net48 Expired
13.1 MB
ThScoreFileConverter.Debug.net6.0-windows Expired
13.4 MB
ThScoreFileConverter.Release.net48 Expired
13 MB
ThScoreFileConverter.Release.net6.0-windows Expired
13.3 MB