Skip to content

Commit

Permalink
Bumped version v1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
FaustVX committed May 18, 2024
1 parent bb5cede commit c04a8bd
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ConsoleApp1/ConsoleApp1.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
<!-- https://weblog.west-wind.com/posts/2022/Sep/11/Referencing-a-Local-Private-NuGet-Package-in-your-Solution#project-specific-packagesource -->
<RestoreAdditionalProjectSources Condition="Exists('../PrimaryParameter.SG/bin/Release')">$(RestoreAdditionalProjectSources);../PrimaryParameter.SG/bin/Release</RestoreAdditionalProjectSources>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="FaustVX.PrimaryParameter.SG" Version="1.3.4" />
<PackageReference Include="FaustVX.PrimaryParameter.SG" Version="1.4.0" />
<!-- <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
@@ -1,9 +1,11 @@
#pragma warning disable
// <auto-generated/>
using global::System;
using global::System.Diagnostics;
namespace PrimaryParameter.SG
{
[AttributeUsage(AttributeTargets.Parameter, Inherited = false, AllowMultiple = false)]
[Conditional("DEBUG")]
sealed class DoNotUseAttribute : Attribute
{
public bool AllowInMemberInit { get; init; }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
#pragma warning disable
// <auto-generated/>
using global::System;
using global::System.Diagnostics;
namespace PrimaryParameter.SG
{
[AttributeUsage(AttributeTargets.Parameter, Inherited = false, AllowMultiple = true)]
[Conditional("DEBUG")]
sealed class FieldAttribute : Attribute
{
public string Name { get; init; }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
#pragma warning disable
// <auto-generated/>
using global::System;
using global::System.Diagnostics;
namespace PrimaryParameter.SG
{
[AttributeUsage(AttributeTargets.Parameter, Inherited = false, AllowMultiple = true)]
[Conditional("DEBUG")]
sealed class PropertyAttribute : Attribute
{
public string Name { get; init; }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
#pragma warning disable
// <auto-generated/>
using global::System;
using global::System.Diagnostics;
namespace PrimaryParameter.SG
{
[AttributeUsage(AttributeTargets.Parameter, Inherited = false, AllowMultiple = true)]
[Conditional("DEBUG")]
sealed class RefFieldAttribute : Attribute
{
public string Name { get; init; }
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 @@ -30,7 +30,7 @@

<PropertyGroup>
<PackageId>FaustVX.PrimaryParameter.SG</PackageId>
<Version>1.3.4</Version>
<Version>1.4.0</Version>
<Authors>FaustVX</Authors>
<RepositoryUrl>https://github.com/FaustVX/PrimaryParameter</RepositoryUrl>
<RepositoryType>git</RepositoryType>
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ partial class C([Field(Name = "_a", AssignFormat = "{0}.ToString()", Type = type
/// <summary>
/// Documentation
/// </summary>
// private int I { get; init; } = i; // generated Property
// private int I { get; init; } = i; // generated Property
# endregion

public void M0()
Expand Down Expand Up @@ -101,6 +101,7 @@ You can type as many attributes as you want on a single parameter (Except for `D
## Versions
|Version|Date|Comments|
|-------|----|--------|
|v1.4.0|18/05/2024|Added `Conditional` on generated attributes|
|v1.3.4|18/05/2024|Added `<summary>` generation|
|v1.3.3|01/12/2023|Renamed `DontUse` to `DoNotUse`|
|v1.3.2|19/11/2023|Don't generate the partial generated type if not needed|
Expand Down

0 comments on commit c04a8bd

Please sign in to comment.