Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo ("Initalize") #2249

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/OmniSharp.Abstractions/Plugins/Plugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public void Dispose()
_cancellation.Cancel();
}

public void Initalize(IConfiguration configuration)
public void Initialize(IConfiguration configuration)
{
if (Initialized) return;
Initialized = true;
Expand Down
2 changes: 1 addition & 1 deletion src/OmniSharp.Abstractions/Services/IProjectSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public interface IProjectSystem
/// Initialize the project system.
/// </summary>
/// <param name="configuration">The configuration to use.</param>
void Initalize(IConfiguration configuration);
void Initialize(IConfiguration configuration);

/// <summary>
/// Wait until the project system is not busy.
Expand Down
2 changes: 1 addition & 1 deletion src/OmniSharp.Cake/CakeProjectSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public CakeProjectSystem(
_compilationOptions = new Lazy<CSharpCompilationOptions>(CreateCompilationOptions);
}

public void Initalize(IConfiguration configuration)
public void Initialize(IConfiguration configuration)
{
if (Initialized) return;

Expand Down
2 changes: 1 addition & 1 deletion src/OmniSharp.Host/WorkspaceInitializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
2 changes: 1 addition & 1 deletion src/OmniSharp.MSBuild/ProjectSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public ProjectSystem(
_dotNetInfo = dotNetInfo;
}

public void Initalize(IConfiguration configuration)
public void Initialize(IConfiguration configuration)
{
if (Initialized) return;

Expand Down
2 changes: 1 addition & 1 deletion src/OmniSharp.Script/ScriptProjectSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion tests/OmniSharp.Http.Tests/EndpointMiddlewareFacts.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public Task<object> GetProjectModelAsync(string path)
throw new NotImplementedException();
}

public void Initalize(IConfiguration configuration) { }
public void Initialize(IConfiguration configuration) { }
}

private class PlugInHost : DisposableObject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion tests/OmniSharp.Roslyn.CSharp.Tests/CompletionFacts.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion tests/OmniSharp.Stdio.Tests/EndpointHandlerFacts.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public Task<object> GetWorkspaceModelAsync(WorkspaceInformationRequest request)
throw new NotImplementedException();
}

public void Initalize(IConfiguration configuration)
public void Initialize(IConfiguration configuration)
{
}
}
Expand Down