Skip to content

Commit

Permalink
Bumped version v1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
FaustVX committed Jun 22, 2024
1 parent 6b7092e commit a393e2a
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ConsoleApp1/ConsoleApp1.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="FaustVX.PrimaryParameter.SG" Version="1.6.0" ReferenceOutputAssembly="false" PrivateAssets="All" />
<PackageReference Include="FaustVX.PrimaryParameter.SG" Version="1.7.0" ReferenceOutputAssembly="false" PrivateAssets="All" />
<!-- <ProjectReference Include="..\PrimaryParameter.SG\PrimaryParameter.SG.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" PrivateAssets="All" /> -->
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ partial record struct R
{
partial class C<T>
{
private readonly char[] _c = c;
public char B { get => b[0]; init => b[0] = value; }
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ sealed class PropertyAttribute : Attribute
public string Setter { get; init; }
public string Scope { get; init; }
public string Summary { get; init; }
public bool WithoutBackingStorage { get; init; }
}
}
2 changes: 1 addition & 1 deletion ConsoleApp1/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public class D([DoNotUse]int i) : C(i, "");
public partial record struct R
{
partial class C<T>([Field] T s, [Field] char[] c)
partial class C<T>([Field] T s, [Property(WithoutBackingStorage = true, Type = typeof(char), AssignFormat = "{0}[0]")] char[] b)
where T : struct
{
Expand Down
2 changes: 1 addition & 1 deletion PrimaryParameter.SG/PrimaryParameter.SG.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

<PropertyGroup>
<PackageId>FaustVX.PrimaryParameter.SG</PackageId>
<Version>1.7.0-beta1</Version>
<Version>1.7.0</Version>
<Authors>FaustVX</Authors>
<RepositoryUrl>https://github.com/FaustVX/PrimaryParameter</RepositoryUrl>
<RepositoryType>git</RepositoryType>
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ You can type as many attributes as you want on a single parameter (Except for `D
||`AssignFormat`|To change the assignment for that property|`{0}`|
||`Type`|To change the type for that property|same type as parameter|
||`Summary`|The `<summary>` documentation tag|`null`|
||`WithoutBackingStorage`|Generate the body of the accessors, without a backing storage|`false`|
|`DoNotUse`|`AllowInMemberInit`|Change to allow the use of parameter in member initializer|`true`|

## Reported Diagnostics
Expand Down Expand Up @@ -101,6 +102,7 @@ You can type as many attributes as you want on a single parameter (Except for `D
## Versions
|Version|Date|Comments|
|-------|----|--------|
|v1.7.0|23/06/2024|Added `WithoutBackingStorage` for `Property`|
|v1.6.0|22/06/2024|Fix a bug: accept arrays|
|v1.5.1|19/05/2024|Modified some errors message|
|v1.5.0|18/05/2024|Don't generate `PC01` on a primary contructor base call|
Expand Down

0 comments on commit a393e2a

Please sign in to comment.