From 9019f481ca7a9f1a7dbf7d31fc2e6fb0471a7d61 Mon Sep 17 00:00:00 2001 From: Avner Shanan Date: Fri, 17 Jan 2014 12:12:16 -0600 Subject: [PATCH 1/2] Added CLSCompliant attribute In order for CLS compliant code to use this library, it also needs to be CLS compliant. The actual code already is compliant, it just doesn't have the attribute that lets other code know about it. --- src/FeatureToggleSolution/SharedAssemblyInfo.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/FeatureToggleSolution/SharedAssemblyInfo.cs b/src/FeatureToggleSolution/SharedAssemblyInfo.cs index 21f78cd..d8e84b1 100644 --- a/src/FeatureToggleSolution/SharedAssemblyInfo.cs +++ b/src/FeatureToggleSolution/SharedAssemblyInfo.cs @@ -1,3 +1,4 @@ +using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; @@ -9,7 +10,7 @@ [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyProduct("FeatureToggle")] -[assembly: AssemblyCopyright("Copyright � Jason Roberts 2011")] +[assembly: AssemblyCopyright("Copyright � Jason Roberts 2011")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] @@ -33,3 +34,8 @@ // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("1.0.*")] +// The Common Language Specification (CLS) defines naming restrictions, data types, and +// rules to which assemblies must conform if they will be used across programming languages. +// Good design dictates that all assemblies explicitly indicate CLS compliance with +// CLSCompliantAttribute. If the attribute is not present on an assembly, the assembly is not compliant. +[assembly: CLSCompliant(true)] From f5182345c26e2925b9f94330022485322975f94a Mon Sep 17 00:00:00 2001 From: Avner Shanan Date: Fri, 17 Jan 2014 12:19:31 -0600 Subject: [PATCH 2/2] Fix accidental change to copyright symbol --- src/FeatureToggleSolution/SharedAssemblyInfo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FeatureToggleSolution/SharedAssemblyInfo.cs b/src/FeatureToggleSolution/SharedAssemblyInfo.cs index d8e84b1..4c8e81e 100644 --- a/src/FeatureToggleSolution/SharedAssemblyInfo.cs +++ b/src/FeatureToggleSolution/SharedAssemblyInfo.cs @@ -10,7 +10,7 @@ [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyProduct("FeatureToggle")] -[assembly: AssemblyCopyright("Copyright � Jason Roberts 2011")] +[assembly: AssemblyCopyright("Copyright © Jason Roberts 2011")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")]