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