10 references to IsPartialImplementation
Microsoft.CodeAnalysis.CSharp (7)
Symbols\MemberSymbolExtensions.cs (1)
802
or SourceEventSymbol {
IsPartialImplementation
: true }
Symbols\Source\SourceEventAccessorSymbol.cs (2)
244
public sealed override MethodSymbol? PartialDefinitionPart => _event is {
IsPartialImplementation
: true, OtherPartOfPartial: { } other }
250
internal bool IsPartialImplementation => _event.
IsPartialImplementation
;
Symbols\Source\SourceEventSymbol.cs (2)
921
internal SourceEventSymbol? SourcePartialDefinitionPart =>
IsPartialImplementation
? OtherPartOfPartial : null;
932
Debug.Assert(implementation.
IsPartialImplementation
);
Symbols\Source\SourceMemberContainerSymbol.cs (2)
4255
if (currentEvent.
IsPartialImplementation
&&
4256
(prevEvent.
IsPartialImplementation
|| (prevEvent.OtherPartOfPartial is { } otherImplementation && !ReferenceEquals(otherImplementation, currentEvent))))
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (3)
PartialEventsAndConstructorsTests.cs (3)
566
Assert.True(e2.
IsPartialImplementation
);
1928
Assert.False(e.
IsPartialImplementation
);
1932
Assert.True(e.SourcePartialImplementationPart!.
IsPartialImplementation
);