Use file-scoped namespaces (#842)

This commit is contained in:
PhyxionNL
2022-10-09 13:22:57 +02:00
committed by GitHub
parent 3ac329f247
commit 58cef111a1
175 changed files with 34026 additions and 34204 deletions
@@ -6,16 +6,15 @@
using System;
namespace LibreHardwareMonitor.Hardware.Storage
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
internal class RequireSmartAttribute : Attribute
{
public RequireSmartAttribute(byte attributeId)
{
AttributeId = attributeId;
}
namespace LibreHardwareMonitor.Hardware.Storage;
public byte AttributeId { get; }
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
internal class RequireSmartAttribute : Attribute
{
public RequireSmartAttribute(byte attributeId)
{
AttributeId = attributeId;
}
}
public byte AttributeId { get; }
}