9 references to IsAutoPropertyWithGetAccessor
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder_Statements.cs (1)
1778
sourceProperty.
IsAutoPropertyWithGetAccessor
&&
Compiler\MethodCompiler.cs (1)
1931
if (property is not null && property.
IsAutoPropertyWithGetAccessor
)
FlowAnalysis\NullableWalker.cs (1)
1042
=> requiredMember is SourcePropertySymbol {
IsAutoPropertyWithGetAccessor
: true } prop ? prop.BackingField : requiredMember;
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.cs (1)
293
Debug.Assert(autoProp.
IsAutoPropertyWithGetAccessor
,
Symbols\Source\SourcePropertySymbolBase.cs (3)
676
if (
IsAutoPropertyWithGetAccessor
)
1039
=>
IsAutoPropertyWithGetAccessor
1530
else if (this.
IsAutoPropertyWithGetAccessor
&& type.IsRefLikeType && (this.IsStatic || !this.ContainingType.IsRefLikeType))
Symbols\Synthesized\SynthesizedBackingFieldSymbol.cs (1)
152
if (!allAttributeSyntaxNodes.IsEmpty && _property.
IsAutoPropertyWithGetAccessor
)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Emit\EmitMetadataTests.cs (1)
1297
Assert.True(sourceProperty.
IsAutoPropertyWithGetAccessor
);