20 references to From
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
CodeGeneration\SyntaxGeneratorTests.cs (1)
4999Assert.Equal(modifiers, DeclarationModifiers.From(declaration));
Microsoft.CodeAnalysis.Features (6)
ConvertAutoPropertyToFullProperty\AbstractConvertAutoPropertyToFullPropertyCodeRefactoringProvider.cs (1)
104DeclarationModifiers.From(propertySymbol),
InlineMethod\AbstractInlineMethodRefactoringProvider.cs (1)
389var declarationModifiers = DeclarationModifiers.From(callerSymbol).WithAsync(true);
PullMemberUp\MembersPuller.cs (3)
202var modifiers = DeclarationModifiers.From(member).WithIsStatic(false); 355var modifiers = DeclarationModifiers.From(result.Destination).WithIsAbstract(true); 448var modifier = DeclarationModifiers.From(member).WithIsAbstract(true);
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator_DisposePattern.cs (1)
217var modifiers = DeclarationModifiers.From(disposeMethod);
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\EventGenerator.vb (1)
118DeclarationModifiers.From([event]),
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\EventGenerator.vb (1)
118DeclarationModifiers.From([event]),
Microsoft.CodeAnalysis.Workspaces (11)
Editing\SyntaxGenerator.cs (11)
148DeclarationModifiers.From(field), 197modifiers: DeclarationModifiers.From(method), 289modifiers: DeclarationModifiers.From(method), 396DeclarationModifiers.From(property)); 455DeclarationModifiers.From(indexer), 496DeclarationModifiers.From(symbol)); 534DeclarationModifiers.From(symbol), 563DeclarationModifiers.From(constructorMethod), 765modifiers: DeclarationModifiers.From(type), 774modifiers: DeclarationModifiers.From(type), 797modifiers: DeclarationModifiers.From(type))