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