提交 808eb75c 编写于 作者: J Jonathon Marolf

adding required attribute

上级 3a7fce25
......@@ -183,7 +183,7 @@ private static string InspectActiveStatementAndInstruction(ActiveStatement state
private static string GetFirstLineText(LinePositionSpan span, SourceText text)
=> text.Lines[span.Start.Line].ToString().Trim();
[Fact]
[Fact, UseExportProvider]
public async Task BaseActiveStatementsAndExceptionRegions1()
{
var markedSource = new[]
......@@ -364,7 +364,7 @@ LinePositionSpan AddDelta(LinePositionSpan span, int lineDelta)
}, activeStatementsInUpdatedMethods.Select(v => $"thread={v.ThreadId} {v.OldInstructionId.GetDebuggerDisplay()}: {v.NewSpan}"));
}
[Fact, WorkItem(24439, "https://github.com/dotnet/roslyn/issues/24439")]
[Fact, UseExportProvider, WorkItem(24439, "https://github.com/dotnet/roslyn/issues/24439")]
public async Task BaseActiveStatementsAndExceptionRegions2()
{
var baseSource =
......@@ -464,7 +464,7 @@ static void F2()
}, activeStatementsInUpdatedMethods.Select(v => $"thread={v.ThreadId} {v.OldInstructionId.GetDebuggerDisplay()}: {v.NewSpan} '{GetFirstLineText(v.NewSpan, updatedText)}'"));
}
[Fact]
[Fact, UseExportProvider]
public async Task BaseActiveStatementsAndExceptionRegions_WithInitialNonRemappableRegions()
{
var markedSourceV1 =
......@@ -653,7 +653,7 @@ static void F4()
}, activeStatementsInUpdatedMethods.Select(v => $"thread={v.ThreadId} {v.OldInstructionId.GetDebuggerDisplay()}: {v.NewSpan} '{GetFirstLineText(v.NewSpan, sourceTextV3)}'"));
}
[Fact]
[Fact, UseExportProvider]
public async Task BaseActiveStatementsAndExceptionRegions_Recursion()
{
var markedSource = new[]
......@@ -734,7 +734,7 @@ static void F()
}, baseExceptionRegions.Select(r => "[" + string.Join(",", r.Spans) + "]"));
}
[Fact, WorkItem(24320, "https://github.com/dotnet/roslyn/issues/24320")]
[Fact, UseExportProvider, WorkItem(24320, "https://github.com/dotnet/roslyn/issues/24320")]
public async Task BaseActiveStatementsAndExceptionRegions_LinkedDocuments()
{
var markedSource = new[]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册