diff --git a/README.md b/README.md index 02b81b3..969ee24 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ public string Name } ``` -Before these Source Generators were avaliable we used ReactiveUI.Fody. +Before these Source Generators were available we used ReactiveUI.Fody. With ReactiveUI.Fody the `[Reactive]` Attribute was placed on a Public Property with Auto get / set properties, the generated code from the Source Generator and the Injected code using Fody are very similar with the exception of the Attributes. ```csharp diff --git a/src/Directory.Packages.props b/src/Directory.Packages.props index 8f4d1d7..9860f61 100644 --- a/src/Directory.Packages.props +++ b/src/Directory.Packages.props @@ -7,6 +7,8 @@ + + @@ -19,18 +21,16 @@ - - - + @@ -45,4 +45,4 @@ - + \ No newline at end of file diff --git a/src/ReactiveUI.SourceGenerator.Tests/ReactiveUI.SourceGenerators.Tests.csproj b/src/ReactiveUI.SourceGenerator.Tests/ReactiveUI.SourceGenerators.Tests.csproj index 21fe34d..0b71ed0 100644 --- a/src/ReactiveUI.SourceGenerator.Tests/ReactiveUI.SourceGenerators.Tests.csproj +++ b/src/ReactiveUI.SourceGenerator.Tests/ReactiveUI.SourceGenerators.Tests.csproj @@ -13,6 +13,9 @@ + + + diff --git a/src/ReactiveUI.SourceGenerators/Reactive/Models/PropertyInfo.cs b/src/ReactiveUI.SourceGenerators/Reactive/Models/PropertyInfo.cs index 55c5713..140be3b 100644 --- a/src/ReactiveUI.SourceGenerators/Reactive/Models/PropertyInfo.cs +++ b/src/ReactiveUI.SourceGenerators/Reactive/Models/PropertyInfo.cs @@ -21,7 +21,7 @@ internal sealed record PropertyInfo( string FieldName, string PropertyName, string? Initializer, // TODO: Remove Initializer when ObservableAsPropertyHelper is updated - bool IsReferenceTypeOrUnconstraindTypeParameter, + bool IsReferenceTypeOrUnconstrainedTypeParameter, bool IncludeMemberNotNullOnSetAccessor, EquatableArray ForwardedAttributes, string AccessModifier);