Explorar o código

Using C# type name

Source commit: 2315392e895bcf2b6ea34bf57db28bd4de1429d6
Martin Prikryl %!s(int64=6) %!d(string=hai) anos
pai
achega
ec403238f4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 == ".."); } }