40 references to PredefinedCodeCleanupProviderNames
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (3)
EndConstructGeneration\EndConstructCommandHandler.vb (1)
140
Return p.Name =
PredefinedCodeCleanupProviderNames
.NormalizeModifiersOrOperators
LineCommit\CommitFormatter.vb (2)
27
Return p.Name <>
PredefinedCodeCleanupProviderNames
.Simplification AndAlso
28
p.Name <>
PredefinedCodeCleanupProviderNames
.Format
Microsoft.CodeAnalysis.VisualBasic.Workspaces (23)
CodeCleanup\Providers\AddMissingTokensCodeCleanupProvider.vb (4)
13
<ExportCodeCleanupProvider(
PredefinedCodeCleanupProviderNames
.AddMissingTokens, LanguageNames.VisualBasic), [Shared]>
14
<ExtensionOrder(After:=
PredefinedCodeCleanupProviderNames
.CaseCorrection, Before:=
PredefinedCodeCleanupProviderNames
.Format)>
25
Return
PredefinedCodeCleanupProviderNames
.AddMissingTokens
CodeCleanup\Providers\CaseCorrectionCodeCleanupProvider.vb (3)
15
<ExportCodeCleanupProvider(
PredefinedCodeCleanupProviderNames
.CaseCorrection, LanguageNames.VisualBasic), [Shared]>
16
<ExtensionOrder(Before:=
PredefinedCodeCleanupProviderNames
.Format)>
27
Return
PredefinedCodeCleanupProviderNames
.CaseCorrection
CodeCleanup\Providers\FixIncorrectTokensCodeCleanupProvider.vb (4)
15
<ExportCodeCleanupProvider(
PredefinedCodeCleanupProviderNames
.FixIncorrectTokens, LanguageNames.VisualBasic), [Shared]>
16
<ExtensionOrder(After:=
PredefinedCodeCleanupProviderNames
.AddMissingTokens, Before:=
PredefinedCodeCleanupProviderNames
.Format)>
34
Return
PredefinedCodeCleanupProviderNames
.FixIncorrectTokens
CodeCleanup\Providers\NormalizeModifiersOrOperatorsCodeCleanupProvider.vb (4)
19
<ExportCodeCleanupProvider(
PredefinedCodeCleanupProviderNames
.NormalizeModifiersOrOperators, LanguageNames.VisualBasic), [Shared]>
20
<ExtensionOrder(After:=
PredefinedCodeCleanupProviderNames
.AddMissingTokens, Before:=
PredefinedCodeCleanupProviderNames
.Format)>
31
Return
PredefinedCodeCleanupProviderNames
.NormalizeModifiersOrOperators
CodeCleanup\Providers\ReduceTokensCodeCleanupProvider.vb (4)
17
<ExportCodeCleanupProvider(
PredefinedCodeCleanupProviderNames
.ReduceTokens, LanguageNames.VisualBasic), [Shared]>
18
<ExtensionOrder(After:=
PredefinedCodeCleanupProviderNames
.AddMissingTokens, Before:=
PredefinedCodeCleanupProviderNames
.Format)>
29
Return
PredefinedCodeCleanupProviderNames
.ReduceTokens
CodeCleanup\Providers\RemoveUnnecessaryLineContinuationCodeCleanupProvider.vb (4)
16
<ExportCodeCleanupProvider(
PredefinedCodeCleanupProviderNames
.RemoveUnnecessaryLineContinuation, LanguageNames.VisualBasic), [Shared]>
17
<ExtensionOrder(After:=
PredefinedCodeCleanupProviderNames
.NormalizeModifiersOrOperators, Before:=
PredefinedCodeCleanupProviderNames
.Format)>
28
Return
PredefinedCodeCleanupProviderNames
.RemoveUnnecessaryLineContinuation
Microsoft.CodeAnalysis.Workspaces (2)
CodeCleanup\Providers\FormatCodeCleanupProvider.cs (1)
26
public string Name =>
PredefinedCodeCleanupProviderNames
.Format;
CodeCleanup\Providers\SimplificationCodeCleanupProvider.cs (1)
17
public string Name =>
PredefinedCodeCleanupProviderNames
.Simplification;
Microsoft.CodeAnalysis.Workspaces.UnitTests (12)
CodeCleanup\AddMissingTokensTests.cs (3)
2720
var codeCleanups = CodeCleaner.GetDefaultProviders(document).WhereAsArray(p => p.Name is
PredefinedCodeCleanupProviderNames
.AddMissingTokens or
PredefinedCodeCleanupProviderNames
.Format or
PredefinedCodeCleanupProviderNames
.Simplification);
CodeCleanup\FixIncorrectTokenTests.cs (2)
745
var codeCleanups = CodeCleaner.GetDefaultProviders(document).WhereAsArray(p => p.Name is
PredefinedCodeCleanupProviderNames
.FixIncorrectTokens or
PredefinedCodeCleanupProviderNames
.Format);
CodeCleanup\NormalizeModifiersOrOperatorsTests.cs (2)
1021
var codeCleanups = CodeCleaner.GetDefaultProviders(document).WhereAsArray(p => p.Name is
PredefinedCodeCleanupProviderNames
.NormalizeModifiersOrOperators or
PredefinedCodeCleanupProviderNames
.Format);
CodeCleanup\ReduceTokenTests.cs (3)
2009
var codeCleanups = CodeCleaner.GetDefaultProviders(document).WhereAsArray(p => p.Name is
PredefinedCodeCleanupProviderNames
.ReduceTokens or
PredefinedCodeCleanupProviderNames
.CaseCorrection or
PredefinedCodeCleanupProviderNames
.Format);
CodeCleanup\RemoveUnnecessaryLineContinuationTests.cs (2)
1378
var codeCleanups = CodeCleaner.GetDefaultProviders(document).WhereAsArray(p => p.Name is
PredefinedCodeCleanupProviderNames
.RemoveUnnecessaryLineContinuation or
PredefinedCodeCleanupProviderNames
.Format);