Skip to content

Commit d9f740c

Browse files
committed
Use var instead.
1 parent 5dfda94 commit d9f740c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Magick.NET/Frameworks/Net/NativeLibraryLoader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public static void Load()
3838

3939
private static string CreateCacheDirectory()
4040
{
41-
AssemblyFileVersionAttribute version = (AssemblyFileVersionAttribute)Assembly.GetCustomAttributes(typeof(AssemblyFileVersionAttribute), false)[0];
41+
var version = (AssemblyFileVersionAttribute)Assembly.GetCustomAttributes(typeof(AssemblyFileVersionAttribute), false)[0];
4242

4343
#if NET20
4444
var path = Path.Combine(MagickAnyCPU.CacheDirectory, "Magick.NET.net20." + version.Version);

0 commit comments

Comments
 (0)