1 write to ID
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.cs (1)
52
ID
= id;
14 references to ID
Microsoft.CodeAnalysis.CodeStyle (14)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\EditorConfig\EditorConfigNamingStyleParser_NamingRule.cs (1)
31
NamingStyleID = namingStyle.
ID
,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.cs (4)
465
new XAttribute(nameof(
ID
),
ID
),
474
id: Guid.Parse(namingStyleElement.Attribute(nameof(
ID
)).Value),
483
writer.WriteGuid(
ID
);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferences.cs (1)
309
=> NamingStyles.Single(s => s.
ID
== namingStyleID);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferencesEditorConfigSerializer.cs (8)
94
if (!referencedElements.Contains(namingStyle.
ID
))
100
entryWriter($"dotnet_naming_style.{serializedNameMap[namingStyle.
ID
]}.required_prefix", namingStyle.Prefix);
101
entryWriter($"dotnet_naming_style.{serializedNameMap[namingStyle.
ID
]}.required_suffix", namingStyle.Suffix);
102
entryWriter($"dotnet_naming_style.{serializedNameMap[namingStyle.
ID
]}.word_separator", namingStyle.WordSeparator);
103
entryWriter($"dotnet_naming_style.{serializedNameMap[namingStyle.
ID
]}.capitalization", namingStyle.CapitalizationScheme.ToEditorConfigString());
130
name = namingStyle.
ID
.ToString("n");
133
if (!builder.TryGetKey(namingStyle.
ID
, out _))
135
builder.Add(namingStyle.
ID
, name);