File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ public void Initialize(IncrementalGeneratorInitializationContext context)
38
38
// Filter the fields using [ObservableProperty]
39
39
IncrementalValuesProvider < IFieldSymbol > fieldSymbolsWithAttribute =
40
40
fieldSymbols
41
- . Where ( static item => item . GetAttributes ( ) . Any ( a => a . AttributeClass ? . HasFullyQualifiedName ( "global::CommunityToolkit.Mvvm.ComponentModel.ObservablePropertyAttribute" ) == true ) ) ;
41
+ . Where ( static item => item . HasAttributeWithFullyQualifiedName ( "global::CommunityToolkit.Mvvm.ComponentModel.ObservablePropertyAttribute" ) ) ;
42
42
43
43
// Filter by language version
44
44
context . FilterWithLanguageVersion ( ref fieldSymbolsWithAttribute , LanguageVersion . CSharp8 , UnsupportedCSharpLanguageVersionError ) ;
You can’t perform that action at this time.
0 commit comments