12 references to LambdaExpressionDescriptor
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (5)
Diagnostics\OperationAnalyzerTests.cs (5)
1433Diagnostic(LambdaTestAnalyzer.LambdaExpressionDescriptor.Id, "input => { }").WithLocation(8, 31), 1434Diagnostic(LambdaTestAnalyzer.LambdaExpressionDescriptor.Id, "input => input++").WithLocation(9, 31), 1435Diagnostic(LambdaTestAnalyzer.LambdaExpressionDescriptor.Id, "input => { input++; input++; if (input > 0) return true; return false; }").WithLocation(10, 32), 1437Diagnostic(LambdaTestAnalyzer.LambdaExpressionDescriptor.Id, "(s, e) => { }").WithLocation(22, 42), 1438Diagnostic(LambdaTestAnalyzer.LambdaExpressionDescriptor.Id, "(s, e) => { int i = 0; i++; i++; i++; }").WithLocation(23, 19),
Microsoft.CodeAnalysis.Test.Utilities (2)
Diagnostics\OperationTestAnalyzer.cs (2)
1304ImmutableArray.Create(LambdaExpressionDescriptor, 1314operationContext.ReportDiagnostic(Diagnostic.Create(LambdaExpressionDescriptor, operationContext.Operation.Syntax.GetLocation()));
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (5)
Diagnostics\OperationAnalyzerTests.vb (5)
1379Diagnostic(LambdaTestAnalyzer.LambdaExpressionDescriptor.Id, "Sub() 1381Diagnostic(LambdaTestAnalyzer.LambdaExpressionDescriptor.Id, "Sub(s As Object, a As EventArgs) 1383Diagnostic(LambdaTestAnalyzer.LambdaExpressionDescriptor.Id, "Sub() 1386Diagnostic(LambdaTestAnalyzer.LambdaExpressionDescriptor.Id, "Sub(s As Object, a As EventArgs) 1398Diagnostic(LambdaTestAnalyzer.LambdaExpressionDescriptor.Id, "Function(value As Integer)