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 @@ -1041,7 +1041,7 @@ static void M()
}

[WorkItem(528571, "DevDiv")]
[Fact(Skip = "528571")]
[Fact]
public void ConstraintsWithinStruct()
{
var source =
Expand Down
140 changes: 0 additions & 140 deletions src/ExpressionEvaluator/Core/Source/ResultProvider/ExpansionRow.cs

This file was deleted.

12 changes: 12 additions & 0 deletions src/Scripting/CSharpTest/InteractiveSessionTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,18 @@ public void Fields_Visibility()
Assert.Equal(16, script.ContinueWith<int>("pi").EvaluateAsync().Result);
}

[WorkItem(100639)]
[Fact]
public void ExternDestructor()
{
var script = CSharpScript.Create(
@"class C
{
extern ~C();
}");
Assert.Null(script.EvaluateAsync().Result);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does this test? Did it used to throw?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test would have resulted in an exception back when the bug was logged, but there have been significant changes to emit since then so that code path is no longer hit. But it seemed like an interesting test case.

}

#endregion

#region Chaining
Expand Down