13 references to IsPartialDefinition
Microsoft.CodeAnalysis.CSharp (13)
Symbols\MemberSymbolExtensions.cs (1)
571or SourcePropertySymbol { IsPartialDefinition: true }
Symbols\PublicModel\PropertySymbol.cs (1)
117bool IPropertySymbol.IsPartialDefinition => (_underlying as SourcePropertySymbol)?.IsPartialDefinition ?? false;
Symbols\Source\SourceMemberContainerSymbol.cs (5)
3679property.IsPartialDefinition ? ErrorCode.ERR_PartialPropertyMissingImplementation : ErrorCode.ERR_PartialPropertyMissingDefinition, 3724else if (currentProperty.IsPartialDefinition && 3725(prevProperty.IsPartialDefinition || (prevProperty.OtherPartOfPartial is SourcePropertySymbol otherDefinition && (object)otherDefinition != currentProperty))) 3747var implementationAccessor = currentProperty.IsPartialDefinition ? prevAccessor : currentAccessor; 3805if (part1.IsPartialDefinition)
Symbols\Source\SourcePropertyAccessorSymbol.cs (2)
834public sealed override MethodSymbol? PartialImplementationPart => _property is SourcePropertySymbol { IsPartialDefinition: true, OtherPartOfPartial: { } other } 842internal bool IsPartialDefinition => _property is SourcePropertySymbol { IsPartialDefinition: true };
Symbols\Source\SourcePropertySymbol.cs (4)
671if (IsPartialDefinition && OtherPartOfPartial is { } implementation) 684Debug.Assert(this.IsPartialDefinition); 790internal SourcePropertySymbol? SourcePartialImplementationPart => IsPartialDefinition ? OtherPartOfPartial : null; 797Debug.Assert(definition.IsPartialDefinition);