瀏覽代碼

Using C# type name

Source commit: 2315392e895bcf2b6ea34bf57db28bd4de1429d6
Martin Prikryl 6 年之前
父節點
當前提交
ec403238f4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      dotnet/RemoteFileInfo.cs

+ 1 - 1
dotnet/RemoteFileInfo.cs

@@ -21,7 +21,7 @@ namespace WinSCP
         public string Owner { get; internal set; }
         public string Group { get; internal set; }
 
-        public bool IsDirectory { get { return (Char.ToUpper(FileType, CultureInfo.InvariantCulture) == 'D'); } }
+        public bool IsDirectory { get { return (char.ToUpper(FileType, CultureInfo.InvariantCulture) == 'D'); } }
         public bool IsThisDirectory { get { return IsDirectory && (Name == "."); } }
         public bool IsParentDirectory { get { return IsDirectory && (Name == ".."); } }