Fix warnings of CodeAnalysis
authorWonYoung Choi <wy80.choi@samsung.com>
Wed, 20 Apr 2016 10:55:23 +0000 (19:55 +0900)
committerWonYoung Choi <wy80.choi@samsung.com>
Wed, 20 Apr 2016 10:55:23 +0000 (19:55 +0900)
Change-Id: I12d613ff0b5504ec3bcea7d34d90d6a3d0a98f3c

Tizen.Internals/Tizen.Internals.csproj
src/Tizen/Properties/AssemblyInfo.cs
src/Tizen/Tizen.csproj
src/Tizen/Tizen/Log.cs

index f3d28cc..29d9996 100755 (executable)
@@ -22,6 +22,7 @@
     <ErrorReport>prompt</ErrorReport>
     <WarningLevel>4</WarningLevel>
     <DocumentationFile>bin\Debug\Tizen.Internals.XML</DocumentationFile>
+    <CodeAnalysisRuleSet>ExtendedDesignGuidelineRules.ruleset</CodeAnalysisRuleSet>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
     <DebugType>pdbonly</DebugType>
index 44daf40..e73f4d8 100755 (executable)
@@ -1,3 +1,4 @@
+using System;
 using System.Reflection;
 using System.Runtime.InteropServices;
 
@@ -11,6 +12,7 @@ using System.Runtime.InteropServices;
 [assembly: AssemblyCulture("")]
 
 [assembly: ComVisible(false)]
+[assembly: CLSCompliant(true)]
 
 [assembly: Guid("8aa94469-cdb5-4d8c-81d0-df4590eea612")]
 
index e9c2d83..95afa93 100755 (executable)
@@ -22,6 +22,7 @@
     <ErrorReport>prompt</ErrorReport>
     <WarningLevel>4</WarningLevel>
     <DocumentationFile>bin\Debug\Tizen.XML</DocumentationFile>
+    <CodeAnalysisRuleSet>ExtendedDesignGuidelineRules.ruleset</CodeAnalysisRuleSet>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
     <DebugType>pdbonly</DebugType>
index 3d9cdc6..775134c 100755 (executable)
@@ -15,7 +15,7 @@ namespace Tizen
     /// <summary>
     /// Provides methods to print log messages to Tizen logging system.
     /// </summary>
-    public class Log
+    public static class Log
     {
         /// <summary>
         /// Prints a log message with the DEBUG priority.