3 instantiations of InheritanceMarginItem
Microsoft.CodeAnalysis.Features (3)
InheritanceMargin\AbstractInheritanceMarginService_Helpers.cs (2)
235items.Add(new InheritanceMarginItem( 261items.Add(new InheritanceMarginItem(
InheritanceMargin\InheritanceMarginItem.cs (1)
80=> targetItems.IsEmpty ? null : new(lineNumber, topLevelDisplayText, displayTexts, glyph, Order(targetItems));
42 references to InheritanceMarginItem
IdeBenchmarks (2)
InheritanceMargin\BenchmarksHelpers.cs (2)
18public static async Task<ImmutableArray<InheritanceMarginItem>> GenerateInheritanceMarginItemsAsync( 22using var _ = ArrayBuilder<InheritanceMarginItem>.GetInstance(out var builder);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
InheritanceMargin\InheritanceMarginTests.cs (1)
125private static async Task VerifyInheritanceMemberAsync(TestWorkspace testWorkspace, TestInheritanceMemberItem expectedItem, InheritanceMarginItem actualItem)
Microsoft.CodeAnalysis.Features (28)
InheritanceMargin\AbstractInheritanceMarginService.cs (3)
42public async ValueTask<ImmutableArray<InheritanceMarginItem>> GetInheritanceMemberItemsAsync( 57var result = await remoteClient.TryInvokeAsync<IRemoteInheritanceMarginService, ImmutableArray<InheritanceMarginItem>>( 65return ImmutableArray<InheritanceMarginItem>.Empty;
InheritanceMargin\AbstractInheritanceMarginService_Helpers.cs (19)
45private static async ValueTask<ImmutableArray<InheritanceMarginItem>> GetSymbolInheritanceChainItemsAsync( 61using var _ = ArrayBuilder<InheritanceMarginItem>.GetInstance(out var builder); 119private async Task<ImmutableArray<InheritanceMarginItem>> GetInheritanceMarginItemsInProcessAsync( 133using var _ = ArrayBuilder<InheritanceMarginItem>.GetInstance(out var result); 151private async Task<ImmutableArray<InheritanceMarginItem>> GetGlobalImportsItemsAsync( 171return ImmutableArray<InheritanceMarginItem>.Empty; 180return ImmutableArray<InheritanceMarginItem>.Empty; 204return ImmutableArray<InheritanceMarginItem>.Empty; 218using var _1 = ArrayBuilder<InheritanceMarginItem>.GetInstance(out var items); 273ArrayBuilder<InheritanceMarginItem> builder, 333ArrayBuilder<InheritanceMarginItem> builder, 386private static async ValueTask<InheritanceMarginItem?> CreateInheritanceMemberItemForInterfaceAsync( 416return InheritanceMarginItem.CreateOrdered( 424private static async ValueTask<InheritanceMarginItem?> CreateInheritanceMemberItemForInterfaceMemberAsync( 441return InheritanceMarginItem.CreateOrdered( 449private static async ValueTask<InheritanceMarginItem?> CreateInheritanceItemForClassAndStructureAsync( 480return InheritanceMarginItem.CreateOrdered( 488private static async ValueTask<InheritanceMarginItem?> CreateInheritanceMemberItemForClassOrStructMemberAsync( 528return InheritanceMarginItem.CreateOrdered(
InheritanceMargin\IInheritanceMarginService.cs (1)
20ValueTask<ImmutableArray<InheritanceMarginItem>> GetInheritanceMemberItemsAsync(
InheritanceMargin\InheritanceMarginItem.cs (4)
14internal readonly struct InheritanceMarginItem : IEquatable<InheritanceMarginItem> 65=> obj is InheritanceMarginItem item && Equals(item); 67public bool Equals(InheritanceMarginItem other) 74public static InheritanceMarginItem? CreateOrdered(
InheritanceMargin\IRemoteInheritanceMarginService.cs (1)
15ValueTask<ImmutableArray<InheritanceMarginItem>> GetInheritanceMarginItemsAsync(
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Services\InheritanceMargin\RemoteInheritanceMarginService.cs (1)
28public ValueTask<ImmutableArray<InheritanceMarginItem>> GetInheritanceMarginItemsAsync(
Microsoft.VisualStudio.LanguageServices (10)
InheritanceMargin\InheritanceMarginHelpers.cs (3)
102public static ImmutableArray<MenuItemViewModel> CreateModelsForMarginItem(InheritanceMarginItem item) 138public static ImmutableArray<MenuItemViewModel> CreateMenuItemViewModelsForMultipleMembers(ImmutableArray<InheritanceMarginItem> members) 151InheritanceMarginItem item,
InheritanceMargin\InheritanceMarginTag.cs (3)
32public readonly ImmutableArray<InheritanceMarginItem> MembersOnLine; 39public InheritanceMarginTag(int lineNumber, ImmutableArray<InheritanceMarginItem> membersOnLine) 48foreach (var marginItem in membersOnLine)
InheritanceMargin\MarginGlyph\InheritanceMarginGlyphViewModel.cs (4)
44var member = _tag.MembersOnLine[0]; 50var member = _tag.MembersOnLine[0]; 123var member = tag.MembersOnLine[0]; 131var member = tag.MembersOnLine[0];