2 writes to _property
Microsoft.CodeAnalysis.CSharp (2)
Symbols\Source\SourcePropertyAccessorSymbol.cs (2)
187_property = property; 220_property = property;
33 references to _property
Microsoft.CodeAnalysis.CSharp (33)
Symbols\Source\SourcePropertyAccessorSymbol.cs (33)
157=> _property.NotNullMembers.Concat(base.NotNullMembers); 160=> _property.NotNullWhenTrueMembers.Concat(base.NotNullWhenTrueMembers); 163=> _property.NotNullWhenFalseMembers.Concat(base.NotNullWhenFalseMembers); 222Debug.Assert(!_property.IsExpressionBodied, "Cannot have accessors in expression bodied lightweight properties"); 279if (_property is SynthesizedUnionValuePropertySymbol or SynthesizedRecordEqualityContractProperty or SynthesizedRecordPropertySymbol) 318PropertySymbol associatedProperty = _property; 337var propertyAccessibility = _property.DeclaredAccessibility; 345get { return _property; } 392if (_property.HasMaybeNull) 396if (_property.HasNotNull) 410return _property.TypeWithAnnotations; 473if (LocalDeclaredReadOnly || (_property.HasReadOnlyModifier && IsValidReadOnlyTarget)) 514!_property.IsStatic && 589else if (LocalDeclaredReadOnly && _property.HasReadOnlyModifier) 592diagnostics.Add(ErrorCode.ERR_InvalidPropertyReadOnlyMods, location, _property); 601diagnostics.Add(ErrorCode.ERR_InitInExtension, location, _property); 606diagnostics.Add(ErrorCode.ERR_InitCannotBeReadonly, location, _property); 643return _property.IsExplicitInterfaceImplementation; 654PropertySymbol? explicitlyImplementedPropertyOpt = IsExplicitInterfaceImplementation ? _property.ExplicitInterfaceImplementations.FirstOrDefault() : null; 703if (this._property.ContainingType is SourceMemberContainerTypeSymbol { AnyMemberHasAttributes: true }) 731PropertySymbol? explicitlyImplementedPropertyOpt = _property.ExplicitInterfaceImplementations.FirstOrDefault(); 742isGetMethod, isWinMdOutput: _property.IsCompilationOutputWinMdObj()); //Not name - could be indexer placeholder 744string? aliasQualifierOpt = _property.GetExplicitInterfaceSpecifier()?.Name.GetAliasQualifierOpt(); 762name = GetAccessorName(_property.SourceName, isGetMethod, isWinMdOutput: _property.IsCompilationOutputWinMdObj()); 804return !_property.HasSkipLocalsInitAttribute && base.AreLocalsZeroed; 811var propertyParameters = _property.Parameters; 849AddSynthesizedAttribute(ref attributes, SynthesizedAttributeData.Create(_property.MaybeNullAttributeIfExists)); 853AddSynthesizedAttribute(ref attributes, SynthesizedAttributeData.Create(_property.NotNullAttributeIfExists)); 860public sealed override MethodSymbol? PartialImplementationPart => _property is SourcePropertySymbol { IsPartialDefinition: true, OtherPartOfPartial: { } other } 864public sealed override MethodSymbol? PartialDefinitionPart => _property is SourcePropertySymbol { IsPartialImplementation: true, OtherPartOfPartial: { } other } 868internal bool IsPartialDefinition => _property is SourcePropertySymbol { IsPartialDefinition: true }; 869internal bool IsPartialImplementation => _property is SourcePropertySymbol { IsPartialImplementation: true };