13 references to IsPartialImplementation
Microsoft.CodeAnalysis.CSharp (8)
Symbols\MemberSymbolExtensions.cs (1)
557
return sms?.
IsPartialImplementation
== true;
Symbols\Source\SourceMemberContainerSymbol.cs (5)
2033
case (SourceOrdinaryMethodSymbol { IsPartialDefinition: true }, SourceOrdinaryMethodSymbol {
IsPartialImplementation
: true }):
2034
case (SourceOrdinaryMethodSymbol {
IsPartialImplementation
: true }, SourceOrdinaryMethodSymbol { IsPartialDefinition: true }):
3477
if (methodPart.
IsPartialImplementation
&&
3478
(prevPart.
IsPartialImplementation
|| (prevPart.OtherPartOfPartial is MethodSymbol otherImplementation && (object)otherImplementation != methodPart)))
3509
if (method.
IsPartialImplementation
&& method.OtherPartOfPartial is null)
Symbols\Source\SourceOrdinaryMethodSymbol.cs (2)
380
Debug.Assert(implementation.
IsPartialImplementation
);
437
return this.
IsPartialImplementation
? _otherPartOfPartial : null;
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Attributes\AttributeTests_WellKnownAttributes.cs (1)
1372
MethodSymbol partialImplPart = sourceMethod.
IsPartialImplementation
? sourceMethod : sourceMethod.PartialImplementationPart;
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\ExpressionBodiedMemberTests.cs (2)
50
Assert.False(gooDef.
IsPartialImplementation
);
57
Assert.True(gooImpl.
IsPartialImplementation
);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Symbols\Source\ExpressionBodiedMethodTests.cs (2)
41
Assert.False(gooDef.
IsPartialImplementation
);
48
Assert.True(gooImpl.
IsPartialImplementation
);