2 writes to _property
Microsoft.CodeAnalysis.CSharp (2)
Symbols\Source\SourcePropertyAccessorSymbol.cs (2)
161_property = property; 194_property = property;
32 references to _property
Microsoft.CodeAnalysis.CSharp (32)
Symbols\Source\SourcePropertyAccessorSymbol.cs (32)
131=> _property.NotNullMembers.Concat(base.NotNullMembers); 134=> _property.NotNullWhenTrueMembers.Concat(base.NotNullWhenTrueMembers); 137=> _property.NotNullWhenFalseMembers.Concat(base.NotNullWhenFalseMembers); 196Debug.Assert(!_property.IsExpressionBodied, "Cannot have accessors in expression bodied lightweight properties"); 290PropertySymbol associatedProperty = _property; 309var propertyAccessibility = _property.DeclaredAccessibility; 317get { return _property; } 364if (_property.HasMaybeNull) 368if (_property.HasNotNull) 382return _property.TypeWithAnnotations; 441if (LocalDeclaredReadOnly || (_property.HasReadOnlyModifier && IsValidReadOnlyTarget)) 482!_property.IsStatic && 547else if (LocalDeclaredReadOnly && _property.HasReadOnlyModifier) 550diagnostics.Add(ErrorCode.ERR_InvalidPropertyReadOnlyMods, location, _property); 560diagnostics.Add(ErrorCode.ERR_InitCannotBeReadonly, location, _property); 597return _property.IsExplicitInterfaceImplementation; 608PropertySymbol? explicitlyImplementedPropertyOpt = IsExplicitInterfaceImplementation ? _property.ExplicitInterfaceImplementations.FirstOrDefault() : null; 682PropertySymbol? explicitlyImplementedPropertyOpt = _property.ExplicitInterfaceImplementations.FirstOrDefault(); 693isGetMethod, isWinMdOutput: _property.IsCompilationOutputWinMdObj()); //Not name - could be indexer placeholder 695string? aliasQualifierOpt = _property.GetExplicitInterfaceSpecifier()?.Name.GetAliasQualifierOpt(); 713name = GetAccessorName(_property.SourceName, isGetMethod, isWinMdOutput: _property.IsCompilationOutputWinMdObj()); 755return !_property.HasSkipLocalsInitAttribute && base.AreLocalsZeroed; 762var propertyParameters = _property.Parameters; 796AddSynthesizedAttribute(ref attributes, SynthesizedAttributeData.Create(_property.MaybeNullAttributeIfExists)); 800AddSynthesizedAttribute(ref attributes, SynthesizedAttributeData.Create(_property.NotNullAttributeIfExists)); 816foreach (var attributeData in _property.MemberNotNullAttributeIfExists) 824foreach (var attributeData in _property.MemberNotNullWhenAttributeIfExists) 834public sealed override MethodSymbol? PartialImplementationPart => _property is SourcePropertySymbol { IsPartialDefinition: true, OtherPartOfPartial: { } other } 838public sealed override MethodSymbol? PartialDefinitionPart => _property is SourcePropertySymbol { IsPartialImplementation: true, OtherPartOfPartial: { } other } 842internal bool IsPartialDefinition => _property is SourcePropertySymbol { IsPartialDefinition: true }; 843internal bool IsPartialImplementation => _property is SourcePropertySymbol { IsPartialImplementation: true };