From 0829cba434da884ec6df3d98d1e3e70840b71d9b Mon Sep 17 00:00:00 2001 From: github-actions Date: Fri, 23 Oct 2026 13:53:16 +0000 Subject: [PATCH] Reformat C# files in Smdn.Devices.BP35XX --- src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs b/src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs index f295812..6e40158 100644 --- a/src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs +++ b/src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs @@ -98,11 +98,8 @@ private static Stream CreateSerialPortStream( private PhysicalAddress? macAddress; public PhysicalAddress MacAddress => IsInitialized ? macAddress : throw CreateNotInitializedException(); - private string? rohmUserId; - public string RohmUserId => IsInitialized ? rohmUserId : throw CreateNotInitializedException(); - - private string? rohmPassword; - public string RohmPassword => IsInitialized ? rohmPassword : throw CreateNotInitializedException(); + public string RohmUserId { get => IsInitialized ? field : throw CreateNotInitializedException(); private set; } + public string RohmPassword { get => IsInitialized ? field : throw CreateNotInitializedException(); private set; } #pragma warning restore CS8603 /// @@ -179,7 +176,7 @@ CancellationToken cancellationToken #pragma warning restore CA1873 // parse ROHM user ID and password - (rohmUserId, rohmPassword) = ParseRohmUserIdAndPassword(linkLocalAddress); + (RohmUserId, RohmPassword) = ParseRohmUserIdAndPassword(linkLocalAddress); // try load configuration from flash memory if (tryLoadFlashMemory) {