OSDN Git Service

Mono 4.0.2でのビルドエラーを回避
authorKimura Youichi <kim.upsilon@bucyou.net>
Thu, 23 Jul 2015 06:05:28 +0000 (15:05 +0900)
committerKimura Youichi <kim.upsilon@bucyou.net>
Thu, 23 Jul 2015 06:07:58 +0000 (15:07 +0900)
ToolStripLabelHistory.LogLevel (enum) と ToolStripLabelHistory.LogEntry.LogLevel (プロパティ) 間が曖昧なことによるエラー

OpenTween/ToolStripLabelHistory.cs

index e935d50..b4e9eb8 100644 (file)
@@ -55,10 +55,10 @@ namespace OpenTween.OpenTweenCustomControl
 
             public LogEntry(LogLevel logLevel, DateTime timestamp, string summary, string detail)
             {
-                LogLevel = logLevel;
-                Timestamp = timestamp;
-                Summary = summary;
-                Detail = detail;
+                this.LogLevel = logLevel;
+                this.Timestamp = timestamp;
+                this.Summary = summary;
+                this.Detail = detail;
             }
 
             public LogEntry(DateTime timestamp, string summary) : this(LogLevel.Debug, timestamp, summary, summary)