1 write to MethodKind
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\TrackingDiagnosticAnalyzer.cs (1)
40
MethodKind
= symbol is IMethodSymbol ? ((IMethodSymbol)symbol).MethodKind : (MethodKind?)null;
7 references to MethodKind
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (4)
Diagnostics\DiagnosticAnalyzerDriver\DiagnosticAnalyzerDriverTests.cs (4)
96
Assert.False(ideEngineAnalyzer.CallLog.Any(e => e.CallerName == method && e.
MethodKind
== MethodKind.DelegateInvoke && e.ReturnsVoid));
97
Assert.False(ideEngineAnalyzer.CallLog.Any(e => e.CallerName == method && e.
MethodKind
== MethodKind.DelegateInvoke && !e.ReturnsVoid));
109
Assert.False(compilerEngineAnalyzer.CallLog.Any(e => e.CallerName == method && e.
MethodKind
== MethodKind.DelegateInvoke && e.ReturnsVoid));
110
Assert.False(compilerEngineAnalyzer.CallLog.Any(e => e.CallerName == method && e.
MethodKind
== MethodKind.DelegateInvoke && !e.ReturnsVoid));
Microsoft.CodeAnalysis.Test.Utilities (3)
Diagnostics\TrackingDiagnosticAnalyzer.cs (3)
46
return CallerName + "(" + string.Join(", ", SymbolKind,
MethodKind
, SyntaxKind) + ")";
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();