Fix intermittent C# emit crash on CoreClr

Looks like we have a threading issue in the parser. Filed a bug to track
this down.

https://github.com/dotnet/roslyn/issues/30212
上级 3aee2af3
......@@ -144,7 +144,7 @@ private static IEnumerable<IList<int>> GenerateAllSetCombinations(int sum, int n
}
}
[Fact]
[ConditionalFact(typeof(WindowsOnly), Reason = "https://github.com/dotnet/roslyn/issues/30212")]
public void GenerateAllTest()
{
Assert.Equal(new[]
......@@ -169,7 +169,7 @@ public void GenerateAllTest()
}, GenerateAllSetCombinations(3, 2));
}
[Fact]
[ConditionalFact(typeof(WindowsOnly), Reason = "https://github.com/dotnet/roslyn/issues/30212")]
public void ExpressionGeneratorTest01()
{
var ctx = new CaptureContext(1);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册