14 references to new
Microsoft.CodeAnalysis.CodeStyle (14)
src\Analyzers\Core\Analyzers\ValidateFormatString\FormatStringValidationOptionStorage.cs (1)
12
public static readonly PerLanguageOption2<bool> ReportInvalidPlaceholdersInStringDotFormatCalls =
new
(
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleHelpers.cs (1)
149
var option = new
PerLanguageOption2
<CodeStyleOption2<T>>(name, defaultValue, group, isEditorConfigOption: true, serializer: (serializerFactory ?? EditorConfigValueSerializer.CodeStyle).Invoke(defaultValue));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\FadingOptions.cs (3)
12
public static readonly PerLanguageOption2<bool> FadeOutUnusedImports =
new
("dotnet_fade_out_unused_imports", defaultValue: true);
13
public static readonly PerLanguageOption2<bool> FadeOutUnusedMembers =
new
("dotnet_fade_out_unused_members", defaultValue: true);
14
public static readonly PerLanguageOption2<bool> FadeOutUnreachableCode =
new
("dotnet_fade_out_unreachable_code", defaultValue: true);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Editing\GenerationOptions.cs (2)
15
public static readonly PerLanguageOption2<bool> PlaceSystemNamespaceFirst =
new
(
21
public static readonly PerLanguageOption2<bool> SeparateImportDirectiveGroups =
new
(
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\FormattingOptions2.cs (7)
27
public static PerLanguageOption2<bool> UseTabs = new
PerLanguageOption2
<bool>(
32
public static PerLanguageOption2<int> TabSize = new
PerLanguageOption2
<int>(
36
public static PerLanguageOption2<int> IndentationSize = new
PerLanguageOption2
<int>(
40
public static PerLanguageOption2<string> NewLine = new
PerLanguageOption2
<string>(
62
public static PerLanguageOption2<IndentStyle> SmartIndent = new
PerLanguageOption2
<IndentStyle>(
81
public static readonly PerLanguageOption2<int> WrappingColumn =
new
(
89
public static readonly PerLanguageOption2<int> ConditionalExpressionWrappingLength =
new
(