From 312939fba483f230742f55cafbc865ef22c39eaa Mon Sep 17 00:00:00 2001 From: Sam Harwell Date: Mon, 20 Jan 2020 16:06:50 -0800 Subject: [PATCH] Suppress RS0034 where constructor is used for multiple instance creation --- .../Portable/Indentation/VisualBasicIndentationService.vb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Workspaces/VisualBasic/Portable/Indentation/VisualBasicIndentationService.vb b/src/Workspaces/VisualBasic/Portable/Indentation/VisualBasicIndentationService.vb index f8f8e928226..039406338f8 100644 --- a/src/Workspaces/VisualBasic/Portable/Indentation/VisualBasicIndentationService.vb +++ b/src/Workspaces/VisualBasic/Portable/Indentation/VisualBasicIndentationService.vb @@ -1,6 +1,7 @@ ' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. Imports System.Composition +Imports System.Diagnostics.CodeAnalysis Imports System.Threading Imports Microsoft.CodeAnalysis.Formatting.Rules Imports Microsoft.CodeAnalysis.Host.Mef @@ -24,6 +25,7 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.Indentation Me.New(New SpecialFormattingRule()) End Sub + Private Sub New(specializedIndentationRule As AbstractFormattingRule) _specializedIndentationRule = specializedIndentationRule End Sub -- GitLab