1 instantiation of SourcePropertySymbol
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Source\SourcePropertySymbol.cs (1)
80return new SourcePropertySymbol(
38 references to SourcePropertySymbol
Microsoft.CodeAnalysis.CSharp (38)
Binder\Binder_Expressions.cs (2)
1460case MethodSymbol { AssociatedSymbol: SourcePropertySymbol property }: 1467if (contextualAttributeBinder is { AttributeTarget: MethodSymbol { AssociatedSymbol: SourcePropertySymbol property } })
Binder\BinderFactory.BinderFactoryVisitor.cs (5)
289var propertySymbol = GetPropertySymbol((BasePropertyDeclarationSyntax)propertyOrEventDecl, resultBinder); 417var propertySymbol = GetPropertySymbol(parent, resultBinder); 524private SourcePropertySymbol GetPropertySymbol(BasePropertyDeclarationSyntax basePropertyDeclarationSyntax, Binder outerBinder) 530return (SourcePropertySymbol)_memberOpt; 540return (SourcePropertySymbol)GetMemberSymbol(propertyName, basePropertyDeclarationSyntax.Span, container, SymbolKind.Property);
Compilation\InitializerSemanticModel.cs (2)
166var property = (SourcePropertySymbol)this.MemberSymbol;
Compilation\SyntaxTreeSemanticModel.cs (2)
1141var propertySymbol = GetDeclaredSymbol(propertyDecl).GetSymbol<SourcePropertySymbol>();
Symbols\MemberSymbolExtensions.cs (5)
725or SourcePropertySymbol { IsPartial: true } 737or SourcePropertySymbol { IsPartialImplementation: true } 749or SourcePropertySymbol { IsPartialDefinition: true } 763SourcePropertySymbol property => property.PartialImplementationPart, 775SourcePropertySymbol property => property.PartialDefinitionPart,
Symbols\PublicModel\PropertySymbol.cs (1)
117bool IPropertySymbol.IsPartialDefinition => (_underlying as SourcePropertySymbol)?.IsPartialDefinition ?? false;
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
476/// This method is analogous to <see cref="SourcePropertySymbol.PartialPropertyChecks" />.
Symbols\Source\SourcePropertyAccessorSymbol.cs (7)
30SourcePropertySymbol property, 67SourcePropertySymbol property, 141SourcePropertySymbol property, 814public sealed override MethodSymbol? PartialImplementationPart => _property is SourcePropertySymbol { IsPartialDefinition: true, OtherPartOfPartial: { } other } 818public sealed override MethodSymbol? PartialDefinitionPart => _property is SourcePropertySymbol { IsPartialImplementation: true, OtherPartOfPartial: { } other } 822internal bool IsPartialDefinition => _property is SourcePropertySymbol { IsPartialDefinition: true }; 823internal bool IsPartialImplementation => _property is SourcePropertySymbol { IsPartialImplementation: true };
Symbols\Source\SourcePropertySymbol.cs (10)
17private SourcePropertySymbol? _otherPartOfPartial; 19internal static SourcePropertySymbol Create(SourceMemberContainerTypeSymbol containingType, Binder bodyBinder, PropertyDeclarationSyntax syntax, BindingDiagnosticBag diagnostics) 26internal static SourcePropertySymbol Create(SourceMemberContainerTypeSymbol containingType, Binder bodyBinder, IndexerDeclarationSyntax syntax, BindingDiagnosticBag diagnostics) 32private static SourcePropertySymbol Create( 729private void PartialPropertyChecks(SourcePropertySymbol implementation, BindingDiagnosticBag diagnostics) 830internal SourcePropertySymbol? OtherPartOfPartial => _otherPartOfPartial; 836internal SourcePropertySymbol? SourcePartialDefinitionPart => IsPartialImplementation ? OtherPartOfPartial : null; 837internal SourcePropertySymbol? SourcePartialImplementationPart => IsPartialDefinition ? OtherPartOfPartial : null; 842internal static void InitializePartialPropertyParts(SourcePropertySymbol definition, SourcePropertySymbol implementation)
Symbols\Source\SourcePropertySymbolBase.cs (2)
106Debug.Assert((modifiers & DeclarationModifiers.Required) == 0 || this is SourcePropertySymbol); 763(this is SourcePropertySymbol { OtherPartOfPartial: { } otherPart } && (otherPart._propertyFlags & flags) != 0);
Symbols\Synthesized\SynthesizedBackingFieldSymbol.cs (1)
111var property = (_property as SourcePropertySymbol)?.SourcePartialDefinitionPart ?? _property;