3 types derived from SourcePropertySymbolBase
Microsoft.CodeAnalysis.CSharp (3)
Symbols\Source\SourcePropertySymbol.cs (1)
14internal sealed class SourcePropertySymbol : SourcePropertySymbolBase
Symbols\Synthesized\Records\SynthesizedRecordEqualityContractProperty.cs (1)
14internal sealed class SynthesizedRecordEqualityContractProperty : SourcePropertySymbolBase
Symbols\Synthesized\Records\SynthesizedRecordPropertySymbol.cs (1)
11internal sealed class SynthesizedRecordPropertySymbol : SourcePropertySymbolBase
51 references to SourcePropertySymbolBase
Microsoft.CodeAnalysis.CSharp (39)
Binder\Binder_Statements.cs (2)
1774var sourceProperty = propertySymbol as SourcePropertySymbolBase;
Compiler\MethodBodySynthesizer.cs (2)
177var property = (SourcePropertySymbolBase)accessor.AssociatedSymbol;
Compiler\MethodCompiler.cs (5)
531var sourceProperty = member as SourcePropertySymbolBase; 847private void CompileSynthesizedSealedAccessors(SourcePropertySymbolBase sourceProperty, TypeCompilationState compilationState) 1930var property = sourceMethod.AssociatedSymbol as SourcePropertySymbolBase;
Compiler\SynthesizedMetadataCompiler.cs (2)
96var sourceProperty = symbol as SourcePropertySymbolBase;
Emitter\Model\PropertySymbolAdapter.cs (4)
44var sourceProperty = AdaptedPropertySymbol as SourcePropertySymbolBase; 276var sourceProperty = AdaptedPropertySymbol as SourcePropertySymbolBase;
FlowAnalysis\AbstractFlowPass.cs (2)
574var backingField = (access.PropertySymbol as SourcePropertySymbolBase)?.BackingField; 2094var backingField = (property as SourcePropertySymbolBase)?.BackingField;
FlowAnalysis\DefiniteAssignment.cs (3)
1063member = (propSymbol as SourcePropertySymbolBase)?.BackingField; 1372var backingField = (property as SourcePropertySymbolBase)?.BackingField; 2559var backingField = (property as SourcePropertySymbolBase)?.BackingField;
FlowAnalysis\NullableWalker.cs (1)
632var shouldForcePropertyAnalysis = !constructorEnforcesRequiredMembers && member is not SourcePropertySymbolBase { BackingField: not null } && member.IsRequired();
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.cs (2)
292var 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)
592else if (property is SourcePropertySymbolBase sourceProperty)
Symbols\Source\SourcePropertyAccessorSymbol.cs (2)
19private readonly SourcePropertySymbolBase _property; 178SourcePropertySymbolBase property,
Symbols\Source\SourcePropertySymbol.cs (1)
485Binder 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)
451else if (property is SourcePropertySymbolBase sourceProperty)
Symbols\Synthesized\Records\SynthesizedRecordEqualityContractProperty.cs (1)
129SourcePropertySymbolBase property,
Symbols\Synthesized\SynthesizedAccessorValueParameterSymbol.cs (2)
34if (ContainingSymbol is SourcePropertyAccessorSymbol propertyAccessor && propertyAccessor.AssociatedSymbol is SourcePropertySymbolBase property) 80if (ContainingSymbol is SourcePropertyAccessorSymbol propertyAccessor && propertyAccessor.AssociatedSymbol is SourcePropertySymbolBase property)
Symbols\Synthesized\SynthesizedBackingFieldSymbol.cs (2)
80private readonly SourcePropertySymbolBase _property; 84SourcePropertySymbolBase property,
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (8)
Semantics\RecordStructTests.cs (4)
2717var p = comp.GlobalNamespace.GetTypeMember("R").GetMember<SourcePropertySymbolBase>("P1"); 2720p = comp.GlobalNamespace.GetTypeMember("R").GetMember<SourcePropertySymbolBase>("P2"); 2723p = comp.GlobalNamespace.GetTypeMember("R").GetMember<SourcePropertySymbolBase>("P3");
Semantics\RecordTests.cs (4)
24812var p = comp.GlobalNamespace.GetTypeMember("R").GetMember<SourcePropertySymbolBase>("P1"); 24815p = comp.GlobalNamespace.GetTypeMember("R").GetMember<SourcePropertySymbolBase>("P2"); 24818p = comp.GlobalNamespace.GetTypeMember("R").GetMember<SourcePropertySymbolBase>("P3");
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Symbols\Source\RecordTests.cs (4)
151var x = (SourcePropertySymbolBase)c.GetProperty("x"); 185var y = (SourcePropertySymbolBase)c.GetProperty("y");