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