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