From f558a7e954c4cfa91d0e14fb3409cf501213cd07 Mon Sep 17 00:00:00 2001 From: Erik Ovegard Date: Thu, 27 Jul 2017 13:26:26 +0200 Subject: [PATCH 1/2] Added CLSCompliant(true) --- UnitsNet/AssemblyInfo.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/UnitsNet/AssemblyInfo.cs b/UnitsNet/AssemblyInfo.cs index 9b88fa04a0..8a7b18d61d 100644 --- a/UnitsNet/AssemblyInfo.cs +++ b/UnitsNet/AssemblyInfo.cs @@ -1,3 +1,4 @@ -using System.Runtime.CompilerServices; - +using System; +using System.Runtime.CompilerServices; +[assembly: CLSCompliant(true)] [assembly: InternalsVisibleTo("UnitsNet.Tests.WindowsRuntimeComponent")] \ No newline at end of file From 05bac9afc822ea0705d485383384596783612e65 Mon Sep 17 00:00:00 2001 From: Erik Ovegard Date: Thu, 27 Jul 2017 13:30:59 +0200 Subject: [PATCH 2/2] Fixed build error --- UnitsNet/Properties/AssemblyInfo.WindowsRuntimeComponent.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/UnitsNet/Properties/AssemblyInfo.WindowsRuntimeComponent.cs b/UnitsNet/Properties/AssemblyInfo.WindowsRuntimeComponent.cs index 399706cb13..5e806fed58 100644 --- a/UnitsNet/Properties/AssemblyInfo.WindowsRuntimeComponent.cs +++ b/UnitsNet/Properties/AssemblyInfo.WindowsRuntimeComponent.cs @@ -38,7 +38,6 @@ [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: NeutralResourcesLanguage("")] -[assembly: CLSCompliant(true)] [assembly: AssemblyVersion("3.55.0")] [assembly: AssemblyFileVersion("3.55.0")] [assembly: InternalsVisibleTo("UnitsNet.WindowsRuntimeComponent.Tests")]