Skip to content

Commit b2fca05

Browse files
author
Vyacheslav
committed
refact
1 parent 5e943ed commit b2fca05

26 files changed

+349
-286
lines changed

Src/Benchmarks/Benchmark.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>Exe</OutputType>
44
<TargetFramework>net6.0</TargetFramework>
55
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
66
</PropertyGroup>
77
<ItemGroup>
88
<PackageReference Include="BenchmarkDotNet" Version="0.13.2" />
9+
<PackageReference Include="StackMemoryCollections.Attributes" Version="0.7.0" />
910
</ItemGroup>
1011
<ItemGroup>
11-
<ProjectReference Include="..\..\Src\StackMemoryCollections\StackMemoryCollections.csproj" />
12-
<ProjectReference Include="..\StackGenerators\StackGenerators.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="False" />
12+
<ProjectReference Include="..\StackMemoryCollections\StackMemoryCollections.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="False" />
1313
</ItemGroup>
1414
</Project>

Src/StackGenerators/StackGenerators.csproj

Lines changed: 0 additions & 25 deletions
This file was deleted.

Src/StackMemoryCollections/Attributes/GenerateDictionaryAttribute.cs renamed to Src/StackMemoryAttributes/Attributes/GenerateDictionaryAttribute.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
namespace StackMemoryCollections.Attibutes
1+
using System;
2+
3+
namespace StackMemoryCollections.Attibutes
24
{
35
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)]
46
public class GenerateDictionaryAttribute : Attribute

Src/StackMemoryCollections/Attributes/GenerateHelperAttribute.cs renamed to Src/StackMemoryAttributes/Attributes/GenerateHelperAttribute.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
namespace StackMemoryCollections.Attibutes
1+
using System;
2+
3+
namespace StackMemoryCollections.Attibutes
24
{
35
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)]
46
public class GenerateHelperAttribute : Attribute

Src/StackMemoryCollections/Attributes/GenerateListAttribute.cs renamed to Src/StackMemoryAttributes/Attributes/GenerateListAttribute.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
namespace StackMemoryCollections.Attibutes
1+
using System;
2+
3+
namespace StackMemoryCollections.Attibutes
24
{
35
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)]
46
public class GenerateListAttribute : Attribute

Src/StackMemoryCollections/Attributes/GenerateQueueAttribute.cs renamed to Src/StackMemoryAttributes/Attributes/GenerateQueueAttribute.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
namespace StackMemoryCollections.Attibutes
1+
using System;
2+
3+
namespace StackMemoryCollections.Attibutes
24
{
35
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)]
46
public class GenerateQueueAttribute : Attribute

Src/StackMemoryCollections/Attributes/GenerateStackAttribute.cs renamed to Src/StackMemoryAttributes/Attributes/GenerateStackAttribute.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
namespace StackMemoryCollections.Attibutes
1+
using System;
2+
3+
namespace StackMemoryCollections.Attibutes
24
{
35
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)]
46
public class GenerateStackAttribute : Attribute

Src/StackMemoryCollections/Attributes/GenerateWrapperAttribute.cs renamed to Src/StackMemoryAttributes/Attributes/GenerateWrapperAttribute.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
namespace StackMemoryCollections.Attibutes
1+
using System;
2+
3+
namespace StackMemoryCollections.Attibutes
24
{
35
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)]
46
public class GenerateWrapperAttribute : Attribute

Src/StackMemoryCollections/Attributes/GeneratorIgnoreAttribute.cs renamed to Src/StackMemoryAttributes/Attributes/GeneratorIgnoreAttribute.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
namespace StackMemoryCollections.Attibutes
1+
using System;
2+
3+
namespace StackMemoryCollections.Attibutes
24
{
35
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
46
public class GeneratorIgnoreAttribute : Attribute
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<TargetFramework>netstandard2.0</TargetFramework>
4+
</PropertyGroup>
5+
<PropertyGroup>
6+
<PackageId>StackMemoryCollections.Attributes</PackageId>
7+
<PackageVersion>0.7.0.0</PackageVersion>
8+
<Authors>Brevnov Vyacheslav Sergeevich</Authors>
9+
<RepositoryUrl>https://github.com/SoftStoneDevelop/StackMemoryCollections</RepositoryUrl>
10+
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
11+
<Description>Attributes for Stack Memory Collection</Description>
12+
<PackageTags>Stack Memory Collection, attributes</PackageTags>
13+
<NoPackageAnalysis>true</NoPackageAnalysis>
14+
<PackageLicenseFile>LICENSE</PackageLicenseFile>
15+
</PropertyGroup>
16+
<ItemGroup>
17+
<None Include="..\..\LICENSE">
18+
<Pack>True</Pack>
19+
<PackagePath>\</PackagePath>
20+
</None>
21+
</ItemGroup>
22+
</Project>

0 commit comments

Comments
 (0)