Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Commit 087d79f

Browse files
committed
WinForms Designer should not modify class fields of generic types outside designer file
1 parent 6585614 commit 087d79f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/AddIns/BackendBindings/CSharpBinding/Project/Src/FormsDesigner/CSharpDesignerGenerator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ static bool AreTypesDifferent(IType oldType, CodeTypeReference newType)
284284
return false;
285285
}
286286

287-
return oldType.ReflectionName != newType.BaseType;
287+
return oldType.GetDefinition().ReflectionName != newType.BaseType;
288288
}
289289

290290
string GenerateField(CodeMemberField newField)

0 commit comments

Comments
 (0)