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 && 587else if (LocalDeclaredReadOnly && _property.HasReadOnlyModifier) 590diagnostics.Add(ErrorCode.ERR_InvalidPropertyReadOnlyMods, location, _property); 599diagnostics.Add(ErrorCode.ERR_InitInExtension, location, _property); 604diagnostics.Add(ErrorCode.ERR_InitCannotBeReadonly, location, _property); 641return _property.IsExplicitInterfaceImplementation; 652PropertySymbol? explicitlyImplementedPropertyOpt = IsExplicitInterfaceImplementation ? _property.ExplicitInterfaceImplementations.FirstOrDefault() : null; 701if (this._property.ContainingType is SourceMemberContainerTypeSymbol { AnyMemberHasAttributes: true }) 729PropertySymbol? explicitlyImplementedPropertyOpt = _property.ExplicitInterfaceImplementations.FirstOrDefault(); 740isGetMethod, isWinMdOutput: _property.IsCompilationOutputWinMdObj()); //Not name - could be indexer placeholder 742string? aliasQualifierOpt = _property.GetExplicitInterfaceSpecifier()?.Name.GetAliasQualifierOpt(); 760name = GetAccessorName(_property.SourceName, isGetMethod, isWinMdOutput: _property.IsCompilationOutputWinMdObj()); 802return !_property.HasSkipLocalsInitAttribute && base.AreLocalsZeroed; 809var propertyParameters = _property.Parameters; 847AddSynthesizedAttribute(ref attributes, SynthesizedAttributeData.Create(_property.MaybeNullAttributeIfExists)); 851AddSynthesizedAttribute(ref attributes, SynthesizedAttributeData.Create(_property.NotNullAttributeIfExists)); 858public sealed override MethodSymbol? PartialImplementationPart => _property is SourcePropertySymbol { IsPartialDefinition: true, OtherPartOfPartial: { } other } 862public sealed override MethodSymbol? PartialDefinitionPart => _property is SourcePropertySymbol { IsPartialImplementation: true, OtherPartOfPartial: { } other } 866internal bool IsPartialDefinition => _property is SourcePropertySymbol { IsPartialDefinition: true }; 867internal bool IsPartialImplementation => _property is SourcePropertySymbol { IsPartialImplementation: true };