13 references to IsPartialImplementation
Microsoft.CodeAnalysis.CSharp (7)
Symbols\MemberSymbolExtensions.cs (1)
799
or SourcePropertySymbol {
IsPartialImplementation
: true }
Symbols\Source\SourceMemberContainerSymbol.cs (2)
4186
if (currentProperty.
IsPartialImplementation
&&
4187
(prevProperty.
IsPartialImplementation
|| (prevProperty.OtherPartOfPartial is SourcePropertySymbol otherImplementation && (object)otherImplementation != currentProperty)))
Symbols\Source\SourcePropertyAccessorSymbol.cs (2)
823
public sealed override MethodSymbol? PartialDefinitionPart => _property is SourcePropertySymbol {
IsPartialImplementation
: true, OtherPartOfPartial: { } other }
828
internal bool IsPartialImplementation => _property is SourcePropertySymbol {
IsPartialImplementation
: true };
Symbols\Source\SourcePropertySymbol.cs (2)
834
internal SourcePropertySymbol? SourcePartialDefinitionPart =>
IsPartialImplementation
? OtherPartOfPartial : null;
843
Debug.Assert(implementation.
IsPartialImplementation
);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
FieldKeywordTests.cs (2)
8925
Assert.Equal(property.
IsPartialImplementation
, !otherPart.
IsPartialImplementation
);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Symbols\PartialPropertiesTests.cs (4)
119
Assert.True(prop.
IsPartialImplementation
);
372
Assert.True(duplicateProp.
IsPartialImplementation
);
743
Assert.True(members[0].
IsPartialImplementation
);
745
Assert.True(members[1].
IsPartialImplementation
);