17 references to TestWithUseExpressionBody
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (17)
UseExpressionBodyForMethodsAnalyzerTests.cs (17)
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, fixedCode, LanguageVersion.CSharp5);
553await TestWithUseExpressionBody(code, code, LanguageVersion.CSharp6);
573await TestWithUseExpressionBody(code, fixedCode, LanguageVersion.CSharp6);
587await TestWithUseExpressionBody(code, code, LanguageVersion.CSharp6);
619await TestWithUseExpressionBody(code, fixedCode, LanguageVersion.CSharp6);