2 writes to _property
Microsoft.CodeAnalysis.CSharp (2)
Symbols\Source\SourcePropertyAccessorSymbol.cs (2)
162_property = property; 195_property = property;
32 references to _property
Microsoft.CodeAnalysis.CSharp (32)
Symbols\Source\SourcePropertyAccessorSymbol.cs (32)
132=> _property.NotNullMembers.Concat(base.NotNullMembers); 135=> _property.NotNullWhenTrueMembers.Concat(base.NotNullWhenTrueMembers); 138=> _property.NotNullWhenFalseMembers.Concat(base.NotNullWhenFalseMembers); 197Debug.Assert(!_property.IsExpressionBodied, "Cannot have accessors in expression bodied lightweight properties"); 291PropertySymbol associatedProperty = _property; 310var propertyAccessibility = _property.DeclaredAccessibility; 318get { return _property; } 365if (_property.HasMaybeNull) 369if (_property.HasNotNull) 383return _property.TypeWithAnnotations; 442if (LocalDeclaredReadOnly || (_property.HasReadOnlyModifier && IsValidReadOnlyTarget)) 483!_property.IsStatic && 548else if (LocalDeclaredReadOnly && _property.HasReadOnlyModifier) 551diagnostics.Add(ErrorCode.ERR_InvalidPropertyReadOnlyMods, location, _property); 560diagnostics.Add(ErrorCode.ERR_InitInExtension, location, _property); 565diagnostics.Add(ErrorCode.ERR_InitCannotBeReadonly, location, _property); 602return _property.IsExplicitInterfaceImplementation; 613PropertySymbol? explicitlyImplementedPropertyOpt = IsExplicitInterfaceImplementation ? _property.ExplicitInterfaceImplementations.FirstOrDefault() : null; 662if (this._property.ContainingType is SourceMemberContainerTypeSymbol { AnyMemberHasAttributes: true }) 690PropertySymbol? explicitlyImplementedPropertyOpt = _property.ExplicitInterfaceImplementations.FirstOrDefault(); 701isGetMethod, isWinMdOutput: _property.IsCompilationOutputWinMdObj()); //Not name - could be indexer placeholder 703string? aliasQualifierOpt = _property.GetExplicitInterfaceSpecifier()?.Name.GetAliasQualifierOpt(); 721name = GetAccessorName(_property.SourceName, isGetMethod, isWinMdOutput: _property.IsCompilationOutputWinMdObj()); 763return !_property.HasSkipLocalsInitAttribute && base.AreLocalsZeroed; 770var propertyParameters = _property.Parameters; 808AddSynthesizedAttribute(ref attributes, SynthesizedAttributeData.Create(_property.MaybeNullAttributeIfExists)); 812AddSynthesizedAttribute(ref attributes, SynthesizedAttributeData.Create(_property.NotNullAttributeIfExists)); 819public sealed override MethodSymbol? PartialImplementationPart => _property is SourcePropertySymbol { IsPartialDefinition: true, OtherPartOfPartial: { } other } 823public sealed override MethodSymbol? PartialDefinitionPart => _property is SourcePropertySymbol { IsPartialImplementation: true, OtherPartOfPartial: { } other } 827internal bool IsPartialDefinition => _property is SourcePropertySymbol { IsPartialDefinition: true }; 828internal bool IsPartialImplementation => _property is SourcePropertySymbol { IsPartialImplementation: true };