findAttribute method
Finds a custom attribute with the specified name.
Throws a WinmdException if no matching attribute is found.
Implementation
CustomAttribute findAttribute(String name) =>
_attributeMap[name] ??
(throw WinmdException('Attribute not found: $name'));