13 references to IsPartialDefinition
Microsoft.CodeAnalysis.CSharp (13)
Symbols\MemberSymbolExtensions.cs (1)
577
or SourcePropertySymbol {
IsPartialDefinition
: true }
Symbols\PublicModel\PropertySymbol.cs (1)
117
bool IPropertySymbol.IsPartialDefinition => (_underlying as SourcePropertySymbol)?.
IsPartialDefinition
?? false;
Symbols\Source\SourceMemberContainerSymbol.cs (5)
3744
property.
IsPartialDefinition
? ErrorCode.ERR_PartialPropertyMissingImplementation : ErrorCode.ERR_PartialPropertyMissingDefinition,
3831
else if (currentProperty.
IsPartialDefinition
&&
3832
(prevProperty.
IsPartialDefinition
|| (prevProperty.OtherPartOfPartial is SourcePropertySymbol otherDefinition && (object)otherDefinition != currentProperty)))
3852
var implementationAccessor = currentProperty.
IsPartialDefinition
? prevAccessor : currentAccessor;
3955
if (part1.
IsPartialDefinition
)
Symbols\Source\SourcePropertyAccessorSymbol.cs (2)
837
public sealed override MethodSymbol? PartialImplementationPart => _property is SourcePropertySymbol {
IsPartialDefinition
: true, OtherPartOfPartial: { } other }
845
internal bool IsPartialDefinition => _property is SourcePropertySymbol {
IsPartialDefinition
: true };
Symbols\Source\SourcePropertySymbol.cs (4)
673
if (
IsPartialDefinition
&& OtherPartOfPartial is { } implementation)
686
Debug.Assert(this.
IsPartialDefinition
);
792
internal SourcePropertySymbol? SourcePartialImplementationPart =>
IsPartialDefinition
? OtherPartOfPartial : null;
799
Debug.Assert(definition.
IsPartialDefinition
);