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