2 writes to _property
Microsoft.CodeAnalysis.CSharp (2)
Symbols\Source\SourcePropertyAccessorSymbol.cs (2)
153_property = property; 196_property = property;
30 references to _property
Microsoft.CodeAnalysis.CSharp (30)
Symbols\Source\SourcePropertyAccessorSymbol.cs (30)
135=> _property.NotNullMembers.Concat(base.NotNullMembers); 138=> _property.NotNullWhenTrueMembers.Concat(base.NotNullWhenTrueMembers); 141=> _property.NotNullWhenFalseMembers.Concat(base.NotNullWhenFalseMembers); 198Debug.Assert(!_property.IsExpressionBodied, "Cannot have accessors in expression bodied lightweight properties"); 281PropertySymbol associatedProperty = _property; 300var propertyAccessibility = _property.DeclaredAccessibility; 308get { return _property; } 343get { return _property.RefKind; } 365if (_property.HasMaybeNull) 369if (_property.HasNotNull) 383return _property.TypeWithAnnotations; 442if (LocalDeclaredReadOnly || (_property.HasReadOnlyModifier && IsValidReadOnlyTarget)) 483!_property.IsStatic && 546else if (LocalDeclaredReadOnly && _property.HasReadOnlyModifier) 549diagnostics.Add(ErrorCode.ERR_InvalidPropertyReadOnlyMods, location, _property); 559diagnostics.Add(ErrorCode.ERR_InitCannotBeReadonly, location, _property); 596return _property.IsExplicitInterfaceImplementation; 607PropertySymbol? explicitlyImplementedPropertyOpt = IsExplicitInterfaceImplementation ? _property.ExplicitInterfaceImplementations.FirstOrDefault() : null; 659PropertySymbol? explicitlyImplementedPropertyOpt = _property.ExplicitInterfaceImplementations.FirstOrDefault(); 670isGetMethod, isWinMdOutput: _property.IsCompilationOutputWinMdObj()); //Not name - could be indexer placeholder 672string? aliasQualifierOpt = _property.GetExplicitInterfaceSpecifier()?.Name.GetAliasQualifierOpt(); 690name = GetAccessorName(_property.SourceName, isGetMethod, isWinMdOutput: _property.IsCompilationOutputWinMdObj()); 732return !_property.HasSkipLocalsInitAttribute && base.AreLocalsZeroed; 739var propertyParameters = _property.Parameters; 760parameters.Add(new SynthesizedAccessorValueParameterSymbol(this, _property.TypeWithAnnotations, parameters.Count)); 773AddSynthesizedAttribute(ref attributes, new SynthesizedAttributeData(_property.MaybeNullAttributeIfExists)); 777AddSynthesizedAttribute(ref attributes, new SynthesizedAttributeData(_property.NotNullAttributeIfExists)); 793foreach (var attributeData in _property.MemberNotNullAttributeIfExists) 801foreach (var attributeData in _property.MemberNotNullWhenAttributeIfExists)