Skip to content

Commit 541adaa

Browse files
author
Sam Byass
committed
Fix broken extension class
1 parent d2737f3 commit 541adaa

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Fmod5Sharp/Fmod5Sharp.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
77
<Configurations>Release;Debug</Configurations>
88
<Platforms>x86;x64;AnyCPU</Platforms>
9-
<Version>1.1.0</Version>
9+
<Version>1.1.1</Version>
1010
<PackageId>Fmod5Sharp</PackageId>
1111
<RepositoryType>git</RepositoryType>
1212
<RepositoryUrl>https://github.com/SamboyCoding/Fmod5Sharp.git</RepositoryUrl>

Fmod5Sharp/FmodAudioTypeExtensions.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
namespace Fmod5Sharp
22
{
3-
public class FmodAudioTypeExtensions
3+
public static class FmodAudioTypeExtensions
44
{
5-
public static bool IsSupported(FmodAudioType @this) =>
5+
public static bool IsSupported(this FmodAudioType @this) =>
66
@this switch
77
{
88
FmodAudioType.VORBIS => true,
@@ -13,7 +13,7 @@ public static bool IsSupported(FmodAudioType @this) =>
1313
_ => false
1414
};
1515

16-
public static string? FileExtension(FmodAudioType @this) =>
16+
public static string? FileExtension(this FmodAudioType @this) =>
1717
@this switch
1818
{
1919
FmodAudioType.VORBIS => "ogg",

0 commit comments

Comments
 (0)