6 references to EditorConfigValueSerializer
Microsoft.CodeAnalysis.Workspaces (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleHelpers.cs (2)
125
var option = new Option2<CodeStyleOption2<T>>(name, defaultValue, group, languageName, isEditorConfigOption: true, serializer: (serializerFactory ??
EditorConfigValueSerializer
.CodeStyle).Invoke(defaultValue));
149
var option = new PerLanguageOption2<CodeStyleOption2<T>>(name, defaultValue, group, isEditorConfigOption: true, serializer: (serializerFactory ??
EditorConfigValueSerializer
.CodeStyle).Invoke(defaultValue));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleOptions2.cs (2)
235
EditorConfigValueSerializer
.String(emptyStringRepresentation: "unset"));
241
EditorConfigValueSerializer
.String(emptyStringRepresentation: "none"));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\FormattingOptions2.cs (1)
66
serializer:
EditorConfigValueSerializer
.CreateSerializerForEnum<IndentStyle>())
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionDefinition.cs (1)
120
public new EditorConfigValueSerializer<T> Serializer { get; } = serializer ??
EditorConfigValueSerializer
.GetDefault<T>(isEditorConfigOption);