From bd3cab4de1b12b474363435258ae4bda7f6390fe Mon Sep 17 00:00:00 2001 From: therzok Date: Sun, 21 Jul 2019 05:44:13 +0300 Subject: [DotNetCore] Remove unused file --- .../MonoDevelop.DotNetCore.csproj | 1 - .../MonoDevelop.DotNetCore/FilePathExtensions.cs | 49 ---------------------- 2 files changed, 50 deletions(-) delete mode 100644 main/src/addins/MonoDevelop.DotNetCore/MonoDevelop.DotNetCore/FilePathExtensions.cs (limited to 'main') diff --git a/main/src/addins/MonoDevelop.DotNetCore/MonoDevelop.DotNetCore.csproj b/main/src/addins/MonoDevelop.DotNetCore/MonoDevelop.DotNetCore.csproj index 2a1c0e630c..01aa705bac 100644 --- a/main/src/addins/MonoDevelop.DotNetCore/MonoDevelop.DotNetCore.csproj +++ b/main/src/addins/MonoDevelop.DotNetCore/MonoDevelop.DotNetCore.csproj @@ -39,7 +39,6 @@ - diff --git a/main/src/addins/MonoDevelop.DotNetCore/MonoDevelop.DotNetCore/FilePathExtensions.cs b/main/src/addins/MonoDevelop.DotNetCore/MonoDevelop.DotNetCore/FilePathExtensions.cs deleted file mode 100644 index 4c065a5a99..0000000000 --- a/main/src/addins/MonoDevelop.DotNetCore/MonoDevelop.DotNetCore/FilePathExtensions.cs +++ /dev/null @@ -1,49 +0,0 @@ -// -// FilePathExtensions.cs -// -// Author: -// Matt Ward -// -// Copyright (c) 2017 Xamarin Inc. (http://xamarin.com) -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. - -using MonoDevelop.Core; - -namespace MonoDevelop.DotNetCore -{ - static class FilePathExtensions - { - public static bool HasSupportedDotNetCoreProjectFileExtension (this FilePath file) - { - return file.HasExtension (".csproj") || file.HasExtension (".fsproj") || file.HasExtension (".vbproj"); - } - - /// - /// HACK: Hide certain files in Solution window. The solution's .userprefs - /// file is the only file is included properly with the .NET Core MSBuild - /// targets. - /// - public static bool ShouldBeHidden (this FilePath file) - { - return file.HasExtension (".userprefs") || - file.FileName == ".DS_Store"; - } - } -} -- cgit v1.2.3