File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/FmgLib.MauiMarkup.Generator/Extensions Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ void GenerateClassExtensionBody()
110
110
( _ . Type . Name . Contains ( nameof ( IList ) ) || _ . Type . AllInterfaces . Any ( e => e . Name . Contains ( nameof ( IList ) ) ) || _ . Type . Name . Contains ( nameof ( ICollection ) ) || _ . Type . AllInterfaces . Any ( e => e . Name . Contains ( nameof ( ICollection ) ) ) ) &&
111
111
_ . Type . AllInterfaces . Any ( e => e . Name . Contains ( nameof ( IEnumerable ) ) ) &&
112
112
! _ . Type . Name . Equals ( nameof ( String ) , StringComparison . InvariantCultureIgnoreCase ) )
113
- . Where ( _ => ! ( _ . Type . Name . Contains ( "IReadOnlyList" ) || _ . Type . AllInterfaces . Any ( e => e . Name . Contains ( "IReadOnlyList" ) ) ) )
113
+ . Where ( _ => _ . Type . Name . Contains ( nameof ( ICollection ) ) || _ . Type . AllInterfaces . Any ( e => e . Name . Contains ( nameof ( ICollection ) ) ) || ! ( _ . Type . Name . Contains ( "IReadOnlyList" ) || _ . Type . AllInterfaces . Any ( e => e . Name . Contains ( "IReadOnlyList" ) ) ) )
114
114
. ToList ( ) ;
115
115
116
116
You can’t perform that action at this time.
0 commit comments