22 references to BackingField
Microsoft.CodeAnalysis.CSharp (22)
Binder\Binder_Expressions.cs (2)
1461field = property.BackingField; 1469field = property.BackingField;
Binder\Binder_Statements.cs (1)
1797if (propertySymbol is SourcePropertySymbolBase { BackingField: { } } sourceProperty)
Compilation\InitializerSemanticModel.cs (1)
167BoundFieldEqualsValue result = binder.BindFieldInitializer(property.BackingField, equalsValue, diagnostics);
Compilation\SyntaxTreeSemanticModel.cs (1)
1146GetFieldOrPropertyInitializerBinder(propertySymbol.BackingField, defaultOuter(), propertyDecl.Initializer));
Compiler\MethodBodySynthesizer.cs (1)
187var field = property.BackingField;
FlowAnalysis\AbstractFlowPass.cs (2)
574var backingField = (access.PropertySymbol as SourcePropertySymbolBase)?.BackingField; 2274var backingField = (property as SourcePropertySymbolBase)?.BackingField;
FlowAnalysis\DefiniteAssignment.cs (3)
1122member = (propSymbol as SourcePropertySymbolBase)?.BackingField; 1454var backingField = (property as SourcePropertySymbolBase)?.BackingField; 2754var backingField = (property as SourcePropertySymbolBase)?.BackingField;
FlowAnalysis\NullableWalker.cs (5)
674var shouldForcePropertyAnalysis = !constructorEnforcesRequiredMembers && member is not SourcePropertySymbolBase { BackingField: not null } && member.IsRequired(); 1020=> requiredMember is SourcePropertySymbolBase { BackingField: { } backingField } ? backingField : requiredMember; 1032var symbolAnnotations = property is SourcePropertySymbolBase { UsesFieldKeyword: true, BackingField: { } field } 2246else if (symbol is SourcePropertySymbolBase { UsesFieldKeyword: true, BackingField: { } backingField }) 10115var field = property.BackingField;
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.cs (1)
289var backingField = autoProp.BackingField;
Symbols\Source\SourceMemberContainerSymbol.cs (1)
1711definition.PartialImplementationPart == (object)implementation && implementation.BackingField != (object)member)
Symbols\Source\SourcePropertySymbol.cs (1)
197|| this.BackingField is not null);
Symbols\Source\SourcePropertySymbolBase.cs (2)
746if (BackingField is null) 1312_ = BackingField?.GetAttributes();
Symbols\Synthesized\SynthesizedBackingFieldSymbol.cs (1)
219NullableWalker.AnalyzeIfNeeded(binder, boundGetAccessor, boundGetAccessor.Syntax, diagnostics, getterNullResilienceData: (getAccessor, _property.BackingField, assumedNullableAnnotation));