1 write to ReturnsVoid
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\TrackingDiagnosticAnalyzer.cs (1)
41
ReturnsVoid
= symbol is IMethodSymbol ? ((IMethodSymbol)symbol).ReturnsVoid : false;
6 references to ReturnsVoid
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 (2)
Diagnostics\TrackingDiagnosticAnalyzer.cs (2)
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();