Skip to content

Bg/239370 download null Id #873

Bg/239370 download null Id

Bg/239370 download null Id #873

Re-run triggered January 22, 2025 07:43
Status Success
Total duration 6m 44s
Artifacts 1

build-and-test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
build_and_test: Web/Edubase.Common/ChangeDescriptor.cs#L31
Microsoft.Performance : The 'this' parameter (or 'Me' in Visual Basic) of 'ChangeDescriptor.ToString(object)' is never used. Mark the member as static (or Shared in Visual Basic) or use 'this'/'Me' in the method body or at least one property accessor, if appropriate.
build_and_test: Web/Edubase.Common/ChangeDescriptor.cs#L31
Microsoft.Globalization : Because the behavior of 'DateTime.ToString(string)' could vary based on the current user's locale settings, replace this call in 'ChangeDescriptor.ToString(object)' with a call to 'DateTime.ToString(string, IFormatProvider)'. If the result of 'DateTime.ToString(string, IFormatProvider)' will be displayed to the user, specify 'CultureInfo.CurrentCulture' as the 'IFormatProvider' parameter. Otherwise, if the result will be stored and accessed by software, such as when it is persisted to disk or to a database, specify 'CultureInfo.InvariantCulture'.
build_and_test: Web/Edubase.Common/Disposer.cs#L73
Microsoft.Usage : Change 'Disposer.Dispose()' to call 'GC.SuppressFinalize(object)'. This will prevent derived types that introduce a finalizer from needing to re-implement 'IDisposable' to call it.
build_and_test: Web/Edubase.Common/Disposer.cs#L57
Microsoft.Design : Replace method 'Disposer.Timed(Action, Action<long>)' with an overload that supplies all default arguments.
build_and_test: Web/Edubase.Common/Disposer.cs#L64
Microsoft.Design : In externally visible method 'Disposer.Using<T>(Func<T>, Action<T>, Action<T>, Action<T>)', validate parameter 'factory' before using it.
build_and_test: Web/Edubase.Common/Disposer.cs#L67
Microsoft.Design : In externally visible method 'Disposer.Using<T>(Func<T>, Action<T>, Action<T>, Action<T>)', validate parameter 'before' before using it.
build_and_test: Web/Edubase.Common/Disposer.cs#L69
Microsoft.Design : In externally visible method 'Disposer.Using<T>(Func<T>, Action<T>, Action<T>, Action<T>)', validate parameter 'after' before using it.
build_and_test: Web/Edubase.Common/Disposer.cs#L68
Microsoft.Design : In externally visible method 'Disposer.Using<T>(Func<T>, Action<T>, Action<T>, Action<T>)', validate parameter 'meat' before using it.
build_and_test: Web/Edubase.Common/Guard.cs#L38
Microsoft.Design : Consider a design where 'Guard.Is<T>(object, Func<Exception>)' doesn't require explicit type parameter 'T' in any call to it.
build_and_test: Web/Edubase.Common/Guard.cs#L38
Microsoft.Naming : In method 'Guard.Is<T>(object, Func<Exception>)', correct the spelling of 'fnc' in parameter name 'fnc' or remove it entirely if it represents any sort of Hungarian notation.
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "dotnet-results-6.0.x". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
dotnet-results-6.0.x
37.9 MB