4 instantiations of SerializableNamingRule
Microsoft.CodeAnalysis.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\EditorConfig\EditorConfigNamingStyleParser.cs (1)
80
rule => new
SerializableNamingRule
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\EditorConfig\EditorConfigNamingStyleParser_NamingRule.cs (1)
31
serializableNamingRule = new
SerializableNamingRule
()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SerializableNamingRule.cs (2)
44
return new
SerializableNamingRule
()
61
return new
SerializableNamingRule
17 references to SerializableNamingRule
Microsoft.CodeAnalysis.Workspaces (17)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\EditorConfig\EditorConfigNamingStyleParser.cs (2)
22
var namingRules = ArrayBuilder<
SerializableNamingRule
>.GetInstance();
29
TryGetSerializableNamingRule(namingRuleTitle, symbolSpec, namingStyle, trimmedDictionary, out
var
serializableNamingRule, out var priority))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\EditorConfig\EditorConfigNamingStyleParser_NamingRule.cs (1)
20
[NotNullWhen(true)] out
SerializableNamingRule
? serializableNamingRule,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferences.cs (4)
284
public readonly ImmutableArray<
SerializableNamingRule
> NamingRules;
291
ImmutableArray<
SerializableNamingRule
> namingRules)
337
element.Element("NamingRules").Elements(nameof(
SerializableNamingRule
))
338
.Select(
SerializableNamingRule
.FromXElement).ToImmutableArray());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferencesEditorConfigSerializer.cs (7)
32
ImmutableArray<
SerializableNamingRule
> serializableNamingRules,
49
ImmutableArray<
SerializableNamingRule
> rules,
65
foreach (
var
namingRule in rules)
171
private static ImmutableDictionary<
SerializableNamingRule
, string> AssignNamesToNamingStyleRules(ImmutableArray<
SerializableNamingRule
> namingRules, ImmutableDictionary<Guid, string> serializedNameMap)
173
var builder = ImmutableDictionary.CreateBuilder<
SerializableNamingRule
, string>();
174
foreach (
var
rule in namingRules)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SerializableNamingRule.cs (3)
34
var element = new XElement(nameof(
SerializableNamingRule
),
42
internal static
SerializableNamingRule
FromXElement(XElement namingRuleElement)
59
public static
SerializableNamingRule
ReadFrom(ObjectReader reader)