### Description I enabled it <MauiXamlInflator>SourceGen</MauiXamlInflator> in my existing MAUI app .NET 10 (latest). I am getting lots of CS8820 errors of `A static anonymous function cannot contain a reference to 'extension'.` I got 28 errors enabling it. <img width="1994" height="391" alt="Image" src="https://github.com/user-attachments/assets/6464f52b-ba5b-4b1d-9602-00b7fe0cc077" /> Here's a line of error from the generated xsg.cs file: <img width="1315" height="202" alt="Image" src="https://github.com/user-attachments/assets/ae291f36-6018-43ea-a629-a9afbe1372c2" /> So I had to remove SourceGen. I don't understand this error and cannot figure it out. ### Steps to Reproduce _No response_ ### Link to public reproduction project repository _No response_ ### Version with bug 10.0.10 ### Is this a regression from previous behavior? No, this is something new ### Last version that worked well _No response_ ### Affected platforms Android, iOS ### Affected platform versions _No response_ ### Did you find any workaround? No ### Relevant log output ```shell ```
Activity