Redo Reformat and cleanup.

Rider EAP was having a bug interpreting .editorconfig that didn't generate the code style as we wanted.
This is now done with Rider-stable.
This commit is contained in:
2023-10-04 17:34:40 +01:00
parent bc8bf7a2dc
commit 7363a5d9c5
453 changed files with 7241 additions and 7126 deletions

View File

@@ -279,13 +279,19 @@ public class Nes : IByteAddressableImage
public bool IsWriting { get; private set; }
/// <inheritdoc />
public IEnumerable<string> KnownExtensions => new[] { ".nes" };
public IEnumerable<string> KnownExtensions => new[]
{
".nes"
};
/// <inheritdoc />
public IEnumerable<MediaTagType> SupportedMediaTags => Array.Empty<MediaTagType>();
/// <inheritdoc />
public IEnumerable<MediaType> SupportedMediaTypes => new[] { MediaType.NESGamePak, MediaType.FamicomGamePak };
public IEnumerable<MediaType> SupportedMediaTypes => new[]
{
MediaType.NESGamePak, MediaType.FamicomGamePak
};
/// <inheritdoc />
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
@@ -424,8 +430,7 @@ public class Nes : IByteAddressableImage
return ErrorNumber.InvalidArgument;
}
if(mediaType != MediaType.FamicomGamePak &&
mediaType != MediaType.NESGamePak)
if(mediaType != MediaType.FamicomGamePak && mediaType != MediaType.NESGamePak)
{
ErrorMessage = string.Format(Localization.Unsupported_media_format_0, mediaType);