Skip to content

Commit 8d69ce3

Browse files
removed Parsers.Common project
1 parent 30243fd commit 8d69ce3

17 files changed

+6
-37
lines changed

CodeGeneration.sln

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Parsers.Benchmarks", "bench
1111
EndProject
1212
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Parsers.SourceGenerator", "src\Parsers.SourceGenerator\Parsers.SourceGenerator.csproj", "{042252E2-201F-45F3-BB40-19DF0BD3EA98}"
1313
EndProject
14-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Parsers.Common", "src\Parsers.Common\Parsers.Common.csproj", "{AA16A9E9-70F6-4DFA-ACE3-F64CA8B6D31C}"
15-
EndProject
1614
Global
1715
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1816
Debug|Any CPU = Debug|Any CPU
@@ -35,10 +33,6 @@ Global
3533
{042252E2-201F-45F3-BB40-19DF0BD3EA98}.Debug|Any CPU.Build.0 = Debug|Any CPU
3634
{042252E2-201F-45F3-BB40-19DF0BD3EA98}.Release|Any CPU.ActiveCfg = Release|Any CPU
3735
{042252E2-201F-45F3-BB40-19DF0BD3EA98}.Release|Any CPU.Build.0 = Release|Any CPU
38-
{AA16A9E9-70F6-4DFA-ACE3-F64CA8B6D31C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
39-
{AA16A9E9-70F6-4DFA-ACE3-F64CA8B6D31C}.Debug|Any CPU.Build.0 = Debug|Any CPU
40-
{AA16A9E9-70F6-4DFA-ACE3-F64CA8B6D31C}.Release|Any CPU.ActiveCfg = Release|Any CPU
41-
{AA16A9E9-70F6-4DFA-ACE3-F64CA8B6D31C}.Release|Any CPU.Build.0 = Release|Any CPU
4236
EndGlobalSection
4337
GlobalSection(SolutionProperties) = preSolution
4438
HideSolutionNode = FALSE

benchmark/Data.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System;
2-
using Parsers.Common;
32

43
namespace Parsers.Benchmarks
54
{

benchmark/ParserInvocation_Benchmark.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using System;
22
using BenchmarkDotNet.Attributes;
3-
using Parsers.Common;
43

54
namespace Parsers.Benchmarks
65
{

src/Parsers.Common/Parsers.Common.csproj

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

src/Parsers.SourceGenerator/ParserSourceGenerator.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ public void Initialize(GeneratorInitializationContext context)
2323
public void Execute(GeneratorExecutionContext context)
2424
{
2525
var compilation = context.Compilation;
26-
var parserOutputTypeSymbol = compilation.GetTypeByMetadataName("Parsers.Common.ParserOutputAttribute");
27-
var attributeIndexTypeSymbol = compilation.GetTypeByMetadataName("Parsers.Common.ArrayIndexAttribute");
26+
var parserOutputTypeSymbol = compilation.GetTypeByMetadataName("Parsers.ParserOutputAttribute");
27+
var attributeIndexTypeSymbol = compilation.GetTypeByMetadataName("Parsers.ArrayIndexAttribute");
2828
var typesToParse = new List<ITypeSymbol>();
2929

3030
foreach (var syntaxTree in compilation.SyntaxTrees)
@@ -43,7 +43,7 @@ public void Execute(GeneratorExecutionContext context)
4343
var builder = new StringBuilder();
4444
builder.AppendLine(@"
4545
using System;
46-
using Parsers.Common;
46+
using Parsers;
4747
namespace BySourceGenerator
4848
{
4949
public class Parser : IParserFactory

src/Parsers.SourceGenerator/Parsers.SourceGenerator.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,4 @@
1212
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="3.11.0" />
1313
</ItemGroup>
1414

15-
<ItemGroup>
16-
<ProjectReference Include="..\Parsers.Common\Parsers.Common.csproj" />
17-
</ItemGroup>
18-
1915
</Project>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System;
22

3-
namespace Parsers.Common
3+
namespace Parsers
44
{
55
[AttributeUsage(AttributeTargets.Class)]
66
public sealed class ParserOutputAttribute : Attribute

src/Parsers/CachedParserFactory.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using System;
22
using System.Collections.Concurrent;
33
using System.Threading;
4-
using Parsers.Common;
54

65
namespace Parsers
76
{

src/Parsers/EmitIlParserFactory.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using System.Linq;
33
using System.Reflection;
44
using System.Reflection.Emit;
5-
using Parsers.Common;
65

76
namespace Parsers
87
{

src/Parsers/ExpressionTreeParserFactory.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
using System.Linq;
44
using System.Linq.Expressions;
55
using System.Reflection;
6-
using Parsers.Common;
76

87
namespace Parsers
98
{

0 commit comments

Comments
 (0)