Fix hotreload (#2976)

This commit is contained in:
wrexbe
2022-06-23 01:40:14 -07:00
committed by GitHub
parent 7e86065c67
commit 269d229c2d
3 changed files with 9 additions and 1 deletions

View File

@@ -4,7 +4,7 @@ using System.Diagnostics.CodeAnalysis;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.Operations;
using Robust.Shared.Analyzers;
using Robust.Shared.Analyzers.Implementation;
namespace Robust.Analyzers
{

View File

@@ -1,6 +1,10 @@
using System;
#if NETSTANDARD2_0
namespace Robust.Shared.Analyzers.Implementation;
#else
namespace Robust.Shared.Analyzers;
#endif
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct
| AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Method | AttributeTargets.Constructor)]

View File

@@ -1,6 +1,10 @@
using System;
#if NETSTANDARD2_0
namespace Robust.Shared.Analyzers.Implementation;
#else
namespace Robust.Shared.Analyzers;
#endif
[Flags]
public enum AccessPermissions : byte