7 references to Required
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
CodeGeneration\CSharpSyntaxGenerator.cs (2)
1438
DeclarationModifiers.
Required
|
1468
DeclarationModifiers.
Required
|
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (1)
145
SyntaxKind.RequiredKeyword => DeclarationModifiers.
Required
,
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (4)
CodeGeneration\SyntaxGeneratorTests.cs (4)
797
Generator.FieldDeclaration("fld", Generator.TypeExpression(SpecialType.System_Int32), accessibility: Accessibility.NotApplicable, modifiers: DeclarationModifiers.
Required
),
1062
Generator.PropertyDeclaration("p", Generator.IdentifierName("x"), modifiers: DeclarationModifiers.
Required
),
4841
TestModifiersAsync(DeclarationModifiers.ReadOnly | DeclarationModifiers.
Required
,
4863
TestModifiersAsync(DeclarationModifiers.
Required
,