9 references to IsRequired
Microsoft.CodeAnalysis.CSharp (9)
FlowAnalysis\NullableWalker.cs (3)
665var shouldForcePropertyAnalysis = !constructorEnforcesRequiredMembers && member is not SourcePropertySymbolBase { BackingField: not null } && member.IsRequired(); 757if ((symbol.IsRequired() || membersWithStateEnforcedByRequiredMembers.Contains(symbol.Name)) && constructor.ShouldCheckRequiredMembers()) 980Debug.Assert(requiredMember.IsRequired());
Symbols\NamedTypeSymbol.cs (2)
612if (!member.IsRequired() 620if (!member.IsRequired())
Symbols\Source\SourceMemberContainerSymbol.cs (1)
2669if (member.IsRequired())
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (2)
721if (hiddenMember.IsRequired()) 1595if (hiddenMember.IsRequired())
Symbols\Source\SourceNamedTypeSymbol.cs (1)
1836if (!member.IsRequired())