chore(bridge): 删除桥接包的提交记录和Git属性配置 删除了 .codely-bridge-commit 文件中存储的提交哈希值 移除了 .gitattributes 文件中的行结束符配置规则 ```
16 lines
544 B
C#
16 lines
544 B
C#
using Codely.Microsoft.CodeAnalysis;
|
|
using Codely.Microsoft.CodeAnalysis.CSharp;
|
|
using SyntaxTree = Codely.Microsoft.CodeAnalysis.SyntaxTree;
|
|
|
|
namespace UnityTcp.Editor.Tools
|
|
{
|
|
internal abstract class ScriptFixProvider
|
|
{
|
|
public abstract bool CanFix(Diagnostic diagnostic);
|
|
|
|
// Returns true if a fix was applied.
|
|
// `tree` is updated via ref; context.Imports / context.References may be mutated.
|
|
public abstract bool ApplyFix(ref SyntaxTree tree, Diagnostic diagnostic, ScriptFixContext context);
|
|
}
|
|
}
|