1 instantiation of SynthesizedBackingFieldSymbol
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Source\SourcePropertySymbolBase.cs (1)
822return new SynthesizedBackingFieldSymbol(this, fieldName, isReadOnly: isReadOnly, isStatic: this.IsStatic, hasInitializer: (_propertyFlags & Flags.HasInitializer) != 0);
22 references to SynthesizedBackingFieldSymbol
Microsoft.CodeAnalysis.CSharp (16)
Compiler\MethodBodySynthesizer.cs (1)
187var field = property.BackingField;
FlowAnalysis\AbstractFlowPass.cs (2)
574var backingField = (access.PropertySymbol as SourcePropertySymbolBase)?.BackingField; 2267var backingField = (property as SourcePropertySymbolBase)?.BackingField;
FlowAnalysis\DefiniteAssignment.cs (2)
1439var backingField = (property as SourcePropertySymbolBase)?.BackingField; 2727var backingField = (property as SourcePropertySymbolBase)?.BackingField;
FlowAnalysis\NullableWalker.cs (1)
2160if (symbol is SynthesizedBackingFieldSymbol { AssociatedSymbol: SourcePropertySymbolBase { UsesFieldKeyword: false } property })
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.cs (1)
289var backingField = autoProp.BackingField;
Symbols\Source\SourceMemberContainerSymbol.cs (1)
4585var backingField = property.DeclaredBackingField;
Symbols\Source\SourcePropertySymbol.cs (1)
810var backingField = definition.DeclaredBackingField ?? implementation.DeclaredBackingField;
Symbols\Source\SourcePropertySymbolBase.cs (7)
76private SynthesizedBackingFieldSymbol? _lazyDeclaredBackingField; 77private SynthesizedBackingFieldSymbol? _lazyMergedBackingField; 751internal SynthesizedBackingFieldSymbol BackingField 758var backingField = DeclaredBackingField; 775internal SynthesizedBackingFieldSymbol? DeclaredBackingField 788internal void SetMergedBackingField(SynthesizedBackingFieldSymbol? backingField) 794private SynthesizedBackingFieldSymbol CreateBackingField()
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
FieldKeywordTests.cs (1)
9781var field = property.BackingField;
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (5)
Symbols\DefaultInterfaceImplementationTests.cs (4)
3406var field1 = ((SourcePropertySymbolBase)p1).BackingField; 3474var field1 = ((SourcePropertySymbolBase)p1).BackingField; 3561var field1 = ((SourcePropertySymbolBase)p1).BackingField; 3625var field1 = ((SourcePropertySymbolBase)p1).BackingField;
Symbols\Source\RecordTests.cs (1)
164var backing = x.BackingField;