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