7 references to new
Microsoft.CodeAnalysis.Workspaces (7)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\EditorConfig\EditorConfigNamingStyleParser_SymbolSpec.cs (5)
246
private static readonly ModifierKind s_abstractModifierKind =
new
(ModifierKindEnum.IsAbstract);
247
private static readonly ModifierKind s_asyncModifierKind =
new
(ModifierKindEnum.IsAsync);
248
private static readonly ModifierKind s_constModifierKind =
new
(ModifierKindEnum.IsConst);
249
private static readonly ModifierKind s_readonlyModifierKind =
new
(ModifierKindEnum.IsReadOnly);
250
private static readonly ModifierKind s_staticModifierKind =
new
(ModifierKindEnum.IsStatic);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (2)
541
=>
new
((ModifierKindEnum)Enum.Parse(typeof(ModifierKindEnum), modifierElement.Value));
547
=>
new
((ModifierKindEnum)reader.ReadInt32());