Skip to content

Commit

Permalink
refactor: smash together analyzers and code-fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
earloc committed Oct 26, 2024
1 parent 4c748c8 commit 1ef7b31
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 68 deletions.
14 changes: 0 additions & 14 deletions TypealizR.sln
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Analyzers", "Analyzers", "{
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TypealizeR.Analyzers", "src\TypealizeR.Analyzers\TypealizeR.Analyzers.csproj", "{9900F54D-8EAB-470F-9936-BC14B24081F3}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TypealizeR.Analyzers.CodeFixes", "src\TypealizeR.Analyzers.CodeFixes\TypealizeR.Analyzers.CodeFixes.csproj", "{9729BAAA-29C7-471A-A3EE-9F9409477E16}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TypealizeR.Analyzers.Tests", "src\TypealizeR.Analyzers.Test\TypealizeR.Analyzers.Tests.csproj", "{4B7D4786-87BE-45B5-A8F3-D3BD33E46AB0}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{F1ACB111-3C06-4CB5-B08B-3560F625EF7C}"
ProjectSection(SolutionItems) = preProject
.github\workflows\build.yml = .github\workflows\build.yml
.github\workflows\codeql.yml = .github\workflows\codeql.yml
.github\workflows\publish.yml = .github\workflows\publish.yml
.github\workflows\samples_lts.yml = .github\workflows\samples_lts.yml
.github\workflows\samples_sts.yml = .github\workflows\samples_sts.yml
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down Expand Up @@ -87,10 +78,6 @@ Global
{9900F54D-8EAB-470F-9936-BC14B24081F3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9900F54D-8EAB-470F-9936-BC14B24081F3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9900F54D-8EAB-470F-9936-BC14B24081F3}.Release|Any CPU.Build.0 = Release|Any CPU
{9729BAAA-29C7-471A-A3EE-9F9409477E16}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9729BAAA-29C7-471A-A3EE-9F9409477E16}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9729BAAA-29C7-471A-A3EE-9F9409477E16}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9729BAAA-29C7-471A-A3EE-9F9409477E16}.Release|Any CPU.Build.0 = Release|Any CPU
{4B7D4786-87BE-45B5-A8F3-D3BD33E46AB0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4B7D4786-87BE-45B5-A8F3-D3BD33E46AB0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4B7D4786-87BE-45B5-A8F3-D3BD33E46AB0}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand All @@ -104,7 +91,6 @@ Global
{CFFB0876-CC7C-466C-9D76-FB1F025E2B80} = {38D4BAEB-9CA0-4868-B8A0-6CBADCB198AC}
{0E9B0505-3680-40A2-A0AC-31C9117D1A24} = {38D4BAEB-9CA0-4868-B8A0-6CBADCB198AC}
{9900F54D-8EAB-470F-9936-BC14B24081F3} = {9E311478-C17A-4D93-90BE-D94993A7020D}
{9729BAAA-29C7-471A-A3EE-9F9409477E16} = {9E311478-C17A-4D93-90BE-D94993A7020D}
{4B7D4786-87BE-45B5-A8F3-D3BD33E46AB0} = {9E311478-C17A-4D93-90BE-D94993A7020D}
{F1ACB111-3C06-4CB5-B08B-3560F625EF7C} = {0C8376C6-E8F7-40E2-959A-210C515B06E0}
EndGlobalSection
Expand Down
1 change: 0 additions & 1 deletion src/Playground.Console/Playground.Console.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Playground.Common\Playground.Common.csproj" />
<ProjectReference Include="..\TypealizeR.Analyzers.CodeFixes\TypealizeR.Analyzers.CodeFixes.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
<ProjectReference Include="..\TypealizeR.Analyzers\TypealizeR.Analyzers.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
<ProjectReference Include="..\TypealizR\TypealizR.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="true" />
</ItemGroup>
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\TypealizeR.Analyzers.CodeFixes\TypealizeR.Analyzers.CodeFixes.csproj" />
<ProjectReference Include="..\TypealizeR.Analyzers\TypealizeR.Analyzers.csproj" />
</ItemGroup>

Expand Down
File renamed without changes.
18 changes: 13 additions & 5 deletions src/TypealizeR.Analyzers/TypealizeR.Analyzers.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<TargetFramework>netstandard2.0</TargetFramework>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>

<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
</PropertyGroup>

Expand Down Expand Up @@ -37,6 +36,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.11.0" />

<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.11.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand All @@ -45,10 +46,17 @@
</ItemGroup>

<ItemGroup>
<Compile Update="Resources.Designer.cs" DesignTime="True" AutoGen="True"
DependentUpon="Resources.resx" />
<EmbeddedResource Update="Resources.resx" Generator="ResXFileCodeGenerator"
LastGenOutput="Resources.Designer.cs" />
<Compile Update="CodeFixResources.Designer.cs">
<DependentUpon>CodeFixResources.resx</DependentUpon>
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
</Compile>
<Compile Update="Resources.Designer.cs" DesignTime="True" AutoGen="True" DependentUpon="Resources.resx" />
<EmbeddedResource Update="CodeFixResources.resx">
<LastGenOutput>CodeFixResources.Designer.cs</LastGenOutput>
<Generator>ResXFileCodeGenerator</Generator>
</EmbeddedResource>
<EmbeddedResource Update="Resources.resx" Generator="ResXFileCodeGenerator" LastGenOutput="Resources.Designer.cs" />
</ItemGroup>

</Project>
File renamed without changes.
File renamed without changes.

0 comments on commit 1ef7b31

Please sign in to comment.