33 writes to NamingStyleID
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (5)
Completion\CompletionProviders\DeclarationNameCompletionProviderTests.cs (1)
3029NamingStyleID = style.ID,
ConvertAutoPropertyToFullProperty\ConvertAutoPropertyToFullPropertyTests_OptionSets.cs (3)
95NamingStyleID = namingStyle.ID, 127NamingStyleID = namingStyle.ID, 159NamingStyleID = namingStyle.ID,
ConvertTupleToStruct\ConvertTupleToStructTests.cs (1)
400NamingStyleID = namingStyle.ID,
Microsoft.CodeAnalysis.EditorFeatures.DiagnosticsTests.Utilities (21)
NamingStyles\NamingStylesTestOptionSets.cs (21)
149NamingStyleID = namingStyle.ID, 180NamingStyleID = namingStyle.ID, 212NamingStyleID = namingStyle.ID, 244NamingStyleID = namingStyle.ID, 276NamingStyleID = namingStyle.ID, 314NamingStyleID = namingStyle.ID, 345NamingStyleID = namingStyle.ID, 376NamingStyleID = namingStyle.ID, 407NamingStyleID = namingStyle.ID, 438NamingStyleID = namingStyle.ID, 470NamingStyleID = namingStyle.ID, 502NamingStyleID = namingStyle.ID, 534NamingStyleID = namingStyle.ID, 566NamingStyleID = namingStyle.ID, 598NamingStyleID = namingStyle.ID, 630NamingStyleID = namingStyle.ID, 662NamingStyleID = namingStyle.ID, 696NamingStyleID = namingStyle.ID, 743NamingStyleID = camelCaseNamingStyle.ID, 750NamingStyleID = allUpperNamingStyle.ID, 784NamingStyleID = namingStyle.ID,
Microsoft.CodeAnalysis.Workspaces (5)
EditorConfigFileGenerator_NamingStyles.cs (1)
26NamingStyleID = x.NamingStyle.ID,
EditorConfigNamingStyleParser.cs (1)
98NamingStyleID = rule.NamingStyle.ID,
EditorConfigNamingStyleParser_NamingRule.cs (1)
31NamingStyleID = namingStyle.ID,
SerializableNamingRule.cs (2)
49NamingStyleID = Guid.Parse(namingRuleElement.Attribute(nameof(NamingStyleID)).Value), 68NamingStyleID = reader.ReadGuid(),
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Options\OptionsTestHelpers.cs (1)
169NamingStyleID = namingStyle.ID,
Microsoft.VisualStudio.LanguageServices.Implementation (1)
Options\Style\NamingPreferences\NamingStyleOptionPageControl.xaml.cs (1)
156NamingStyleID = item.SelectedStyle.ID,
18 references to NamingStyleID
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (8)
Diagnostics\NamingStyles\EditorConfigNamingStyleParserTests.cs (8)
43Assert.Equal(namingStyle.ID, namingRule.NamingStyleID); 88Assert.Equal(namingStyle.ID, namingRule.NamingStyleID); 113Assert.Equal(namingStyle.ID, namingRule.NamingStyleID); 171Assert.Equal(namingStyle.ID, namingRule.NamingStyleID); 219Assert.Equal(namingStyle.ID, namingRule.NamingStyleID); 262Assert.Equal(namingStyle.ID, namingRule.NamingStyleID); 305Assert.Equal(namingStyle.ID, namingRule.NamingStyleID); 450Assert.Equal(namingStyle.ID, namingRule.NamingStyleID);
Microsoft.CodeAnalysis.Workspaces (9)
EditorConfigFileGenerator_NamingStyles.cs (3)
69referencedElements.Add(namingRule.NamingStyleID); 74editorconfig.AppendLine($"dotnet_naming_rule.{ruleNameMap[namingRule]}.style = {serializedNameMap[namingRule.NamingStyleID]}"); 168builder.Add(rule, $"{serializedNameMap[rule.SymbolSpecificationID]}_should_be_{serializedNameMap[rule.NamingStyleID]}");
EditorConfigNamingStyleParser.cs (1)
37var ruleKey = (serializableNamingRule.SymbolSpecificationID, serializableNamingRule.NamingStyleID, serializableNamingRule.EnforcementLevel);
SerializableNamingRule.cs (5)
30info.GetNamingStyle(NamingStyleID), 38new XAttribute(nameof(NamingStyleID), NamingStyleID), 49NamingStyleID = Guid.Parse(namingRuleElement.Attribute(nameof(NamingStyleID)).Value), 59writer.WriteGuid(NamingStyleID);
Microsoft.VisualStudio.LanguageServices.Implementation (1)
Options\Style\NamingPreferences\NamingStyleOptionPageViewModel.cs (1)
52viewModel.SelectedStyle = viewModel.NamingStyles.Single(s => s.ID == namingRule.NamingStyleID);