27 references to TestWithUseExpressionBody
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (27)
src\Analyzers\CSharp\Tests\UseExpressionBody\UseExpressionBodyForMethodsAnalyzerTests.cs (27)
105await TestWithUseExpressionBody(code, fixedCode); 130await TestWithUseExpressionBody(code, fixedCode); 155await TestWithUseExpressionBody(code, fixedCode); 180await TestWithUseExpressionBody(code, fixedCode); 308await TestWithUseExpressionBody(code, fixedCode); 336await TestWithUseExpressionBody(code, fixedCode); 368await TestWithUseExpressionBody(code, fixedCode); 393await TestWithUseExpressionBody(code, fixedCode); 418await TestWithUseExpressionBody(code, fixedCode); 447await TestWithUseExpressionBody(code, fixedCode); 480await TestWithUseExpressionBody(code, fixedCode); 517await TestWithUseExpressionBody(code, fixedCode); 540await TestWithUseExpressionBody(code, code); 577await TestWithUseExpressionBody(code, fixedCode); 614await TestWithUseExpressionBody(code, fixedCode); 651await TestWithUseExpressionBody(code, fixedCode); 671await TestWithUseExpressionBody(code, code); 691await TestWithUseExpressionBody(code, code); 716await TestWithUseExpressionBody(code, code); 757await TestWithUseExpressionBody(code, fixedCode); 798await TestWithUseExpressionBody(code, fixedCode); 839await TestWithUseExpressionBody(code, fixedCode); 862await TestWithUseExpressionBody(code, fixedCode, LanguageVersion.CSharp5); 875await TestWithUseExpressionBody(code, code, LanguageVersion.CSharp6); 895await TestWithUseExpressionBody(code, fixedCode, LanguageVersion.CSharp6); 909await TestWithUseExpressionBody(code, code, LanguageVersion.CSharp6); 941await TestWithUseExpressionBody(code, fixedCode, LanguageVersion.CSharp6);