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)
3665property.IsPartialDefinition ? ErrorCode.ERR_PartialPropertyMissingImplementation : ErrorCode.ERR_PartialPropertyMissingDefinition, 3710else if (currentProperty.IsPartialDefinition && 3711(prevProperty.IsPartialDefinition || (prevProperty.OtherPartOfPartial is SourcePropertySymbol otherDefinition && (object)otherDefinition != currentProperty))) 3733var implementationAccessor = currentProperty.IsPartialDefinition ? prevAccessor : currentAccessor; 3791if (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);