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