1 write to CallerName
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\TrackingDiagnosticAnalyzer.cs (1)
37
CallerName
= callerName;
10 references to CallerName
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (8)
Diagnostics\DiagnosticAnalyzerDriver\DiagnosticAnalyzerDriverTests.cs (8)
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));
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));
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));
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 (2)
Diagnostics\TrackingDiagnosticAnalyzer.cs (2)
46
return
CallerName
+ "(" + string.Join(", ", SymbolKind, MethodKind, SyntaxKind) + ")";
76
var actualMembers = _callLog.Select(e => e.
CallerName
).Distinct();