Skip to content

Commit 1461ce7

Browse files
committed
Fix analyzing MemberRef to array methods
Fix yck1509#440
1 parent c0d6670 commit 1461ce7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Confuser.Renamer/Analyzers/TypeBlobAnalyzer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ void AnalyzeCAArgument(ConfuserContext context, INameService service, CAArgument
113113
void AnalyzeMemberRef(ConfuserContext context, INameService service, MemberRef memberRef) {
114114
ITypeDefOrRef declType = memberRef.DeclaringType;
115115
var typeSpec = declType as TypeSpec;
116-
if (typeSpec == null)
116+
if (typeSpec == null || typeSpec.TypeSig.IsArray || typeSpec.TypeSig.IsSZArray)
117117
return;
118118

119119
TypeSig sig = typeSpec.TypeSig;

0 commit comments

Comments
 (0)