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(); } }