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); 559diagnostics.Add(ErrorCode.ERR_InitInExtension, location, _property); 564diagnostics.Add(ErrorCode.ERR_InitCannotBeReadonly, location, _property); 601return _property.IsExplicitInterfaceImplementation; 612PropertySymbol? explicitlyImplementedPropertyOpt = IsExplicitInterfaceImplementation ? _property.ExplicitInterfaceImplementations.FirstOrDefault() : null; 661if (this._property.ContainingType is SourceMemberContainerTypeSymbol { AnyMemberHasAttributes: true }) 689PropertySymbol? explicitlyImplementedPropertyOpt = _property.ExplicitInterfaceImplementations.FirstOrDefault(); 700isGetMethod, isWinMdOutput: _property.IsCompilationOutputWinMdObj()); //Not name - could be indexer placeholder 702string? aliasQualifierOpt = _property.GetExplicitInterfaceSpecifier()?.Name.GetAliasQualifierOpt(); 720name = GetAccessorName(_property.SourceName, isGetMethod, isWinMdOutput: _property.IsCompilationOutputWinMdObj()); 762return !_property.HasSkipLocalsInitAttribute && base.AreLocalsZeroed; 769var propertyParameters = _property.Parameters; 803AddSynthesizedAttribute(ref attributes, SynthesizedAttributeData.Create(_property.MaybeNullAttributeIfExists)); 807AddSynthesizedAttribute(ref attributes, SynthesizedAttributeData.Create(_property.NotNullAttributeIfExists)); 814public sealed override MethodSymbol? PartialImplementationPart => _property is SourcePropertySymbol { IsPartialDefinition: true, OtherPartOfPartial: { } other } 818public sealed override MethodSymbol? PartialDefinitionPart => _property is SourcePropertySymbol { IsPartialImplementation: true, OtherPartOfPartial: { } other } 822internal bool IsPartialDefinition => _property is SourcePropertySymbol { IsPartialDefinition: true }; 823internal bool IsPartialImplementation => _property is SourcePropertySymbol { IsPartialImplementation: true };