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