1 write to ID
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.cs (1)
52
ID
= id;
14 references to ID
Microsoft.CodeAnalysis.Workspaces (14)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\EditorConfig\EditorConfigNamingStyleParser_NamingRule.cs (1)
34
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)
106
if (!referencedElements.Contains(namingStyle.
ID
))
112
entryWriter($"dotnet_naming_style.{serializedNameMap[namingStyle.
ID
]}.required_prefix", namingStyle.Prefix);
113
entryWriter($"dotnet_naming_style.{serializedNameMap[namingStyle.
ID
]}.required_suffix", namingStyle.Suffix);
114
entryWriter($"dotnet_naming_style.{serializedNameMap[namingStyle.
ID
]}.word_separator", namingStyle.WordSeparator);
115
entryWriter($"dotnet_naming_style.{serializedNameMap[namingStyle.
ID
]}.capitalization", namingStyle.CapitalizationScheme.ToEditorConfigString());
142
name = namingStyle.
ID
.ToString("n");
145
if (!builder.TryGetKey(namingStyle.
ID
, out _))
147
builder.Add(namingStyle.
ID
, name);