Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,4 @@ public abstract class AbstractCSharpCodeActionTest_NoEditor : AbstractCodeAction
protected override ParseOptions GetScriptOptions() => TestOptions.Script;

protected internal override string GetLanguage() => LanguageNames.CSharp;

internal new Task TestInRegularAndScript1Async(
[StringSyntax(PredefinedEmbeddedLanguageNames.CSharpTest)] string initialMarkup,
[StringSyntax(PredefinedEmbeddedLanguageNames.CSharpTest)] string expectedMarkup,
int index = 0,
TestParameters? parameters = null)
{
return base.TestInRegularAndScript1Async(initialMarkup, expectedMarkup, index, parameters);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1099,7 +1099,7 @@ private static void M2([A(nameof(b), P = nameof(b))] string b)

[Fact, WorkItem("https://github.com/dotnet/roslyn/issues/76562")]
public Task TestOptionalParameters1()
=> TestInRegularAndScript1Async(
=> TestInRegularAndScriptAsync(
"""
class C
{
Expand Down Expand Up @@ -1135,7 +1135,7 @@ private static string GetFullString(string begin, bool exclamation = false)

[Fact, WorkItem("https://github.com/dotnet/roslyn/issues/76562")]
public Task TestOptionalParameters2()
=> TestInRegularAndScript1Async(
=> TestInRegularAndScriptAsync(
"""
class C
{
Expand Down Expand Up @@ -1171,7 +1171,7 @@ private static string GetFullString(string begin, bool exclamation = false)

[Fact, WorkItem("https://github.com/dotnet/roslyn/issues/76562")]
public Task TestOptionalParameters3()
=> TestInRegularAndScript1Async(
=> TestInRegularAndScriptAsync(
"""
class C
{
Expand Down Expand Up @@ -1207,7 +1207,7 @@ private static string GetFullString(string required, string begin, bool exclamat

[Fact, WorkItem("https://github.com/dotnet/roslyn/issues/76562")]
public Task TestOptionalParameters4()
=> TestInRegularAndScript1Async(
=> TestInRegularAndScriptAsync(
"""
class C
{
Expand Down
Loading