提交 26a49624 编写于 作者: M Manish Vasani

Address feedback

上级 c7c337a5
......@@ -123,9 +123,7 @@ public static bool AnyAssociatedViewHasFocus(ITextBuffer textBuffer)
}
[Conditional("DEBUG")]
#pragma warning disable CA1822 // Mark members as static - accesses instance members within #if DEBUG
private void DebugRegisterView_NoLock(ITextView textView)
#pragma warning restore CA1822 // Mark members as static
private static void DebugRegisterView_NoLock(ITextView textView)
{
#if DEBUG
if (s_registeredViews.Add(textView))
......@@ -136,7 +134,7 @@ private void DebugRegisterView_NoLock(ITextView textView)
}
#if DEBUG
private void OnTextViewClose(object sender, EventArgs e)
private static void OnTextViewClose(object sender, EventArgs e)
{
var view = sender as ITextView;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册