2 references to isSuitableProperty
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Patterns.cs (2)
40
(NamedTypeSymbol container, PropertySymbol? valueProperty) = TryGetOwnOrInheritedUnionProperty(inputUnionType, WellKnownMemberNames.ValuePropertyName,
isSuitableProperty
, ref useSiteInfo);
198
(_, PropertySymbol? hasValueProperty) = TryGetOwnOrInheritedUnionProperty(inputUnionType, WellKnownMemberNames.HasValuePropertyName,
isSuitableProperty
, ref useSiteInfo);