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