7 references to new
Microsoft.CodeAnalysis.CodeStyle (7)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\EditorConfig\EditorConfigNamingStyleParser_SymbolSpec.cs (5)
297
private static readonly ModifierKind s_abstractModifierKind =
new
(ModifierKindEnum.IsAbstract);
298
private static readonly ModifierKind s_asyncModifierKind =
new
(ModifierKindEnum.IsAsync);
299
private static readonly ModifierKind s_constModifierKind =
new
(ModifierKindEnum.IsConst);
300
private static readonly ModifierKind s_readonlyModifierKind =
new
(ModifierKindEnum.IsReadOnly);
301
private static readonly ModifierKind s_staticModifierKind =
new
(ModifierKindEnum.IsStatic);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (2)
532
=>
new
((ModifierKindEnum)Enum.Parse(typeof(ModifierKindEnum), modifierElement.Value));
538
=>
new
((ModifierKindEnum)reader.ReadInt32());