9 references to IsPartialDefinition
Microsoft.CodeAnalysis.CSharp (9)
Symbols\MemberSymbolExtensions.cs (1)
825
or SourceConstructorSymbol {
IsPartialDefinition
: true }
Symbols\Source\SourceConstructorSymbol.cs (4)
77
if (
IsPartialDefinition
&& syntax.Initializer is { } initializer)
302
Debug.Assert(this.
IsPartialDefinition
);
367
internal SourceConstructorSymbol? SourcePartialImplementationPart =>
IsPartialDefinition
? OtherPartOfPartial : null;
375
Debug.Assert(definition.
IsPartialDefinition
);
Symbols\Source\SourceMemberContainerSymbol.cs (4)
4262
constructor.
IsPartialDefinition
? ErrorCode.ERR_PartialMemberMissingImplementation : ErrorCode.ERR_PartialMemberMissingDefinition,
4385
else if (currentConstructor.
IsPartialDefinition
&&
4386
(prevConstructor.
IsPartialDefinition
|| (prevConstructor.OtherPartOfPartial is { } otherDefinition && !ReferenceEquals(otherDefinition, currentConstructor))))
4487
if (part1.
IsPartialDefinition
)