From 72443761afd4259b98439b3b31705ed3eb44e7ca Mon Sep 17 00:00:00 2001 From: yck1509 Date: Wed, 30 Jul 2014 15:36:20 +0800 Subject: [PATCH] Ignore StaticResourceStart BAML record Fix #53 --- Confuser.Renamer/BAML/BAMLAnalyzer.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Confuser.Renamer/BAML/BAMLAnalyzer.cs b/Confuser.Renamer/BAML/BAMLAnalyzer.cs index b8f3c4778..ebb7a1f19 100644 --- a/Confuser.Renamer/BAML/BAMLAnalyzer.cs +++ b/Confuser.Renamer/BAML/BAMLAnalyzer.cs @@ -274,13 +274,11 @@ private void ProcessElementHeader(BamlElement elem) { break; case BamlRecordType.KeyElementStart: + case BamlRecordType.StaticResourceStart: // i.e. elem.Type = module.CorLibTypes.Object.TypeDefOrRef.ResolveTypeDef(); elem.Attribute = null; break; - - case BamlRecordType.StaticResourceStart: - throw new NotSupportedException(); } }