3 types derived from SourcePropertySymbolBase
Microsoft.CodeAnalysis.CSharp (3)
Symbols\Source\SourcePropertySymbol.cs (1)
14
internal sealed class SourcePropertySymbol :
SourcePropertySymbolBase
Symbols\Synthesized\Records\SynthesizedRecordEqualityContractProperty.cs (1)
14
internal sealed class SynthesizedRecordEqualityContractProperty :
SourcePropertySymbolBase
Symbols\Synthesized\Records\SynthesizedRecordPropertySymbol.cs (1)
11
internal sealed class SynthesizedRecordPropertySymbol :
SourcePropertySymbolBase
51 references to SourcePropertySymbolBase
Microsoft.CodeAnalysis.CSharp (39)
Binder\Binder_Statements.cs (2)
1774
var
sourceProperty = propertySymbol as
SourcePropertySymbolBase
;
Compiler\MethodBodySynthesizer.cs (2)
177
var
property = (
SourcePropertySymbolBase
)accessor.AssociatedSymbol;
Compiler\MethodCompiler.cs (5)
531
var
sourceProperty = member as
SourcePropertySymbolBase
;
847
private void CompileSynthesizedSealedAccessors(
SourcePropertySymbolBase
sourceProperty, TypeCompilationState compilationState)
1930
var
property = sourceMethod.AssociatedSymbol as
SourcePropertySymbolBase
;
Compiler\SynthesizedMetadataCompiler.cs (2)
96
var
sourceProperty = symbol as
SourcePropertySymbolBase
;
Emitter\Model\PropertySymbolAdapter.cs (4)
44
var
sourceProperty = AdaptedPropertySymbol as
SourcePropertySymbolBase
;
276
var
sourceProperty = AdaptedPropertySymbol as
SourcePropertySymbolBase
;
FlowAnalysis\AbstractFlowPass.cs (2)
574
var backingField = (access.PropertySymbol as
SourcePropertySymbolBase
)?.BackingField;
2094
var backingField = (property as
SourcePropertySymbolBase
)?.BackingField;
FlowAnalysis\DefiniteAssignment.cs (3)
1063
member = (propSymbol as
SourcePropertySymbolBase
)?.BackingField;
1372
var backingField = (property as
SourcePropertySymbolBase
)?.BackingField;
2559
var backingField = (property as
SourcePropertySymbolBase
)?.BackingField;
FlowAnalysis\NullableWalker.cs (1)
632
var shouldForcePropertyAnalysis = !constructorEnforcesRequiredMembers && member is not
SourcePropertySymbolBase
{ BackingField: not null } && member.IsRequired();
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.cs (2)
292
var
autoProp = (
SourcePropertySymbolBase
)property.OriginalDefinition;
SymbolDisplay\SymbolDisplayVisitor.Members.cs (1)
122
(propertyOpt as Symbols.PublicModel.PropertySymbol)?.UnderlyingSymbol is
SourcePropertySymbolBase
sourceProperty)
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
592
else if (property is
SourcePropertySymbolBase
sourceProperty)
Symbols\Source\SourcePropertyAccessorSymbol.cs (2)
19
private readonly
SourcePropertySymbolBase
_property;
178
SourcePropertySymbolBase
property,
Symbols\Source\SourcePropertySymbol.cs (1)
485
Binder binder,
SourcePropertySymbolBase
owner, BaseParameterListSyntax? parameterSyntaxOpt, BindingDiagnosticBag diagnostics, bool addRefReadOnlyModifier)
Symbols\Source\SourcePropertySymbolBase.cs (5)
26
/// Condensed flags storing useful information about the <see cref="
SourcePropertySymbolBase
"/>
523
/// The method is called at the end of <see cref="
SourcePropertySymbolBase
"/> constructor.
524
/// The implementation may depend only on information available from the <see cref="
SourcePropertySymbolBase
"/> type.
531
/// The method is called at the end of <see cref="
SourcePropertySymbolBase
"/> constructor.
532
/// The implementation may depend only on information available from the <see cref="
SourcePropertySymbolBase
"/> type.
Symbols\SymbolExtensions.cs (1)
451
else if (property is
SourcePropertySymbolBase
sourceProperty)
Symbols\Synthesized\Records\SynthesizedRecordEqualityContractProperty.cs (1)
129
SourcePropertySymbolBase
property,
Symbols\Synthesized\SynthesizedAccessorValueParameterSymbol.cs (2)
34
if (ContainingSymbol is SourcePropertyAccessorSymbol propertyAccessor && propertyAccessor.AssociatedSymbol is
SourcePropertySymbolBase
property)
80
if (ContainingSymbol is SourcePropertyAccessorSymbol propertyAccessor && propertyAccessor.AssociatedSymbol is
SourcePropertySymbolBase
property)
Symbols\Synthesized\SynthesizedBackingFieldSymbol.cs (2)
80
private readonly
SourcePropertySymbolBase
_property;
84
SourcePropertySymbolBase
property,
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (8)
Semantics\RecordStructTests.cs (4)
2717
var
p = comp.GlobalNamespace.GetTypeMember("R").GetMember<
SourcePropertySymbolBase
>("P1");
2720
p = comp.GlobalNamespace.GetTypeMember("R").GetMember<
SourcePropertySymbolBase
>("P2");
2723
p = comp.GlobalNamespace.GetTypeMember("R").GetMember<
SourcePropertySymbolBase
>("P3");
Semantics\RecordTests.cs (4)
24812
var
p = comp.GlobalNamespace.GetTypeMember("R").GetMember<
SourcePropertySymbolBase
>("P1");
24815
p = comp.GlobalNamespace.GetTypeMember("R").GetMember<
SourcePropertySymbolBase
>("P2");
24818
p = comp.GlobalNamespace.GetTypeMember("R").GetMember<
SourcePropertySymbolBase
>("P3");
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Symbols\Source\RecordTests.cs (4)
151
var
x = (
SourcePropertySymbolBase
)c.GetProperty("x");
185
var
y = (
SourcePropertySymbolBase
)c.GetProperty("y");