9 references to OtherPartOfPartial
Microsoft.CodeAnalysis.CSharp (9)
Symbols\Source\SourceEventAccessorSymbol.cs (2)
240
public sealed override MethodSymbol? PartialImplementationPart => _event is { IsPartialDefinition: true,
OtherPartOfPartial
: { } other }
244
public sealed override MethodSymbol? PartialDefinitionPart => _event is { IsPartialImplementation: true,
OtherPartOfPartial
: { } other }
Symbols\Source\SourceEventSymbol.cs (4)
846
if (IsPartialDefinition &&
OtherPartOfPartial
is { } implementation)
864
Debug.Assert(ReferenceEquals(this.
OtherPartOfPartial
, implementation));
920
internal SourceEventSymbol? SourcePartialDefinitionPart => IsPartialImplementation ?
OtherPartOfPartial
: null;
922
internal SourceEventSymbol? SourcePartialImplementationPart => IsPartialDefinition ?
OtherPartOfPartial
: null;
Symbols\Source\SourceMemberContainerSymbol.cs (3)
3761
if (ev.
OtherPartOfPartial
is null)
3896
(prevEvent.IsPartialImplementation || (prevEvent.
OtherPartOfPartial
is { } otherImplementation && !ReferenceEquals(otherImplementation, currentEvent))))
3902
(prevEvent.IsPartialDefinition || (prevEvent.
OtherPartOfPartial
is { } otherDefinition && !ReferenceEquals(otherDefinition, currentEvent))))