11 references to WithIsAbstract
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Analyzers\Core\CodeFixes\MakeTypeAbstract\AbstractMakeTypeAbstractCodeFixProvider.cs (1)
40
(currentTypeDeclaration, generator) => generator.WithModifiers(currentTypeDeclaration, generator.GetModifiers(currentTypeDeclaration).
WithIsAbstract
(true)));
Microsoft.CodeAnalysis.CSharp.Features (2)
Completion\CompletionProviders\DeclarationName\DeclarationNameInfo.cs (1)
555
declarationModifiers = declarationModifiers.
WithIsAbstract
(true);
Completion\CompletionProviders\OverrideCompletionProvider.cs (1)
125
modifiers = modifiers.
WithIsAbstract
(true);
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
CodeGeneration\SyntaxGeneratorTests.cs (1)
3129
var fileAbstractClass = Generator.WithModifiers(fileClass, Generator.GetModifiers(fileClass).
WithIsAbstract
(true));
Microsoft.CodeAnalysis.Features (4)
PullMemberUp\MembersPuller.cs (2)
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)
218
modifiers = modifiers.
WithIsAbstract
(false);
src\Analyzers\Core\CodeFixes\MakeTypeAbstract\AbstractMakeTypeAbstractCodeFixProvider.cs (1)
40
(currentTypeDeclaration, generator) => generator.WithModifiers(currentTypeDeclaration, generator.GetModifiers(currentTypeDeclaration).
WithIsAbstract
(true)));
Microsoft.CodeAnalysis.Workspaces (3)
Shared\Extensions\SyntaxGeneratorExtensions.cs (1)
231
.
WithIsAbstract
(false)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
138
result = result.
WithIsAbstract
(true);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationSymbolFactory.cs (1)
370
accessor.GetSymbolModifiers().
WithIsAbstract
(statements == null),