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