6 overrides of IsRequired
Microsoft.CodeAnalysis.CSharp (6)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.FieldSymbol.cs (1)
158
internal override bool
IsRequired
=> false;
Symbols\Metadata\PE\PEFieldSymbol.cs (1)
681
internal override bool
IsRequired
Symbols\Source\SourceFieldSymbol.cs (1)
164
internal override bool
IsRequired
=> (Modifiers & DeclarationModifiers.Required) != 0;
Symbols\Synthesized\SynthesizedBackingFieldSymbol.cs (1)
72
internal override bool
IsRequired
=> false;
Symbols\Synthesized\SynthesizedFieldSymbolBase.cs (1)
196
internal override bool
IsRequired
=> false;
Symbols\Wrapped\WrappedFieldSymbol.cs (1)
208
internal sealed override bool
IsRequired
=> _underlyingField.IsRequired;
4 references to IsRequired
Microsoft.CodeAnalysis.CSharp (4)
Symbols\PublicModel\FieldSymbol.cs (1)
88
bool IFieldSymbol.IsRequired => _underlying.
IsRequired
;
Symbols\Source\SourceNamedTypeSymbol.cs (1)
1834
if (elementField.
IsRequired
|| elementField.IsReadOnly || elementField.IsVolatile || elementField.IsFixedSizeBuffer)
Symbols\SymbolExtensions.cs (1)
825
internal static bool IsRequired(this Symbol symbol) => symbol is FieldSymbol {
IsRequired
: true } or PropertySymbol { IsRequired: true };
Symbols\Wrapped\WrappedFieldSymbol.cs (1)
208
internal sealed override bool IsRequired => _underlyingField.
IsRequired
;