13 references to IsPartialDefinition
Microsoft.CodeAnalysis.CSharp (13)
Symbols\MemberSymbolExtensions.cs (1)
811
or SourcePropertySymbol {
IsPartialDefinition
: true }
Symbols\PublicModel\PropertySymbol.cs (1)
117
bool IPropertySymbol.IsPartialDefinition => (_underlying as SourcePropertySymbol)?.
IsPartialDefinition
?? false;
Symbols\Source\SourceMemberContainerSymbol.cs (5)
4047
property.
IsPartialDefinition
? ErrorCode.ERR_PartialPropertyMissingImplementation : ErrorCode.ERR_PartialPropertyMissingDefinition,
4134
else if (currentProperty.
IsPartialDefinition
&&
4135
(prevProperty.
IsPartialDefinition
|| (prevProperty.OtherPartOfPartial is SourcePropertySymbol otherDefinition && (object)otherDefinition != currentProperty)))
4155
var implementationAccessor = currentProperty.
IsPartialDefinition
? prevAccessor : currentAccessor;
4258
if (part1.
IsPartialDefinition
)
Symbols\Source\SourcePropertyAccessorSymbol.cs (2)
818
public sealed override MethodSymbol? PartialImplementationPart => _property is SourcePropertySymbol {
IsPartialDefinition
: true, OtherPartOfPartial: { } other }
826
internal bool IsPartialDefinition => _property is SourcePropertySymbol {
IsPartialDefinition
: true };
Symbols\Source\SourcePropertySymbol.cs (4)
718
if (
IsPartialDefinition
&& OtherPartOfPartial is { } implementation)
731
Debug.Assert(this.
IsPartialDefinition
);
837
internal SourcePropertySymbol? SourcePartialImplementationPart =>
IsPartialDefinition
? OtherPartOfPartial : null;
844
Debug.Assert(definition.
IsPartialDefinition
);