6 references to WithIsRequired
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\MakeMemberRequired\CSharpMakeMemberRequiredCodeFixProvider.cs (1)
139
var newDeclarationModifiers = declarationModifiers.
WithIsRequired
(true);
Microsoft.CodeAnalysis.CSharp.Features (2)
Completion\CompletionProviders\OverrideCompletionProvider.cs (1)
129
modifiers = modifiers.
WithIsRequired
(true);
src\Analyzers\CSharp\CodeFixes\MakeMemberRequired\CSharpMakeMemberRequiredCodeFixProvider.cs (1)
139
var newDeclarationModifiers = declarationModifiers.
WithIsRequired
(true);
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (2)
CodeGeneration\SyntaxGeneratorTests.cs (2)
3169
var updatedProperty = Generator.WithModifiers(property, Generator.GetModifiers(property).
WithIsRequired
(true));
3187
var updatedProperty = Generator.WithModifiers(property, Generator.GetModifiers(property).
WithIsRequired
(true));
Microsoft.CodeAnalysis.Workspaces (1)
Shared\Extensions\SyntaxGeneratorExtensions.cs (1)
237
modifiers = modifiers.
WithIsRequired
(false);