9 references to IsRequired
Microsoft.CodeAnalysis.CSharp (9)
FlowAnalysis\NullableWalker.cs (3)
664var shouldForcePropertyAnalysis = !constructorEnforcesRequiredMembers && member is not SourcePropertySymbolBase { BackingField: not null } && member.IsRequired(); 756if ((symbol.IsRequired() || membersWithStateEnforcedByRequiredMembers.Contains(symbol.Name)) && constructor.ShouldCheckRequiredMembers()) 951Debug.Assert(requiredMember.IsRequired());
Symbols\NamedTypeSymbol.cs (2)
617if (!member.IsRequired() 625if (!member.IsRequired())
Symbols\Source\SourceMemberContainerSymbol.cs (1)
2655if (member.IsRequired())
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (2)
721if (hiddenMember.IsRequired()) 1595if (hiddenMember.IsRequired())
Symbols\Source\SourceNamedTypeSymbol.cs (1)
1805if (!member.IsRequired())