Class names are hard coded in XAML files for Window and so on. Such strings are embedded in the resource section of the assembly in BAML format.
Thus, obfuscation should correctly rename the items in BAML, or automatically skip any types that appear in BAML.
Thus, obfuscation should correctly rename the items in BAML, or automatically skip any types that appear in BAML.