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()
110110 ( _ . 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 ) ) ) ) &&
111111 _ . Type . AllInterfaces . Any ( e => e . Name . Contains ( nameof ( IEnumerable ) ) ) &&
112112 ! _ . 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" ) ) ) )
114114 . ToList ( ) ;
115115
116116
You can’t perform that action at this time.
0 commit comments