Skip to content

Commit

Permalink
fix up
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanya-Solyanik committed Nov 14, 2024
1 parent cb302c4 commit e571f82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,9 @@ public DataWithObjectField(string text1, object object2)
private static Type DataResolver(TypeName typeName)
{
Type type = typeof(DataWithObjectField);
TypeName parsed = TypeName.Parse($"{type.FullName}, {type.Assembly.FullName}");

// Namespace-qualified type name.
if (typeName.FullName == parsed.FullName
// Ignore version, culture, and public key token in the assembly name.
&& typeName.AssemblyName?.Name == parsed.AssemblyName?.Name)
if (type.FullName == typeName.FullName)
{
return type;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace System.Windows.Forms.Tests;
// Note: each registered Clipboard format is an OS singleton
// and we should not run this test at the same time as other tests using the same format.
[Collection("Sequential")]
// [UISettings(MaxAttempts = 3)] // Try up to 3 times before failing.
[UISettings(MaxAttempts = 3)] // Try up to 3 times before failing.
public class ClipboardTests
{
#pragma warning disable WFDEV005 // Type or member is obsolete
Expand Down

0 comments on commit e571f82

Please sign in to comment.