diff --git a/src/OmniSharp.Abstractions/Plugins/Plugin.cs b/src/OmniSharp.Abstractions/Plugins/Plugin.cs index 33222eb34c..1218740876 100644 --- a/src/OmniSharp.Abstractions/Plugins/Plugin.cs +++ b/src/OmniSharp.Abstractions/Plugins/Plugin.cs @@ -100,7 +100,7 @@ public void Dispose() _cancellation.Cancel(); } - public void Initalize(IConfiguration configuration) + public void Initialize(IConfiguration configuration) { if (Initialized) return; Initialized = true; diff --git a/src/OmniSharp.Abstractions/Services/IProjectSystem.cs b/src/OmniSharp.Abstractions/Services/IProjectSystem.cs index 34c6af1eec..70988673e3 100644 --- a/src/OmniSharp.Abstractions/Services/IProjectSystem.cs +++ b/src/OmniSharp.Abstractions/Services/IProjectSystem.cs @@ -21,7 +21,7 @@ public interface IProjectSystem /// Initialize the project system. /// /// The configuration to use. - void Initalize(IConfiguration configuration); + void Initialize(IConfiguration configuration); /// /// Wait until the project system is not busy. diff --git a/src/OmniSharp.Cake/CakeProjectSystem.cs b/src/OmniSharp.Cake/CakeProjectSystem.cs index 1e495e0fc6..7c9d132d36 100644 --- a/src/OmniSharp.Cake/CakeProjectSystem.cs +++ b/src/OmniSharp.Cake/CakeProjectSystem.cs @@ -71,7 +71,7 @@ public CakeProjectSystem( _compilationOptions = new Lazy(CreateCompilationOptions); } - public void Initalize(IConfiguration configuration) + public void Initialize(IConfiguration configuration) { if (Initialized) return; diff --git a/src/OmniSharp.Host/WorkspaceInitializer.cs b/src/OmniSharp.Host/WorkspaceInitializer.cs index 273a213bdc..fb7b5490c3 100644 --- a/src/OmniSharp.Host/WorkspaceInitializer.cs +++ b/src/OmniSharp.Host/WorkspaceInitializer.cs @@ -51,7 +51,7 @@ public static void Initialize(IServiceProvider serviceProvider, CompositionHost var enabledProjectFlag = projectConfiguration.GetValue("enabled", defaultValue: projectSystem.EnabledByDefault); if (enabledProjectFlag) { - projectSystem.Initalize(projectConfiguration); + projectSystem.Initialize(projectConfiguration); } else { diff --git a/src/OmniSharp.MSBuild/ProjectSystem.cs b/src/OmniSharp.MSBuild/ProjectSystem.cs index 10c547b637..00648f92df 100644 --- a/src/OmniSharp.MSBuild/ProjectSystem.cs +++ b/src/OmniSharp.MSBuild/ProjectSystem.cs @@ -86,7 +86,7 @@ public ProjectSystem( _dotNetInfo = dotNetInfo; } - public void Initalize(IConfiguration configuration) + public void Initialize(IConfiguration configuration) { if (Initialized) return; diff --git a/src/OmniSharp.Script/ScriptProjectSystem.cs b/src/OmniSharp.Script/ScriptProjectSystem.cs index 91be7281a9..6aa010f93b 100644 --- a/src/OmniSharp.Script/ScriptProjectSystem.cs +++ b/src/OmniSharp.Script/ScriptProjectSystem.cs @@ -50,7 +50,7 @@ public ScriptProjectSystem(OmniSharpWorkspace workspace, IOmniSharpEnvironment e public bool EnabledByDefault { get; } = true; public bool Initialized { get; private set; } - public void Initalize(IConfiguration configuration) + public void Initialize(IConfiguration configuration) { if (Initialized) return; diff --git a/tests/OmniSharp.Http.Tests/EndpointMiddlewareFacts.cs b/tests/OmniSharp.Http.Tests/EndpointMiddlewareFacts.cs index 257ad9e4e6..176020cf96 100644 --- a/tests/OmniSharp.Http.Tests/EndpointMiddlewareFacts.cs +++ b/tests/OmniSharp.Http.Tests/EndpointMiddlewareFacts.cs @@ -92,7 +92,7 @@ public Task GetProjectModelAsync(string path) throw new NotImplementedException(); } - public void Initalize(IConfiguration configuration) { } + public void Initialize(IConfiguration configuration) { } } private class PlugInHost : DisposableObject diff --git a/tests/OmniSharp.Lsp.Tests/OmnisharpCompletionHandlerFacts.cs b/tests/OmniSharp.Lsp.Tests/OmnisharpCompletionHandlerFacts.cs index 7d8f0f810d..48e8721ac2 100644 --- a/tests/OmniSharp.Lsp.Tests/OmnisharpCompletionHandlerFacts.cs +++ b/tests/OmniSharp.Lsp.Tests/OmnisharpCompletionHandlerFacts.cs @@ -522,7 +522,7 @@ public class Foo {}"; [Theory] [InlineData("dummy.cs")] [InlineData("dummy.csx")] - public async Task ReturnsObjectInitalizerMembers(string filename) + public async Task ReturnsObjectInitializerMembers(string filename) { const string source = @"public class MyClass1 { diff --git a/tests/OmniSharp.Roslyn.CSharp.Tests/CompletionFacts.cs b/tests/OmniSharp.Roslyn.CSharp.Tests/CompletionFacts.cs index 9d2fc512b9..31ef989278 100644 --- a/tests/OmniSharp.Roslyn.CSharp.Tests/CompletionFacts.cs +++ b/tests/OmniSharp.Roslyn.CSharp.Tests/CompletionFacts.cs @@ -541,7 +541,7 @@ public class Foo {}"; [Theory] [InlineData("dummy.cs")] [InlineData("dummy.csx")] - public async Task ReturnsObjectInitalizerMembers(string filename) + public async Task ReturnsObjectInitializerMembers(string filename) { const string source = @"public class MyClass1 { diff --git a/tests/OmniSharp.Stdio.Tests/EndpointHandlerFacts.cs b/tests/OmniSharp.Stdio.Tests/EndpointHandlerFacts.cs index 73e4a359ae..f45040b8da 100644 --- a/tests/OmniSharp.Stdio.Tests/EndpointHandlerFacts.cs +++ b/tests/OmniSharp.Stdio.Tests/EndpointHandlerFacts.cs @@ -116,7 +116,7 @@ public Task GetWorkspaceModelAsync(WorkspaceInformationRequest request) throw new NotImplementedException(); } - public void Initalize(IConfiguration configuration) + public void Initialize(IConfiguration configuration) { } }