13 references to IsPartialImplementation
Microsoft.CodeAnalysis.CSharp (7)
Symbols\MemberSymbolExtensions.cs (1)
811
or SourcePropertySymbol {
IsPartialImplementation
: true }
Symbols\Source\SourceMemberContainerSymbol.cs (2)
4193
if (currentProperty.
IsPartialImplementation
&&
4194
(prevProperty.
IsPartialImplementation
|| (prevProperty.OtherPartOfPartial is SourcePropertySymbol otherImplementation && (object)otherImplementation != currentProperty)))
Symbols\Source\SourcePropertyAccessorSymbol.cs (2)
854
public sealed override MethodSymbol? PartialDefinitionPart => _property is SourcePropertySymbol {
IsPartialImplementation
: true, OtherPartOfPartial: { } other }
859
internal bool IsPartialImplementation => _property is SourcePropertySymbol {
IsPartialImplementation
: true };
Symbols\Source\SourcePropertySymbol.cs (2)
854
internal SourcePropertySymbol? SourcePartialDefinitionPart =>
IsPartialImplementation
? OtherPartOfPartial : null;
863
Debug.Assert(implementation.
IsPartialImplementation
);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
FieldKeywordTests.cs (2)
9050
Assert.Equal(property.
IsPartialImplementation
, !otherPart.
IsPartialImplementation
);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Symbols\PartialPropertiesTests.cs (4)
119
Assert.True(prop.
IsPartialImplementation
);
399
Assert.True(duplicateProp.
IsPartialImplementation
);
770
Assert.True(members[0].
IsPartialImplementation
);
772
Assert.True(members[1].
IsPartialImplementation
);