Fix import placement in Analyzers
fixes362269c98
, presumably, andf2a479410
This commit is contained in:
parent
5c475ce898
commit
dae3fe3803
|
@ -10,7 +10,7 @@
|
|||
<Import Project="LibCommon.props" />
|
||||
<PropertyGroup>
|
||||
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
|
||||
<NoWarn>$(NoWarn);RS2008</NoWarn>
|
||||
<NoWarn>$(NoWarn)IDE0065;RS2008</NoWarn>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.4" />
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
namespace BizHawk.Analyzers;
|
||||
|
||||
using Microsoft.CodeAnalysis;
|
||||
using Microsoft.CodeAnalysis.CSharp;
|
||||
using Microsoft.CodeAnalysis.CSharp.Syntax;
|
||||
|
||||
namespace BizHawk.Analyzers;
|
||||
|
||||
public static class RoslynUtils
|
||||
{
|
||||
public static SyntaxNode? EnclosingTypeDeclarationSyntax(this CSharpSyntaxNode node)
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
using System.Collections.Generic;
|
||||
namespace BizHawk.SrcGen.SettingsUtil;
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Immutable;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
@ -7,8 +9,6 @@ using Microsoft.CodeAnalysis;
|
|||
using Microsoft.CodeAnalysis.CSharp;
|
||||
using Microsoft.CodeAnalysis.CSharp.Syntax;
|
||||
|
||||
namespace BizHawk.SrcGen.SettingsUtil;
|
||||
|
||||
[Generator]
|
||||
public class DefaultSetterGenerator : ISourceGenerator
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue