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