1 write to ID
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.cs (1)
52ID = id;
13 references to ID
Microsoft.CodeAnalysis.CodeStyle (13)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.cs (4)
465new XAttribute(nameof(ID), ID), 474id: Guid.Parse(namingStyleElement.Attribute(nameof(ID)).Value), 483writer.WriteGuid(ID);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferences.cs (1)
321arg.namingStyles.Single(static (s, id) => s.ID == id, rule.NamingStyleID),
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferencesEditorConfigSerializer.cs (8)
106if (!referencedElements.Contains(namingStyle.ID)) 112entryWriter($"dotnet_naming_style.{serializedNameMap[namingStyle.ID]}.required_prefix", namingStyle.Prefix); 113entryWriter($"dotnet_naming_style.{serializedNameMap[namingStyle.ID]}.required_suffix", namingStyle.Suffix); 114entryWriter($"dotnet_naming_style.{serializedNameMap[namingStyle.ID]}.word_separator", namingStyle.WordSeparator); 115entryWriter($"dotnet_naming_style.{serializedNameMap[namingStyle.ID]}.capitalization", namingStyle.CapitalizationScheme.ToEditorConfigString()); 142name = namingStyle.ID.ToString("n"); 145if (!builder.TryGetKey(namingStyle.ID, out _)) 147builder.Add(namingStyle.ID, name);