diff --git a/BizHawk.Emulation.DiscSystem/CDFS/EndianBitConverter.cs b/BizHawk.Emulation.DiscSystem/CDFS/EndianBitConverter.cs index b8413f01e5..4e1d331794 100644 --- a/BizHawk.Emulation.DiscSystem/CDFS/EndianBitConverter.cs +++ b/BizHawk.Emulation.DiscSystem/CDFS/EndianBitConverter.cs @@ -22,17 +22,13 @@ namespace BizHawk.Emulation.DiscSystem /// Build a converter from little endian to the system endian-ness. /// /// The converter - public static EndianBitConverter CreateForLittleEndian() { - return new EndianBitConverter(!BitConverter.IsLittleEndian); - } + public static EndianBitConverter CreateForLittleEndian() => new EndianBitConverter(!BitConverter.IsLittleEndian); /// /// Build a converter from big endian to the system endian-ness. /// /// The converter - public static EndianBitConverter CreateForBigEndian() { - return new EndianBitConverter(BitConverter.IsLittleEndian); - } + public static EndianBitConverter CreateForBigEndian() => new EndianBitConverter(BitConverter.IsLittleEndian); #endregion diff --git a/BizHawk.Emulation.DiscSystem/Disc.cs b/BizHawk.Emulation.DiscSystem/Disc.cs index 5fb8e3b983..bcb09f3381 100644 --- a/BizHawk.Emulation.DiscSystem/Disc.cs +++ b/BizHawk.Emulation.DiscSystem/Disc.cs @@ -37,7 +37,7 @@ namespace BizHawk.Emulation.DiscSystem /// /// DiscStructure.Session 1 of the disc, since that's all thats needed most of the time. /// - public DiscStructure.Session Session1 { get { return Structure.Sessions[1]; } } + public DiscStructure.Session Session1 => Structure.Sessions[1]; /// /// The name of a disc. Loosely based on the filename. Just for informational purposes. diff --git a/BizHawk.Emulation.DiscSystem/DiscFormats/Blobs/Blob_RawFile.cs b/BizHawk.Emulation.DiscSystem/DiscFormats/Blobs/Blob_RawFile.cs index ed8aa3486c..41a9be2506 100644 --- a/BizHawk.Emulation.DiscSystem/DiscFormats/Blobs/Blob_RawFile.cs +++ b/BizHawk.Emulation.DiscSystem/DiscFormats/Blobs/Blob_RawFile.cs @@ -8,10 +8,7 @@ namespace BizHawk.Emulation.DiscSystem { public string PhysicalPath { - get - { - return physicalPath; - } + get => physicalPath; set { physicalPath = value;