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