1 write to SymbolKind
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\TrackingDiagnosticAnalyzer.cs (1)
39
SymbolKind
= symbol == null ? (SymbolKind?)null : symbol.Kind;
9 references to SymbolKind
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (4)
Diagnostics\DiagnosticAnalyzerDriver\DiagnosticAnalyzerDriverTests.cs (4)
98
Assert.True(ideEngineAnalyzer.CallLog.Any(e => e.CallerName == method && e.
SymbolKind
== SymbolKind.NamedType));
99
Assert.False(ideEngineAnalyzer.CallLog.Any(e => e.CallerName == method && e.
SymbolKind
== SymbolKind.Property));
111
Assert.True(compilerEngineAnalyzer.CallLog.Any(e => e.CallerName == method && e.
SymbolKind
== SymbolKind.NamedType));
112
Assert.False(compilerEngineAnalyzer.CallLog.Any(e => e.CallerName == method && e.
SymbolKind
== SymbolKind.Property));
Microsoft.CodeAnalysis.Test.Utilities (5)
Diagnostics\TrackingDiagnosticAnalyzer.cs (5)
46
return CallerName + "(" + string.Join(", ",
SymbolKind
, MethodKind, SyntaxKind) + ")";
87
var actualSymbolKinds = _callLog.Where(a => FilterByAbstractName(a, "Symbol")).Where(e => e.
SymbolKind
.HasValue).Select(e => e.
SymbolKind
.Value).Distinct();
145
.Select(e => new { SymbolKind = e.
SymbolKind
.Value, MethodKind = e.MethodKind ?? InvalidMethodKind, e.ReturnsVoid }).Distinct();
147
.Select(e => new { SymbolKind = e.
SymbolKind
.Value, MethodKind = e.MethodKind ?? InvalidMethodKind, e.ReturnsVoid }).Distinct();