-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
💥 regression-releaseRegression from a public releaseRegression from a public release🚧 work in progressWork that is current in progressWork that is current in progress
Milestone
Description
.NET version
net9.0-windows
Did it work in .NET Framework?
Yes
Did it work in any of the earlier releases of .NET Core or .NET 5+?
It does work on net8.0
Issue description
The Clipboard method ContainsText returns false when a string is placed on the clipboard using SetDataObject. In previous versions of the runtime this method would return true.
Steps to reproduce
The following code returns true on net8.0 and returns false on net9.0
Clipboard.SetDataObject("TEXT");
var containsText = Clipboard.ContainsText();
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
💥 regression-releaseRegression from a public releaseRegression from a public release🚧 work in progressWork that is current in progressWork that is current in progress