8 overrides of IsRequired
Microsoft.CodeAnalysis.CSharp (8)
Lowering\StateMachineRewriter\SynthesizedStateMachineProperty.cs (1)
154
internal override bool
IsRequired
=> false;
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.PropertySymbol.cs (1)
132
internal override bool
IsRequired
=> false;
Symbols\ErrorPropertySymbol.cs (1)
80
internal override bool
IsRequired
=> false;
Symbols\Metadata\PE\PEPropertySymbol.cs (1)
610
internal override bool
IsRequired
Symbols\SignatureOnlyPropertySymbol.cs (1)
90
internal override bool
IsRequired
=> throw ExceptionUtilities.Unreachable();
Symbols\Source\SourcePropertySymbolBase.cs (1)
595
internal sealed override bool
IsRequired
=> (_modifiers & DeclarationModifiers.Required) != 0;
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListProperty.cs (1)
69
internal override bool
IsRequired
=> false;
Symbols\Wrapped\WrappedPropertySymbol.cs (1)
164
internal sealed override bool
IsRequired
=> _underlyingProperty.IsRequired;
8 references to IsRequired
Microsoft.CodeAnalysis.CSharp (8)
FlowAnalysis\NullableWalker.cs (2)
651
predicate: member => member is PropertySymbol {
IsRequired
: true },
811
case PropertySymbol {
IsRequired
: true }:
Symbols\NamedTypeSymbol.cs (1)
598
if (prop.
IsRequired
)
Symbols\PublicModel\PropertySymbol.cs (1)
94
bool IPropertySymbol.IsRequired => _underlying.
IsRequired
;
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (2)
915
else if (overriddenMember is PropertySymbol {
IsRequired
: true } && overridingMember is PropertySymbol {
IsRequired
: false })
Symbols\SymbolExtensions.cs (1)
825
internal static bool IsRequired(this Symbol symbol) => symbol is FieldSymbol { IsRequired: true } or PropertySymbol {
IsRequired
: true };
Symbols\Wrapped\WrappedPropertySymbol.cs (1)
164
internal sealed override bool IsRequired => _underlyingProperty.
IsRequired
;