4 instantiations of SerializableNamingRule
Microsoft.CodeAnalysis.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\EditorConfig\EditorConfigNamingStyleParser.cs (1)
95rule => new SerializableNamingRule
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\EditorConfig\EditorConfigNamingStyleParser_NamingRule.cs (1)
28serializableNamingRule = new SerializableNamingRule()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SerializableNamingRule.cs (2)
46return new SerializableNamingRule() 63return new SerializableNamingRule
17 references to SerializableNamingRule
Microsoft.CodeAnalysis.Workspaces (17)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\EditorConfig\EditorConfigNamingStyleParser.cs (2)
24var namingRules = ArrayBuilder<SerializableNamingRule>.GetInstance(); 31TryGetSerializableNamingRule(namingRuleTitle, symbolSpec, namingStyle, trimmedDictionary, out var serializableNamingRule))
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, 48ImmutableArray<SerializableNamingRule> serializableNamingRules, 62foreach (var namingRule in serializableNamingRules) 159private static ImmutableDictionary<SerializableNamingRule, string> AssignNamesToNamingStyleRules(ImmutableArray<SerializableNamingRule> namingRules, ImmutableDictionary<Guid, string> serializedNameMap) 161var builder = ImmutableDictionary.CreateBuilder<SerializableNamingRule, string>(); 162foreach (var rule in namingRules)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SerializableNamingRule.cs (3)
36var element = new XElement(nameof(SerializableNamingRule), 44internal static SerializableNamingRule FromXElement(XElement namingRuleElement) 61public static SerializableNamingRule ReadFrom(ObjectReader reader)