4 writes to MemberGroup
Microsoft.CodeAnalysis.CSharp.Test.Utilities (4)
CompilationTestUtils.cs (4)
243
summary.
MemberGroup
= semanticModel.GetMemberGroup(expr);
252
summary.
MemberGroup
= semanticModel.GetMemberGroup(attribute);
269
summary.
MemberGroup
= semanticModel.GetMemberGroup(initializer);
280
summary.
MemberGroup
= semanticModel.GetMemberGroup(pattern);
19 references to MemberGroup
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (15)
Compilation\GetSemanticInfoTests.cs (1)
4302
Assert.True(info.
MemberGroup
.IsEmpty);
Compilation\SemanticModelGetSemanticInfoTests.cs (14)
410
Assert.Equal(0, semanticInfo.
MemberGroup
.Length);
1454
Utils.CheckISymbols(semanticInfo.
MemberGroup
,
1472
Utils.CheckISymbols(semanticInfo.
MemberGroup
);
1484
Utils.CheckISymbols(semanticInfo.
MemberGroup
);
1499
Utils.CheckISymbols(semanticInfo.
MemberGroup
,
1520
Utils.CheckISymbols(semanticInfo.
MemberGroup
);
1593
Utils.CheckISymbols(semanticInfo.
MemberGroup
, "object B.P1[object index]");
1608
Utils.CheckISymbols(semanticInfo.
MemberGroup
, "object B.P2[string index]");
1623
Utils.CheckISymbols(semanticInfo.
MemberGroup
, "object A.P3[object index]", "object A.P3[object x, object y]");
6687
Assert.Equal(1, semanticInfo.
MemberGroup
.Length);
6688
Assert.Equal("C..ctor()", semanticInfo.
MemberGroup
[0].ToTestDisplayString());
12367
Assert.Equal(0, semanticInfo.
MemberGroup
.Length);
12403
Assert.Equal(0, semanticInfo.
MemberGroup
.Length);
12435
Assert.Equal(0, semanticInfo.
MemberGroup
.Length);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (4)
CompilationTestUtils.cs (1)
222
get { return this.
MemberGroup
.WhereAsArray(s => s.Kind == SymbolKind.Method).SelectAsArray(s => (IMethodSymbol)s); }
FunctionPointerUtilities.cs (3)
184
Assert.Empty(semanticInfo.
MemberGroup
);
198
AssertEx.Equal(expectedSymbolCandidates, semanticInfo.
MemberGroup
.Select(s => s.ToTestDisplayString(includeNonNullable: false)));
202
Assert.Contains(semanticInfo.
MemberGroup
, actual => actual.ToTestDisplayString(includeNonNullable: false) == expectedSymbol);