We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb751c9 commit 7d9f6e6Copy full SHA for 7d9f6e6
Runtime/TypeReference.cs
@@ -105,12 +105,12 @@ public Type Type
105
{
106
MakeSureTypeHasName(value);
107
108
- if (_type != value)
109
- {
110
- _type = value;
111
- TypeNameAndAssembly = GetTypeNameAndAssembly(value);
112
- _typeChanged = true;
113
- }
+ if (_type == value)
+ return;
+
+ _type = value;
+ TypeNameAndAssembly = GetTypeNameAndAssembly(value);
+ _typeChanged = true;
114
}
115
116
0 commit comments