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