OSDN Git Service

静的なメンバーのみを含むクラスを静的クラスに変更 (CA1053)
authorKimura Youichi <kim.upsilon@bucyou.net>
Fri, 11 Jul 2014 15:54:05 +0000 (00:54 +0900)
committerKimura Youichi <kim.upsilon@bucyou.net>
Mon, 21 Jul 2014 06:26:32 +0000 (15:26 +0900)
http://msdn.microsoft.com/ja-jp/library/ms182169.aspx

OpenTween/ControlTransaction.cs
OpenTween/MyCommon.cs
OpenTween/MySpecialPath.cs
OpenTween/TweetFormatter.cs

index 068201a..98f289b 100644 (file)
@@ -31,7 +31,7 @@ namespace OpenTween
     /// <summary>
     /// WinformsコントロールのBegin/EndUpdate等のメソッドをusingブロックによって呼び出すためのクラス
     /// </summary>
-    public class ControlTransaction
+    public static class ControlTransaction
     {
         public static IDisposable Update(ListView control)
         {
index 0e142fa..7f23ae4 100644 (file)
@@ -50,7 +50,7 @@ using OpenTween.Api;
 
 namespace OpenTween
 {
-    public sealed class MyCommon
+    public static class MyCommon
     {
         private static readonly object LockObj = new object();
         public static bool _endingFlag;        //終了フラグ
index b121faa..fa2ee49 100644 (file)
@@ -34,7 +34,7 @@ using System.IO;
 
 namespace OpenTween
 {
-    public class MySpecialPath
+    public static class MySpecialPath
     {
         //public static string UserAppDataPath
         //{
index d181d3e..e5f3d59 100644 (file)
@@ -31,7 +31,7 @@ namespace OpenTween
     /// <summary>
     /// ツイートの Entity 情報をもとにリンク化などを施すクラス
     /// </summary>
-    public class TweetFormatter
+    public static class TweetFormatter
     {
         public static string AutoLinkHtml(string text, TwitterEntities entities)
         {