diff --git a/Filing_oM/Directory.cs b/Filing_oM/Directory.cs index 4d01113..fe4439a 100644 --- a/Filing_oM/Directory.cs +++ b/Filing_oM/Directory.cs @@ -21,7 +21,7 @@ public class Directory : BHoMObject, IDirectory, ILocatableResource, IContainabl public virtual string Location { get; set; } [Description("Name of the directory.")] - public new string Name { get; set; } + public override string Name { get; set; } [Description("The content of the Directory.")] public virtual List Content { get; set; } = new List(); diff --git a/Filing_oM/FSDirectory.cs b/Filing_oM/FSDirectory.cs index 2fb1956..a13441d 100644 --- a/Filing_oM/FSDirectory.cs +++ b/Filing_oM/FSDirectory.cs @@ -21,7 +21,7 @@ public class FSDirectory : BHoMObject, IFSContainer, IDirectory public virtual FSDirectory ParentDirectory { get; set; } [Description("Name of the directory.")] - public new string Name { get; set; } + public override string Name { get; set; } [Description("Gets a value indicating whether a file exists.")] public virtual bool? Exists { get; set; } = null; diff --git a/Filing_oM/FSFile.cs b/Filing_oM/FSFile.cs index 964a15a..a250f6b 100644 --- a/Filing_oM/FSFile.cs +++ b/Filing_oM/FSFile.cs @@ -21,7 +21,7 @@ public class FSFile : BHoMObject, IFSContainer, IFile public virtual FSDirectory ParentDirectory { get; set; } [Description("Name of the file, INCLUDING Extension.")] - public new string Name { get; set; } + public override string Name { get; set; } [Description("Gets a value indicating whether a file exists.")] public virtual bool? Exists { get; set; } = null; diff --git a/Filing_oM/File.cs b/Filing_oM/File.cs index 50572e8..3b01ffa 100644 --- a/Filing_oM/File.cs +++ b/Filing_oM/File.cs @@ -21,7 +21,7 @@ public class File : BHoMObject, IFile, ILocatableResource, IContainableResource public virtual string Location { get; set; } [Description("Name of the file, INCLUDING Extension.")] - public new string Name { get; set; } + public override string Name { get; set; } [Description("The content of the file.")] public virtual List Content { get; set; } = new List();