Skip to content
This repository has been archived by the owner on Jan 27, 2019. It is now read-only.

Commit

Permalink
Ignore StaticResourceStart BAML record
Browse files Browse the repository at this point in the history
Fix #53
  • Loading branch information
yck1509 committed Jul 30, 2014
1 parent f3c1406 commit 7244376
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Confuser.Renamer/BAML/BAMLAnalyzer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -274,13 +274,11 @@ private void ProcessElementHeader(BamlElement elem) {
break;

case BamlRecordType.KeyElementStart:
case BamlRecordType.StaticResourceStart:
// i.e. <x:Key></x:Key>
elem.Type = module.CorLibTypes.Object.TypeDefOrRef.ResolveTypeDef();
elem.Attribute = null;
break;

case BamlRecordType.StaticResourceStart:
throw new NotSupportedException();
}
}

Expand Down

0 comments on commit 7244376

Please sign in to comment.