20 references to BackingField
Microsoft.CodeAnalysis.CSharp (20)
Binder\Binder_Expressions.cs (2)
1454field = property.BackingField; 1462field = property.BackingField;
Binder\Binder_Statements.cs (1)
1785if (propertySymbol is SourcePropertySymbolBase { BackingField: { } } sourceProperty)
Compilation\InitializerSemanticModel.cs (1)
167BoundFieldEqualsValue result = binder.BindFieldInitializer(property.BackingField, equalsValue, diagnostics);
Compilation\SyntaxTreeSemanticModel.cs (1)
1143GetFieldOrPropertyInitializerBinder(propertySymbol.BackingField, defaultOuter(), propertyDecl.Initializer));
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 (3)
1107member = (propSymbol as SourcePropertySymbolBase)?.BackingField; 1439var backingField = (property as SourcePropertySymbolBase)?.BackingField; 2727var backingField = (property as SourcePropertySymbolBase)?.BackingField;
FlowAnalysis\NullableWalker.cs (4)
665var shouldForcePropertyAnalysis = !constructorEnforcesRequiredMembers && member is not SourcePropertySymbolBase { BackingField: not null } && member.IsRequired(); 1011=> requiredMember is SourcePropertySymbolBase { BackingField: { } backingField } ? backingField : requiredMember; 1023var symbolAnnotations = property is SourcePropertySymbolBase { UsesFieldKeyword: true, BackingField: { } field } 2224else if (symbol is SourcePropertySymbolBase { UsesFieldKeyword: true, BackingField: { } backingField })
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.cs (1)
289var backingField = autoProp.BackingField;
Symbols\Source\SourceMemberContainerSymbol.cs (1)
4603builder.AddInstanceInitializerForPositionalMembers(new FieldOrPropertyInitializer(property.BackingField, paramList.Parameters[param.Ordinal]));
Symbols\Source\SourcePropertySymbol.cs (1)
197|| this.BackingField is not null);
Symbols\Source\SourcePropertySymbolBase.cs (2)
723if (BackingField is null) 1293_ = BackingField?.GetAttributes();