42 references to SymbolCategory
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (42)
SymbolKey\SymbolKeyCompilationsTests.cs (30)
77
var originalSymbols = GetSourceSymbols(comp1,
SymbolCategory
.DeclaredType |
SymbolCategory
.DeclaredNamespace).OrderBy(s => s.Name);
78
var newSymbols = GetSourceSymbols(comp2,
SymbolCategory
.DeclaredType |
SymbolCategory
.DeclaredNamespace).OrderBy(s => s.Name);
107
var originalSymbols = GetSourceSymbols(comp1,
SymbolCategory
.DeclaredType |
SymbolCategory
.DeclaredNamespace).OrderBy(s => s.Name);
108
var newSymbols = GetSourceSymbols(comp2,
SymbolCategory
.DeclaredType |
SymbolCategory
.DeclaredNamespace).OrderBy(s => s.Name);
287
var originalSymbols = GetSourceSymbols(originalComp,
SymbolCategory
.DeclaredType |
SymbolCategory
.DeclaredNamespace).OrderBy(s => s.Name).ToArray();
288
var newSymbols = GetSourceSymbols(newComp,
SymbolCategory
.DeclaredType |
SymbolCategory
.DeclaredNamespace).OrderBy(s => s.Name).ToArray();
308
var originalSymbols = GetSourceSymbols(originalComp,
SymbolCategory
.DeclaredType |
SymbolCategory
.DeclaredNamespace).OrderBy(s => s.Name).ToArray();
309
var newSymbols = GetSourceSymbols(newComp,
SymbolCategory
.DeclaredType |
SymbolCategory
.DeclaredNamespace).OrderBy(s => s.Name).ToArray();
333
var originalSymbols = GetSourceSymbols(originalComp,
SymbolCategory
.DeclaredType |
SymbolCategory
.DeclaredNamespace).OrderBy(s => s.Name).ToArray();
334
var newSymbols = GetSourceSymbols(newComp,
SymbolCategory
.DeclaredType |
SymbolCategory
.DeclaredNamespace).OrderBy(s => s.Name).ToArray();
362
var originalSymbols = GetSourceSymbols(originalComp,
SymbolCategory
.DeclaredType |
SymbolCategory
.DeclaredNamespace).OrderBy(s => s.Name).ToArray();
363
var newSymbols = GetSourceSymbols(newComp,
SymbolCategory
.DeclaredType |
SymbolCategory
.DeclaredNamespace).OrderBy(s => s.Name).ToArray();
426
var originalSymbols = GetSourceSymbols(comp1,
SymbolCategory
.DeclaredType);
427
var newSymbols = GetSourceSymbols(comp2,
SymbolCategory
.DeclaredType);
512
var originalSymbols = GetSourceSymbols(comp1,
SymbolCategory
.NonTypeMember |
SymbolCategory
.Parameter)
515
var newSymbols = GetSourceSymbols(comp2,
SymbolCategory
.NonTypeMember |
SymbolCategory
.Parameter)
SymbolKey\SymbolKeyMetadataVsSourceTests.cs (7)
66
var originalSymbols = GetSourceSymbols(comp1,
SymbolCategory
.DeclaredType).OrderBy(s => s.Name).ToList();
152
var originalSymbols = GetSourceSymbols(comp1,
SymbolCategory
.NonTypeMember |
SymbolCategory
.Parameter).ToList();
339
var originals = GetSourceSymbols(comp20,
SymbolCategory
.NonTypeMember |
SymbolCategory
.Parameter);
423
var originals = GetSourceSymbols(comp20,
SymbolCategory
.NonTypeMember |
SymbolCategory
.Parameter);
SymbolKey\SymbolKeyTestBase.cs (5)
149
internal static IEnumerable<ISymbol> GetSourceSymbols(Microsoft.CodeAnalysis.CSharp.CSharpCompilation compilation,
SymbolCategory
category)
155
if ((category &
SymbolCategory
.DeclaredNamespace) != 0)
160
if ((category &
SymbolCategory
.DeclaredType) != 0)
166
if ((category &
SymbolCategory
.NonTypeMember) != 0)
174
if ((category &
SymbolCategory
.Parameter) != 0)