Use the SetMethod property
This commit is contained in:
parent
b96ab54ba6
commit
f7f77a821c
|
@ -517,10 +517,7 @@ namespace de4dot.code.renamer {
|
||||||
var checker = NameChecker;
|
var checker = NameChecker;
|
||||||
|
|
||||||
foreach (var propDef in type.AllProperties) {
|
foreach (var propDef in type.AllProperties) {
|
||||||
var setter = propDef.PropertyDefinition.SetMethod;
|
var setterDef = propDef.SetMethod;
|
||||||
if (setter == null)
|
|
||||||
continue;
|
|
||||||
var setterDef = type.find(setter);
|
|
||||||
if (setterDef == null)
|
if (setterDef == null)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user