7 references to new
Microsoft.CodeAnalysis.Workspaces (7)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\EditorConfig\EditorConfigNamingStyleParser_SymbolSpec.cs (5)
297private static readonly ModifierKind s_abstractModifierKind = new(ModifierKindEnum.IsAbstract); 298private static readonly ModifierKind s_asyncModifierKind = new(ModifierKindEnum.IsAsync); 299private static readonly ModifierKind s_constModifierKind = new(ModifierKindEnum.IsConst); 300private static readonly ModifierKind s_readonlyModifierKind = new(ModifierKindEnum.IsReadOnly); 301private 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());