You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, you could put a [Theme] attribute on a type (or property) that is not
of the expected target type ColorScheme, and this would only "fail" at run-time with
an invalid cast exception, which is clearly a bad experience.
The goal of this analyzer is to make the ThemeAnalyer general-purpose, so it can
diagnose any ExportAttribute-derived attribute and provide compile-time errors.
The text was updated successfully, but these errors were encountered:
For example, you could put a
[Theme]
attribute on a type (or property) that is notof the expected target type
ColorScheme
, and this would only "fail" at run-time withan invalid cast exception, which is clearly a bad experience.
The goal of this analyzer is to make the
ThemeAnalyer
general-purpose, so it candiagnose any ExportAttribute-derived attribute and provide compile-time errors.
The text was updated successfully, but these errors were encountered: