2 instantiations of MemberAndDeclarationInfo
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (2)
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\TypeHelpers.cs (2)
186new MemberAndDeclarationInfo( 895return new MemberAndDeclarationInfo(member, displayName: member.Name, browsableState: null, info: DeclarationInfo.None, inheritanceLevel: 0, isGenerated: false, canFavorite: false, isFavorite: false);
27 references to MemberAndDeclarationInfo
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (27)
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\MemberExpansion.cs (15)
72var staticMembers = ArrayBuilder<MemberAndDeclarationInfo>.GetInstance(); 73var instanceMembers = ArrayBuilder<MemberAndDeclarationInfo>.GetInstance(); 76var allMembers = ArrayBuilder<MemberAndDeclarationInfo>.GetInstance(); 83var favoritesMembersByName = new Dictionary<string, MemberAndDeclarationInfo>(); 85foreach (var member in allMembers) 108var favoritesMembers = ArrayBuilder<MemberAndDeclarationInfo>.GetInstance(); 112if (favoritesMembersByName.TryGetValue(name, out var memberAndDeclarationInfo)) 217ArrayBuilder<MemberAndDeclarationInfo> allMembers, 224var publicMembers = ArrayBuilder<MemberAndDeclarationInfo>.GetInstance(); 225var nonPublicMembers = ArrayBuilder<MemberAndDeclarationInfo>.GetInstance(); 227foreach (var member in allMembers) 274private readonly MemberAndDeclarationInfo[] _members; 278private MemberExpansion(MemberAndDeclarationInfo[] members, CustomTypeInfoTypeArgumentMap customTypeInfoMap, bool containsFavorites = false) 319MemberAndDeclarationInfo member, 468MemberAndDeclarationInfo member,
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\RootHiddenExpansion.cs (4)
15MemberAndDeclarationInfo members, 21private readonly MemberAndDeclarationInfo _member; 24internal RootHiddenExpansion(MemberAndDeclarationInfo member, CustomTypeInfoTypeArgumentMap customTypeInfoMap) 49var emptyMember = memberValue.Type.GetMemberByName("Empty");
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\MemberAndDeclarationInfo.cs (4)
59public static readonly IComparer<MemberAndDeclarationInfo> Comparer = new MemberNameComparer(); 258private sealed class MemberNameComparer : IComparer<MemberAndDeclarationInfo> 260public int Compare(MemberAndDeclarationInfo x, MemberAndDeclarationInfo y)
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\TypeHelpers.cs (3)
32ArrayBuilder<MemberAndDeclarationInfo> includedMembers, 207includedMembers.Sort(MemberAndDeclarationInfo.Comparer); 892internal static MemberAndDeclarationInfo GetMemberByName(this DkmClrType type, string name)
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\ValueHelpers.cs (1)
42internal static DkmClrValue GetMemberValue(this DkmClrValue value, MemberAndDeclarationInfo member, DkmInspectionContext inspectionContext)