From 4efa0d6533a4abed5df951f4f04489bc3a47331c Mon Sep 17 00:00:00 2001 From: Alex Berezhnykh Date: Thu, 6 May 2021 11:35:56 +0300 Subject: [PATCH] rename --- .../{RiderAssemblyResolver.cs => FantomasAssemblyResolver.cs} | 4 ++-- ReSharper.FSharp/src/FSharp.Fantomas.Host/src/Program.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename ReSharper.FSharp/src/FSharp.Fantomas.Host/src/{RiderAssemblyResolver.cs => FantomasAssemblyResolver.cs} (94%) diff --git a/ReSharper.FSharp/src/FSharp.Fantomas.Host/src/RiderAssemblyResolver.cs b/ReSharper.FSharp/src/FSharp.Fantomas.Host/src/FantomasAssemblyResolver.cs similarity index 94% rename from ReSharper.FSharp/src/FSharp.Fantomas.Host/src/RiderAssemblyResolver.cs rename to ReSharper.FSharp/src/FSharp.Fantomas.Host/src/FantomasAssemblyResolver.cs index 7b5be05c40..eaceb5c582 100644 --- a/ReSharper.FSharp/src/FSharp.Fantomas.Host/src/RiderAssemblyResolver.cs +++ b/ReSharper.FSharp/src/FSharp.Fantomas.Host/src/FantomasAssemblyResolver.cs @@ -5,12 +5,12 @@ namespace JetBrains.ReSharper.Plugins.FSharp.Fantomas.Host { - public static class RiderAssemblyResolver + public static class FantomasAssemblyResolver { private const string AdditionalProbingPathsEnvVar = "RIDER_PLUGIN_ADDITIONAL_PROBING_PATHS"; private static readonly List OurAdditionalProbingPaths = new List(); - static RiderAssemblyResolver() + static FantomasAssemblyResolver() { var paths = Environment.GetEnvironmentVariable(AdditionalProbingPathsEnvVar); if (string.IsNullOrWhiteSpace(paths)) return; diff --git a/ReSharper.FSharp/src/FSharp.Fantomas.Host/src/Program.cs b/ReSharper.FSharp/src/FSharp.Fantomas.Host/src/Program.cs index 5e3fe59e19..794ab4ea6b 100644 --- a/ReSharper.FSharp/src/FSharp.Fantomas.Host/src/Program.cs +++ b/ReSharper.FSharp/src/FSharp.Fantomas.Host/src/Program.cs @@ -6,7 +6,7 @@ public static class Program { public static void Main(string[] args) { - AppDomain.CurrentDomain.AssemblyResolve += RiderAssemblyResolver.Resolve; + AppDomain.CurrentDomain.AssemblyResolve += FantomasAssemblyResolver.Resolve; MainInternal(args); }