Binder\Binder_Expressions.cs (66)
1570ContainingMember() is MethodSymbol { MethodKind: MethodKind.PropertyGet or MethodKind.PropertySet, AssociatedSymbol: PropertySymbol { IsIndexer: false } })
2195return BindPropertyAccess(node, receiver, (PropertySymbol)symbol, diagnostics, resultKind, hasErrors: isError);
6205PropertySymbol propertySymbol,
7760leftType = ((PropertySymbol)leftSymbol).Type;
8293case PropertySymbol propertySymbol:
8587resultType = ((PropertySymbol)symbolOpt).Type;
8731result = BindPropertyAccess(node, left, (PropertySymbol)symbol, diagnostics, lookupResult.Kind, hasErrors: wasError);
8892OverloadResolutionResult<PropertySymbol>? propertyResult = arity != 0 || acceptOnlyMethods ? null : resolveProperties(left, lookupResult, binder, ref actualReceiverArguments, ref useSiteInfo);
8965static OverloadResolutionResult<PropertySymbol>? resolveProperties(
8972ArrayBuilder<PropertySymbol>? properties = null;
8975if (member is PropertySymbol property)
8977properties ??= ArrayBuilder<PropertySymbol>.GetInstance();
8994OverloadResolutionResult<PropertySymbol> propertyResult,
9014PropertySymbol representativeProperty = propertyResult.PickRepresentativeMember();
9118private OverloadResolutionResult<PropertySymbol> ResolveExtensionProperties(
9120ArrayBuilder<PropertySymbol> properties,
9132var overloadResolutionResult = OverloadResolutionResult<PropertySymbol>.GetInstance();
9254if (!lookupResult.IsMultiViable || lookupResult.Symbols.All(s => s is not PropertySymbol { IsIndexer: true }))
9261var properties = ArrayBuilder<PropertySymbol>.GetInstance();
9264if (member is PropertySymbol { IsIndexer: true } property)
9400bool foundApplicable = tryLookupExtensionLengthOrCount(syntax, receiver, binder, scope, ref actualExtensionLengthOrCountArguments, out var lengthOrCountProperty, ref useSiteInfo, diagnostics);
9422[NotNullWhen(true)] out PropertySymbol? lengthOrCountProperty,
9436ArrayBuilder<PropertySymbol>? lengthCandidates = null;
9437ArrayBuilder<PropertySymbol>? countCandidates = null;
9440if (candidate is PropertySymbol property &&
9447lengthCandidates ??= ArrayBuilder<PropertySymbol>.GetInstance();
9452countCandidates ??= ArrayBuilder<PropertySymbol>.GetInstance();
9474static bool tryResolveLengthOrCount(BoundExpression receiver, ArrayBuilder<PropertySymbol>? properties, Binder binder,
9475ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo, ref AnalyzedArguments? actualArguments, out PropertySymbol? property)
9578ArrayBuilder<PropertySymbol>? filteredCandidates = null;
9721static void filterIntIndexerCandidates(ArrayBuilder<Symbol> candidates, ref ArrayBuilder<PropertySymbol>? filteredCandidates,
9726if (candidate is PropertySymbol property &&
9731filteredCandidates ??= ArrayBuilder<PropertySymbol>.GetInstance();
9759ArrayBuilder<PropertySymbol> properties,
9767OverloadResolutionResult<PropertySymbol> result = binder.ResolveExtensionProperties(receiver, properties, analyzedArguments, ref actualArguments, ref useSiteInfo);
9782MemberResolutionResult<PropertySymbol> resolutionResult = result.ValidResult;
9983PropertySymbol propertySymbol,
10278foreach (PropertySymbol property in members)
10622return BindDynamicIndexer(node, expr, arguments, ImmutableArray<PropertySymbol>.Empty, diagnostics);
10931ArrayBuilder<PropertySymbol> indexerGroup = ArrayBuilder<PropertySymbol>.GetInstance();
10935indexerGroup.Add((PropertySymbol)symbol);
10998private static readonly Func<PropertySymbol, bool> s_isIndexedPropertyWithNonOptionalArguments = property =>
11049private BoundExpression BindIndexedPropertyAccess(SyntaxNode syntax, BoundExpression receiver, ImmutableArray<PropertySymbol> propertyGroup, AnalyzedArguments arguments, BindingDiagnosticBag diagnostics)
11054var properties = ArrayBuilder<PropertySymbol>.GetInstance();
11068ImmutableArray<PropertySymbol> applicableProperties,
11111ArrayBuilder<PropertySymbol> propertyGroup,
11118OverloadResolutionResult<PropertySymbol> overloadResolutionResult = OverloadResolutionResult<PropertySymbol>.GetInstance();
11150ArrayBuilder<PropertySymbol> propertyGroup,
11152OverloadResolutionResult<PropertySymbol> overloadResolutionResult,
11160ImmutableArray<PropertySymbol> candidates = propertyGroup.ToImmutable();
11163var candidate = candidates[0];
11183PropertySymbol property = (candidates.Length == 1) ? candidates[0] : CreateErrorPropertySymbol(candidates);
11196MemberResolutionResult<PropertySymbol> resolutionResult = overloadResolutionResult.ValidResult;
11205private BoundIndexerAccess BindResolvedIndexerOrIndexedPropertyAccess(SyntaxNode syntax, BoundExpression receiver, AnalyzedArguments analyzedArguments, BindingDiagnosticBag diagnostics, ImmutableArray<string> argumentNames, ImmutableArray<RefKind> argumentRefKinds, MemberResolutionResult<PropertySymbol> resolutionResult)
11207PropertySymbol property = resolutionResult.Member;
11219this.CheckAndCoerceArguments<PropertySymbol>(syntax, resolutionResult, analyzedArguments, diagnostics, receiver, invokedAsExtensionMethod: false, out argsToParams);
11469private static bool HasValidLengthOrCountGetter(PropertySymbol property)
11481private static bool IsValidImplicitIndexIndexer(PropertySymbol property)
11500if (tryLookupLengthOrCount(syntax, receiverPlaceholder.Type, lookupResult, binder: this, out var lengthOrCountProperty, ref useSiteInfo, diagnostics))
11520[NotNullWhen(true)] out PropertySymbol? lengthOrCountProperty,
11540[NotNullWhen(true)] out PropertySymbol? valid,
11556lookupResult.Symbols[0] is PropertySymbol property &&
11572private ErrorPropertySymbol CreateErrorPropertySymbol(ImmutableArray<PropertySymbol> propertyGroup)
11575var candidate = propertyGroup[0];
Binder\Binder_Patterns.cs (24)
38internal static PropertySymbol? GetUnionTypeValueProperty(NamedTypeSymbol inputUnionType, ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo)
40(NamedTypeSymbol container, PropertySymbol? valueProperty) = TryGetOwnOrInheritedUnionProperty(inputUnionType, WellKnownMemberNames.ValuePropertyName, isSuitableProperty, ref useSiteInfo);
46static PropertySymbol? reportDiagnosticAndReturnProperty(NamedTypeSymbol memberProvider, PropertySymbol? valueProperty, ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo)
61static bool isSuitableProperty(Symbol m, [NotNullWhen(true)] out PropertySymbol? valueProperty)
63if (m is PropertySymbol prop && hasUnionValueSignature(prop))
73static bool hasUnionValueSignature(PropertySymbol property)
86private delegate bool IsSuitableUnionProperty(Symbol m, [NotNullWhen(true)] out PropertySymbol? member);
88private static (NamedTypeSymbol, PropertySymbol?) TryGetOwnOrInheritedUnionProperty(NamedTypeSymbol inputUnionType, string memberName, IsSuitableUnionProperty isSuitableUnionMember, ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo)
93PropertySymbol? member;
104PropertySymbol? match = null;
169static bool getMemberDeclaredInType(NamedTypeSymbol declaringType, string memberName, IsSuitableUnionProperty isSuitableUnionMember, [NotNullWhen(true)] out PropertySymbol? member)
184internal static PropertySymbol? GetUnionTypeValuePropertyNoUseSiteDiagnostics(NamedTypeSymbol inputUnionType)
195internal static PropertySymbol? GetUnionTypeHasValueProperty(NamedTypeSymbol inputUnionType)
198(_, PropertySymbol? hasValueProperty) = TryGetOwnOrInheritedUnionProperty(inputUnionType, WellKnownMemberNames.HasValuePropertyName, isSuitableProperty, ref useSiteInfo);
201static PropertySymbol? checkAndReturnProperty(PropertySymbol? hasValueProperty)
211static bool isSuitableProperty(Symbol m, [NotNullWhen(true)] out PropertySymbol? hasValueProperty)
213if (m is PropertySymbol prop && hasHasValueSignature(prop))
223static bool hasHasValueSignature(PropertySymbol property)
529internal static bool IsUnionTypeHasValueProperty(NamedTypeSymbol unionType, PropertySymbol property)
899private bool IsCountableAndIndexable(SyntaxNode node, TypeSymbol inputType, out PropertySymbol? lengthProperty)
2278isLengthOrCount = IsCountableAndIndexable(node, receiverType, out PropertySymbol? lengthProperty) &&
2331case PropertySymbol property:
FlowAnalysis\NullableWalker.cs (44)
705predicate: member => member is PropertySymbol { IsRequired: true },
708var property = (PropertySymbol)member;
783symbol = (Symbol?)(f.AssociatedSymbol as PropertySymbol) ?? f;
794case PropertySymbol p when forcePropertyAnalysis:
866case PropertySymbol { IsRequired: true }:
868case PropertySymbol:
981var prop = symbolToInitialize as PropertySymbol ?? (symbolToInitialize as FieldSymbol)?.AssociatedSymbol as PropertySymbol;
1018if (requiredMember is PropertySymbol { IsAbstract: true } abstractProperty)
1021&& isFilterableOverrideOfAbstractProperty((PropertySymbol)overridingMember))
1043var property = (PropertySymbol)requiredMember;
1068static bool isFilterableOverrideOfAbstractProperty(PropertySymbol property)
2067case PropertySymbol { Name: WellKnownMemberNames.ValuePropertyName } property when
2090case PropertySymbol:
2139var propSymbol = propAccess.PropertySymbol;
2857if (method is SourcePropertyAccessorSymbol { AssociatedSymbol: PropertySymbol prop } && (object)backingField.AssociatedSymbol == prop)
4460if (isSuitableUnionConstruction(type, constructor, out PropertySymbol? valueProperty))
4470static bool isSuitableUnionConstruction(TypeSymbol type, [NotNullWhen(true)] MethodSymbol? constructor, [NotNullWhen(true)] out PropertySymbol? valueProperty)
4503private void SetUnionValueStateFromConstructorArgument(BoundExpression argument, TypeWithState argumentTypeWithState, int containingSlot, PropertySymbol valueProperty)
4672if (symbol is PropertySymbol property && property.IsExtensionBlockMember() && !argumentResults.IsDefault)
4791if (symbol is PropertySymbol property)
4819if (symbol is PropertySymbol property)
5047var property = AnonymousTypeManager.GetAnonymousTypeProperty(anonymousType, i);
5068static BoundAnonymousPropertyDeclaration? getDeclaration(BoundAnonymousObjectCreationExpression node, PropertySymbol currentProperty, ref int currentDeclarationIndex)
6079if ((member is PropertySymbol { IsIndexedProperty: false } || member.Kind == SymbolKind.Field) &&
7559PropertySymbol? property,
11304private bool IsPropertyOutputMoreStrictThanInput(PropertySymbol property)
11325var property = left switch
11376var annotations = memberSymbol switch { PropertySymbol prop => prop.GetFlowAnalysisAnnotations(), FieldSymbol field => GetFieldAnnotations(field), _ => FlowAnalysisAnnotations.None };
12136private ReinferenceResult<PropertySymbol> ReInferAndVisitExtensionPropertyAccess(
12137BoundNode node, PropertySymbol property, BoundExpression receiver)
12157private ReinferenceResult<PropertySymbol> ReInferAndVisitExtensionPropertyAccess(
12160PropertySymbol property,
12187var property = node.PropertySymbol;
12193ReinferenceResult<PropertySymbol> reinferenceResult = ReInferAndVisitExtensionPropertyAccess(node, property, node.ReceiverOpt);
12230PropertySymbol indexer = node.Indexer;
12234ReinferenceResult<PropertySymbol> reinferrenceResult = ReInferAndVisitExtensionPropertyAccess(
12247indexer = (PropertySymbol)AsMemberOfType(receiverType, indexer);
12319PropertySymbol? unionValue = null;
12325if (member is PropertySymbol { Name: WellKnownMemberNames.HasValuePropertyName } property &&
12383var getMethod = ((PropertySymbol)member.OriginalDefinition).GetMethod;
Generated\BoundNodes.xml.Generated.cs (54)
325public BoundPropertyEqualsValue(SyntaxNode syntax, PropertySymbol property, ImmutableArray<LocalSymbol> locals, BoundExpression value, bool hasErrors = false)
336public PropertySymbol Property { get; }
341public BoundPropertyEqualsValue Update(PropertySymbol property, ImmutableArray<LocalSymbol> locals, BoundExpression value)
2174public BoundAwaitableInfo(SyntaxNode syntax, BoundAwaitableValuePlaceholder? awaitableInstancePlaceholder, bool isDynamic, BoundExpression? getAwaiter, PropertySymbol? isCompleted, MethodSymbol? getResult, BoundCall? runtimeAsyncAwaitCall, BoundAwaitableValuePlaceholder? runtimeAsyncAwaitCallPlaceholder, bool hasErrors = false)
2193public PropertySymbol? IsCompleted { get; }
2201public BoundAwaitableInfo Update(BoundAwaitableValuePlaceholder? awaitableInstancePlaceholder, bool isDynamic, BoundExpression? getAwaiter, PropertySymbol? isCompleted, MethodSymbol? getResult, BoundCall? runtimeAsyncAwaitCall, BoundAwaitableValuePlaceholder? runtimeAsyncAwaitCallPlaceholder)
5513public BoundDagPropertyEvaluation(SyntaxNode syntax, PropertySymbol property, bool isLengthOrCount, BoundDagTemp input, bool hasErrors = false)
5524public PropertySymbol Property { get; }
5530public BoundDagPropertyEvaluation Update(PropertySymbol property, bool isLengthOrCount, BoundDagTemp input)
5544public BoundDagIndexEvaluation(SyntaxNode syntax, PropertySymbol property, int index, BoundDagTemp input, bool hasErrors = false)
5555public PropertySymbol Property { get; }
5561public BoundDagIndexEvaluation Update(PropertySymbol property, int index, BoundDagTemp input)
6185public BoundPropertyGroup(SyntaxNode syntax, ImmutableArray<PropertySymbol> properties, BoundExpression? receiverOpt, LookupResultKind resultKind, bool hasErrors = false)
6194public ImmutableArray<PropertySymbol> Properties { get; }
6199public BoundPropertyGroup Update(ImmutableArray<PropertySymbol> properties, BoundExpression? receiverOpt, LookupResultKind resultKind)
7129public BoundAnonymousPropertyDeclaration(SyntaxNode syntax, PropertySymbol property, TypeSymbol type, bool hasErrors)
7139public BoundAnonymousPropertyDeclaration(SyntaxNode syntax, PropertySymbol property, TypeSymbol type)
7150public PropertySymbol Property { get; }
7155public BoundAnonymousPropertyDeclaration Update(PropertySymbol property, TypeSymbol type)
7453public BoundPropertyAccess(SyntaxNode syntax, BoundExpression? receiverOpt, ThreeState initialBindingReceiverIsSubjectToCloning, PropertySymbol propertySymbol, AccessorKind autoPropertyAccessorKind, LookupResultKind resultKind, TypeSymbol type, bool hasErrors = false)
7470public PropertySymbol PropertySymbol { get; }
7477public BoundPropertyAccess Update(BoundExpression? receiverOpt, ThreeState initialBindingReceiverIsSubjectToCloning, PropertySymbol propertySymbol, AccessorKind autoPropertyAccessorKind, LookupResultKind resultKind, TypeSymbol type)
7527public BoundIndexerAccess(SyntaxNode syntax, BoundExpression? receiverOpt, ThreeState initialBindingReceiverIsSubjectToCloning, PropertySymbol indexer, ImmutableArray<BoundExpression> arguments, ImmutableArray<string?> argumentNamesOpt, ImmutableArray<RefKind> argumentRefKindsOpt, bool expanded, AccessorKind accessorKind, ImmutableArray<int> argsToParamsOpt, BitVector defaultArguments, ImmutableArray<PropertySymbol> originalIndexersOpt, TypeSymbol type, bool hasErrors = false)
7551public PropertySymbol Indexer { get; }
7559public ImmutableArray<PropertySymbol> OriginalIndexersOpt { get; }
7564public BoundIndexerAccess Update(BoundExpression? receiverOpt, ThreeState initialBindingReceiverIsSubjectToCloning, PropertySymbol indexer, ImmutableArray<BoundExpression> arguments, ImmutableArray<string?> argumentNamesOpt, ImmutableArray<RefKind> argumentRefKindsOpt, bool expanded, AccessorKind accessorKind, ImmutableArray<int> argsToParamsOpt, BitVector defaultArguments, ImmutableArray<PropertySymbol> originalIndexersOpt, TypeSymbol type)
7668public BoundDynamicIndexerAccess(SyntaxNode syntax, BoundExpression receiver, ImmutableArray<BoundExpression> arguments, ImmutableArray<string?> argumentNamesOpt, ImmutableArray<RefKind> argumentRefKindsOpt, ImmutableArray<PropertySymbol> applicableIndexers, TypeSymbol type, bool hasErrors = false)
7689public ImmutableArray<PropertySymbol> ApplicableIndexers { get; }
7694public BoundDynamicIndexerAccess Update(BoundExpression receiver, ImmutableArray<BoundExpression> arguments, ImmutableArray<string?> argumentNamesOpt, ImmutableArray<RefKind> argumentRefKindsOpt, ImmutableArray<PropertySymbol> applicableIndexers, TypeSymbol type)
11109PropertySymbol property = this.VisitPropertySymbol(node.Property);
11451PropertySymbol? isCompleted = this.VisitPropertySymbol(node.IsCompleted);
12028PropertySymbol property = this.VisitPropertySymbol(node.Property);
12034PropertySymbol property = this.VisitPropertySymbol(node.Property);
12158ImmutableArray<PropertySymbol> properties = this.VisitSymbols<PropertySymbol>(node.Properties);
12327PropertySymbol property = this.VisitPropertySymbol(node.Property);
12388PropertySymbol propertySymbol = this.VisitPropertySymbol(node.PropertySymbol);
12402PropertySymbol indexer = this.VisitPropertySymbol(node.Indexer);
12403ImmutableArray<PropertySymbol> originalIndexersOpt = this.VisitSymbols<PropertySymbol>(node.OriginalIndexersOpt);
12429ImmutableArray<PropertySymbol> applicableIndexers = this.VisitSymbols<PropertySymbol>(node.ApplicableIndexers);
12724PropertySymbol property = GetUpdatedSymbol(node, node.Property);
13438PropertySymbol? isCompleted = GetUpdatedSymbol(node, node.IsCompleted);
14182PropertySymbol property = GetUpdatedSymbol(node, node.Property);
14189PropertySymbol property = GetUpdatedSymbol(node, node.Property);
14405ImmutableArray<PropertySymbol> properties = GetUpdatedArray(node, node.Properties);
14782PropertySymbol property = GetUpdatedSymbol(node, node.Property);
14942PropertySymbol propertySymbol = GetUpdatedSymbol(node, node.PropertySymbol);
14978PropertySymbol indexer = GetUpdatedSymbol(node, node.Indexer);
14979ImmutableArray<PropertySymbol> originalIndexersOpt = GetUpdatedArray(node, node.OriginalIndexersOpt);
15016ImmutableArray<PropertySymbol> applicableIndexers = GetUpdatedArray(node, node.ApplicableIndexers);
Symbols\Compilation_WellKnownMembers.cs (8)
251internal static Symbol? GetRuntimeMember(NamedTypeSymbol declaringType, in MemberDescriptor descriptor, SignatureComparer<MethodSymbol, FieldSymbol, PropertySymbol, TypeSymbol, ParameterSymbol> comparer, AssemblySymbol? accessWithinOpt)
257internal static Symbol? GetRuntimeMember(ImmutableArray<Symbol> members, in MemberDescriptor descriptor, SignatureComparer<MethodSymbol, FieldSymbol, PropertySymbol, TypeSymbol, ParameterSymbol> comparer, AssemblySymbol? accessWithinOpt)
336PropertySymbol property = (PropertySymbol)member;
1103internal class SpecialMembersSignatureComparer : SignatureComparer<MethodSymbol, FieldSymbol, PropertySymbol, TypeSymbol, ParameterSymbol>
1132protected override TypeSymbol GetPropertyType(PropertySymbol property)
1178protected override ImmutableArray<ParameterSymbol> GetParameters(PropertySymbol property)
1222protected override bool IsByRefProperty(PropertySymbol property)
Symbols\Source\SourceMemberContainerSymbol.cs (27)
1843else if (member is FieldSymbol { AssociatedSymbol: SourcePropertySymbolBase { PartialDefinitionPart: PropertySymbol definition } implementation } &&
2415var indexersBySignature = new Dictionary<PropertySymbol, PropertySymbol>(MemberSignatureComparer.DuplicateSourceComparer);
2427PropertySymbol indexer = (PropertySymbol)symbol;
2477PropertySymbol indexer,
2480Dictionary<PropertySymbol, PropertySymbol> indexersBySignature,
2514if (indexersBySignature.TryGetValue(indexer, out var prevIndexerBySignature))
2725var propertySymbol = (PropertySymbol)symbol;
4528PropertySymbol propertySymbol,
4613private static Location GetAccessorOrPropertyLocation(PropertySymbol propertySymbol, bool getNotSet)
4632private static bool ParametersMatchPropertyAccessor(PropertySymbol propertySymbol, bool getNotSet, ImmutableArray<ParameterSymbol> methodParams)
4803if (member is PropertySymbol property)
4843if (member is PropertySymbol { IsIndexer: true })
5112PropertySymbol? equalityContract = isRecordClass ? addEqualityContract() : null;
5138Debug.Assert(isRecordClass || !members.Any(m => m is PropertySymbol { GetMethod.IsEffectivelyReadOnly: false }));
5149Debug.Assert(positionalMembers.All(p => p is PropertySymbol or FieldSymbol));
5401ImmutableArray<PropertySymbol>.Empty);
5425else if (existingMember is PropertySymbol { IsStatic: false, GetMethod: { } } prop
5483MethodSymbol addGetHashCode(PropertySymbol? equalityContract)
5517PropertySymbol addEqualityContract()
5527ImmutableArray<PropertySymbol>.Empty);
5529PropertySymbol equalityContract;
5539equalityContract = (PropertySymbol)existingEqualityContractProperty;
5576MethodSymbol addThisEquals(PropertySymbol? equalityContract)
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeSymbol.cs (16)
327(PropertySymbol)compilation.GetWellKnownTypeMember(WellKnownMember.System_Collections_ICollection__Count)!,
332(PropertySymbol)compilation.GetWellKnownTypeMember(WellKnownMember.System_Collections_ICollection__IsSynchronized)!,
337(PropertySymbol)compilation.GetWellKnownTypeMember(WellKnownMember.System_Collections_ICollection__SyncRoot)!,
347(PropertySymbol)((MethodSymbol)compilation.GetWellKnownTypeMember(WellKnownMember.System_Collections_IList__get_Item)!).AssociatedSymbol,
353(PropertySymbol)compilation.GetWellKnownTypeMember(WellKnownMember.System_Collections_IList__IsFixedSize)!,
358(PropertySymbol)compilation.GetWellKnownTypeMember(WellKnownMember.System_Collections_IList__IsReadOnly)!,
405((PropertySymbol)compilation.GetSpecialTypeMember(SpecialMember.System_Collections_Generic_IReadOnlyCollection_T__Count)!).AsMember(iReadOnlyCollectionT),
410((PropertySymbol)((MethodSymbol)compilation.GetSpecialTypeMember(SpecialMember.System_Collections_Generic_IReadOnlyList_T__get_Item)!).AssociatedSymbol).AsMember(iReadOnlyListT),
416((PropertySymbol)compilation.GetSpecialTypeMember(SpecialMember.System_Collections_Generic_ICollection_T__Count)!).AsMember(iCollectionT),
421((PropertySymbol)compilation.GetSpecialTypeMember(SpecialMember.System_Collections_Generic_ICollection_T__IsReadOnly)!).AsMember(iCollectionT),
451((PropertySymbol)((MethodSymbol)compilation.GetSpecialTypeMember(SpecialMember.System_Collections_Generic_IList_T__get_Item)!).AssociatedSymbol).AsMember(iListT),
525var listMember = (PropertySymbol)containingType.GetFieldTypeMember(WellKnownMember.System_Collections_Generic_List_T__Count);
710var listMember = (PropertySymbol)((MethodSymbol)containingType.GetFieldTypeMember(WellKnownMember.System_Collections_Generic_List_T__get_Item)).AssociatedSymbol;
770static void addProperty(ArrayBuilder<Symbol> builder, PropertySymbol property)