DeepClone: Use sourcegenerator to fix trimming issues #32
Triggered via pull request
September 18, 2024 20:27
Status
Success
Total duration
4m 40s
Artifacts
–
Annotations
10 warnings
Analyze C# (csharp, manual)
CSC : warning SYSLIB1038: The member 'MudColor.R' has been annotated with the JsonIncludeAttribute but is not visible to the source generator. [/home/runner/work/ThemeManager/ThemeManager/src/MudBlazor.ThemeManager/MudBlazor.ThemeManager.csproj::TargetFramework=net7.0]
|
Analyze C# (csharp, manual)
CSC : warning SYSLIB1038: The member 'MudColor.G' has been annotated with the JsonIncludeAttribute but is not visible to the source generator. [/home/runner/work/ThemeManager/ThemeManager/src/MudBlazor.ThemeManager/MudBlazor.ThemeManager.csproj::TargetFramework=net7.0]
|
Analyze C# (csharp, manual)
CSC : warning SYSLIB1038: The member 'MudColor.B' has been annotated with the JsonIncludeAttribute but is not visible to the source generator. [/home/runner/work/ThemeManager/ThemeManager/src/MudBlazor.ThemeManager/MudBlazor.ThemeManager.csproj::TargetFramework=net7.0]
|
Analyze C# (csharp, manual)
CSC : warning SYSLIB1038: The member 'MudColor.A' has been annotated with the JsonIncludeAttribute but is not visible to the source generator. [/home/runner/work/ThemeManager/ThemeManager/src/MudBlazor.ThemeManager/MudBlazor.ThemeManager.csproj::TargetFramework=net7.0]
|
Analyze C# (csharp, manual)
/home/runner/work/ThemeManager/ThemeManager/src/MudBlazor.ThemeManager/Models/ThemeUpdatedValue.cs(5,19): warning CS8618: Non-nullable property 'ColorStringValue' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [/home/runner/work/ThemeManager/ThemeManager/src/MudBlazor.ThemeManager/MudBlazor.ThemeManager.csproj::TargetFramework=net7.0]
|
Analyze C# (csharp, manual)
/home/runner/work/ThemeManager/ThemeManager/src/MudBlazor.ThemeManager/Components/MudThemeManagerColorItem.razor(8,33): warning CS8602: Dereference of a possibly null reference. [/home/runner/work/ThemeManager/ThemeManager/src/MudBlazor.ThemeManager/MudBlazor.ThemeManager.csproj::TargetFramework=net7.0]
|
Analyze C# (csharp, manual)
/home/runner/work/ThemeManager/ThemeManager/src/MudBlazor.ThemeManager/Components/MudThemeManager.razor(15,75): warning CS8602: Dereference of a possibly null reference. [/home/runner/work/ThemeManager/ThemeManager/src/MudBlazor.ThemeManager/MudBlazor.ThemeManager.csproj::TargetFramework=net7.0]
|
Analyze C# (csharp, manual)
/home/runner/work/ThemeManager/ThemeManager/src/MudBlazor.ThemeManager/Components/MudThemeManager.razor.cs(62,24): warning IL2026: Using member 'MudBlazor.ThemeManager.Extensions.Extension.DeepClone<T>(T)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. [/home/runner/work/ThemeManager/ThemeManager/src/MudBlazor.ThemeManager/MudBlazor.ThemeManager.csproj::TargetFramework=net7.0]
|
Analyze C# (csharp, manual)
/home/runner/work/ThemeManager/ThemeManager/src/MudBlazor.ThemeManager/Components/MudThemeManager.razor.cs(187,15): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [/home/runner/work/ThemeManager/ThemeManager/src/MudBlazor.ThemeManager/MudBlazor.ThemeManager.csproj::TargetFramework=net7.0]
|
Analyze C# (csharp, manual)
/home/runner/work/ThemeManager/ThemeManager/src/MudBlazor.ThemeManager/Components/MudThemeManager.razor.cs(78,17): warning CA1062: In externally visible method 'Task MudThemeManager.UpdatePalette(ThemeUpdatedValue value)', validate parameter 'value' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062) [/home/runner/work/ThemeManager/ThemeManager/src/MudBlazor.ThemeManager/MudBlazor.ThemeManager.csproj::TargetFramework=net7.0]
|