Closed Sergio0694 closed 1 year ago
Roslyn 4.0.1 doesn't accept special characters in filename hints, and cause generators to fail with nested/generic types.
using System.ComponentModel; using CommunityToolkit.Mvvm.ComponentModel; #nullable enable namespace MyApp; partial class Foo { partial class MyViewModel<T> : ObservableObject { [ObservableProperty] private string? a; } }
Should work fine.
VS 2022, VS 2022 Preview
8.1.0
Describe the bug
Roslyn 4.0.1 doesn't accept special characters in filename hints, and cause generators to fail with nested/generic types.
Steps to reproduce
Expected behavior
Should work fine.
IDE and version
VS 2022, VS 2022 Preview
Nuget packages
Nuget package version(s)
8.1.0