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