12 references to new
Microsoft.CodeAnalysis.CodeStyle (12)
CodeStyleHelpers.cs (1)
148var option = new PerLanguageOption2<CodeStyleOption2<T>>(name, defaultValue, group, isEditorConfigOption: true, serializer: (serializerFactory ?? EditorConfigValueSerializer.CodeStyle).Invoke(defaultValue));
CodeStyleOptions2.cs (1)
316internal static readonly PerLanguageOption2<CodeStyleOption2<bool>> PreferSystemHashCode = new(
FadingOptions.cs (2)
12public static readonly PerLanguageOption2<bool> FadeOutUnusedImports = new("dotnet_fade_out_unused_imports", defaultValue: true); 13public static readonly PerLanguageOption2<bool> FadeOutUnreachableCode = new("dotnet_fade_out_unreachable_code", defaultValue: true);
FormattingOptions2.cs (5)
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>(
GenerationOptions.cs (2)
15public static readonly PerLanguageOption2<bool> PlaceSystemNamespaceFirst = new( 21public static readonly PerLanguageOption2<bool> SeparateImportDirectiveGroups = new(
NamingStyleOptions.cs (1)
24internal static PerLanguageOption2<NamingStylePreferences> NamingPreferences { get; } = new(