VB等效的CSharpFormattingOptions

时间:2018-01-10 04:40:28

标签: vb.net roslyn

CSharpFormattingOptions的VB等价物在哪里,我试图控制Formatter.Format,但我没有看到任何类似于以下的VB版本

Dim CSharpOptions As OptionSet = workspace.Options
CSharpOptions = CSharpOptions.WithChangedOption(CSharpFormattingOptions.NewLinesForBracesInMethods, True)
CSharpOptions = CSharpOptions.WithChangedOption(CSharpFormattingOptions.NewLinesForBracesInProperties, True)

0 个答案:

没有答案