33 instantiations of SerializableNamingRule
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (5)
Completion\CompletionProviders\DeclarationNameCompletionProviderTests.cs (1)
3026=> new()
ConvertAutoPropertyToFullProperty\ConvertAutoPropertyToFullPropertyTests_OptionSets.cs (3)
92var namingRule = new SerializableNamingRule() 124var namingRule = new SerializableNamingRule() 156var namingRule = new SerializableNamingRule()
ConvertTupleToStruct\ConvertTupleToStructTests.cs (1)
397var namingRule = new SerializableNamingRule()
Microsoft.CodeAnalysis.EditorFeatures.DiagnosticsTests.Utilities (21)
NamingStyles\NamingStylesTestOptionSets.cs (21)
146var namingRule = new SerializableNamingRule() 177var namingRule = new SerializableNamingRule() 209var namingRule = new SerializableNamingRule() 241var namingRule = new SerializableNamingRule() 273var namingRule = new SerializableNamingRule() 311var namingRule = new SerializableNamingRule() 342var namingRule = new SerializableNamingRule() 373var namingRule = new SerializableNamingRule() 404var namingRule = new SerializableNamingRule() 435var namingRule = new SerializableNamingRule() 467var namingRule = new SerializableNamingRule() 499var namingRule = new SerializableNamingRule() 531var namingRule = new SerializableNamingRule() 563var namingRule = new SerializableNamingRule() 595var namingRule = new SerializableNamingRule() 627var namingRule = new SerializableNamingRule() 659var namingRule = new SerializableNamingRule() 693var namingRule = new SerializableNamingRule() 740var localsCamelCaseNamingRule = new SerializableNamingRule() 747var constLocalsUpperCaseNamingRule = new SerializableNamingRule() 781var namingRule = new SerializableNamingRule()
Microsoft.CodeAnalysis.Workspaces (5)
EditorConfigFileGenerator_NamingStyles.cs (1)
23var serializedNamingRules = namingRules.Select(x => new SerializableNamingRule()
EditorConfigNamingStyleParser.cs (1)
95rule => new SerializableNamingRule
EditorConfigNamingStyleParser_NamingRule.cs (1)
28serializableNamingRule = new SerializableNamingRule()
SerializableNamingRule.cs (2)
46return new SerializableNamingRule() 65return new SerializableNamingRule
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Options\OptionsTestHelpers.cs (1)
166var namingRule = new SerializableNamingRule()
Microsoft.VisualStudio.LanguageServices.Implementation (1)
Options\Style\NamingPreferences\NamingStyleOptionPageControl.xaml.cs (1)
153var rule = new SerializableNamingRule()
55 references to SerializableNamingRule
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (13)
Completion\CompletionProviders\DeclarationNameCompletionProviderTests.cs (1)
3025private static SerializableNamingRule CreateRule(SymbolSpecification specification, NamingStyle style)
ConvertAutoPropertyToFullProperty\ConvertAutoPropertyToFullPropertyTests_OptionSets.cs (3)
92var namingRule = new SerializableNamingRule() 124var namingRule = new SerializableNamingRule() 156var namingRule = new SerializableNamingRule()
ConvertTupleToStruct\ConvertTupleToStructTests.cs (1)
397var namingRule = new SerializableNamingRule()
Diagnostics\NamingStyles\EditorConfigNamingStyleParserTests.cs (8)
38var namingRule = result.NamingRules.Single(); 85var namingRule = Assert.Single(result.NamingRules); 108var namingRule = result.NamingRules.Single(); 166var namingRule = result.NamingRules.Single(); 214var namingRule = result.NamingRules.Single(); 256var namingRule = result.NamingRules.Single(); 299var namingRule = result.NamingRules.Single(); 445var namingRule = result.NamingRules.Single();
Microsoft.CodeAnalysis.EditorFeatures.DiagnosticsTests.Utilities (21)
NamingStyles\NamingStylesTestOptionSets.cs (21)
146var namingRule = new SerializableNamingRule() 177var namingRule = new SerializableNamingRule() 209var namingRule = new SerializableNamingRule() 241var namingRule = new SerializableNamingRule() 273var namingRule = new SerializableNamingRule() 311var namingRule = new SerializableNamingRule() 342var namingRule = new SerializableNamingRule() 373var namingRule = new SerializableNamingRule() 404var namingRule = new SerializableNamingRule() 435var namingRule = new SerializableNamingRule() 467var namingRule = new SerializableNamingRule() 499var namingRule = new SerializableNamingRule() 531var namingRule = new SerializableNamingRule() 563var namingRule = new SerializableNamingRule() 595var namingRule = new SerializableNamingRule() 627var namingRule = new SerializableNamingRule() 659var namingRule = new SerializableNamingRule() 693var namingRule = new SerializableNamingRule() 740var localsCamelCaseNamingRule = new SerializableNamingRule() 747var constLocalsUpperCaseNamingRule = new SerializableNamingRule() 781var namingRule = new SerializableNamingRule()
Microsoft.CodeAnalysis.Workspaces (17)
EditorConfigFileGenerator_NamingStyles.cs (6)
53ImmutableArray<SerializableNamingRule> serializableNamingRules, 66foreach (var namingRule in serializableNamingRules) 163private static ImmutableDictionary<SerializableNamingRule, string> AssignNamesToNamingStyleRules(ImmutableArray<SerializableNamingRule> namingRules, ImmutableDictionary<Guid, string> serializedNameMap) 165var builder = ImmutableDictionary.CreateBuilder<SerializableNamingRule, string>(); 166foreach (var rule in namingRules)
EditorConfigNamingStyleParser.cs (2)
24var namingRules = ArrayBuilder<SerializableNamingRule>.GetInstance(); 31TryGetSerializableNamingRule(namingRuleTitle, symbolSpec, namingStyle, trimmedDictionary, out var serializableNamingRule))
EditorConfigNamingStyleParser_NamingRule.cs (1)
20[NotNullWhen(true)] out SerializableNamingRule? serializableNamingRule)
NamingStylePreferences.cs (5)
284public readonly ImmutableArray<SerializableNamingRule> NamingRules; 291ImmutableArray<SerializableNamingRule> namingRules) 301public static NamingStylePreferences Empty { get; } = new(ImmutableArray<SymbolSpecification>.Empty, ImmutableArray<NamingStyle>.Empty, ImmutableArray<SerializableNamingRule>.Empty); 337element.Element("NamingRules").Elements(nameof(SerializableNamingRule)) 338.Select(SerializableNamingRule.FromXElement).ToImmutableArray());
SerializableNamingRule.cs (3)
36var element = new XElement(nameof(SerializableNamingRule), 44internal static SerializableNamingRule FromXElement(XElement namingRuleElement) 63public static SerializableNamingRule ReadFrom(ObjectReader reader)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Options\OptionsTestHelpers.cs (1)
166var namingRule = new SerializableNamingRule()
Microsoft.VisualStudio.LanguageServices.Implementation (3)
Options\Style\NamingPreferences\NamingStyleOptionPageControl.xaml.cs (2)
143var namingRules = ArrayBuilder<SerializableNamingRule>.GetInstance(); 153var rule = new SerializableNamingRule()
Options\Style\NamingPreferences\NamingStyleOptionPageViewModel.cs (1)
42foreach (var namingRule in info.NamingRules)