40 references to GenerateMethod
Microsoft.CodeAnalysis.Razor.Workspaces (2)
CodeActions\CSharp\CSharpCodeActionProvider.cs (2)
46
RazorPredefinedCodeFixProviderNames.
GenerateMethod
,
53
RazorPredefinedCodeFixProviderNames.
GenerateMethod
,
Microsoft.VisualStudio.LanguageServices.Razor.UnitTests (21)
Cohost\CohostRoslynCodeActionTest.cs (4)
61
codeActionName: RazorPredefinedCodeFixProviderNames.
GenerateMethod
);
103
codeActionName: RazorPredefinedCodeFixProviderNames.
GenerateMethod
);
151
codeActionName: RazorPredefinedCodeFixProviderNames.
GenerateMethod
);
201
codeActionName: RazorPredefinedCodeFixProviderNames.
GenerateMethod
);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\CodeActions\GenerateMethodTests.cs (17)
44
await VerifyCodeActionAsync(input, expected, RazorPredefinedCodeFixProviderNames.
GenerateMethod
);
78
await VerifyCodeActionAsync(input, expected, RazorPredefinedCodeFixProviderNames.
GenerateMethod
);
106
await VerifyCodeActionAsync(input, expected, RazorPredefinedCodeFixProviderNames.
GenerateMethod
);
134
await VerifyCodeActionAsync(input, expected, RazorPredefinedCodeFixProviderNames.
GenerateMethod
);
164
await VerifyCodeActionAsync(input, expected, RazorPredefinedCodeFixProviderNames.
GenerateMethod
);
185
await VerifyCodeActionAsync(input, expected, RazorPredefinedCodeFixProviderNames.
GenerateMethod
);
209
await VerifyCodeActionAsync(input, expected, RazorPredefinedCodeFixProviderNames.
GenerateMethod
);
232
await VerifyCodeActionAsync(input, expected, RazorPredefinedCodeFixProviderNames.
GenerateMethod
);
259
await VerifyCodeActionAsync(input, expected, RazorPredefinedCodeFixProviderNames.
GenerateMethod
);
288
await VerifyCodeActionAsync(input, expected, RazorPredefinedCodeFixProviderNames.
GenerateMethod
);
312
await VerifyCodeActionAsync(input, expected, RazorPredefinedCodeFixProviderNames.
GenerateMethod
);
346
await VerifyCodeActionAsync(input, expected, RazorPredefinedCodeFixProviderNames.
GenerateMethod
);
374
await VerifyCodeActionAsync(input, expected, RazorPredefinedCodeFixProviderNames.
GenerateMethod
);
401
await VerifyCodeActionAsync(input, expected, RazorPredefinedCodeFixProviderNames.
GenerateMethod
, fileKind: RazorFileKind.Legacy);
425
await VerifyCodeActionAsync(input, expected, RazorPredefinedCodeFixProviderNames.
GenerateMethod
, fileKind: RazorFileKind.Legacy);
456
await VerifyCodeActionAsync(input, expected, RazorPredefinedCodeFixProviderNames.
GenerateMethod
, fileKind: RazorFileKind.Legacy);
483
await VerifyCodeActionAsync(input, expected, RazorPredefinedCodeFixProviderNames.
GenerateMethod
, fileKind: RazorFileKind.Legacy);
Microsoft.VisualStudioCode.RazorExtension.UnitTests (17)
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\CodeActions\GenerateMethodTests.cs (17)
44
await VerifyCodeActionAsync(input, expected, RazorPredefinedCodeFixProviderNames.
GenerateMethod
);
78
await VerifyCodeActionAsync(input, expected, RazorPredefinedCodeFixProviderNames.
GenerateMethod
);
106
await VerifyCodeActionAsync(input, expected, RazorPredefinedCodeFixProviderNames.
GenerateMethod
);
134
await VerifyCodeActionAsync(input, expected, RazorPredefinedCodeFixProviderNames.
GenerateMethod
);
164
await VerifyCodeActionAsync(input, expected, RazorPredefinedCodeFixProviderNames.
GenerateMethod
);
185
await VerifyCodeActionAsync(input, expected, RazorPredefinedCodeFixProviderNames.
GenerateMethod
);
209
await VerifyCodeActionAsync(input, expected, RazorPredefinedCodeFixProviderNames.
GenerateMethod
);
232
await VerifyCodeActionAsync(input, expected, RazorPredefinedCodeFixProviderNames.
GenerateMethod
);
259
await VerifyCodeActionAsync(input, expected, RazorPredefinedCodeFixProviderNames.
GenerateMethod
);
288
await VerifyCodeActionAsync(input, expected, RazorPredefinedCodeFixProviderNames.
GenerateMethod
);
312
await VerifyCodeActionAsync(input, expected, RazorPredefinedCodeFixProviderNames.
GenerateMethod
);
346
await VerifyCodeActionAsync(input, expected, RazorPredefinedCodeFixProviderNames.
GenerateMethod
);
374
await VerifyCodeActionAsync(input, expected, RazorPredefinedCodeFixProviderNames.
GenerateMethod
);
401
await VerifyCodeActionAsync(input, expected, RazorPredefinedCodeFixProviderNames.
GenerateMethod
, fileKind: RazorFileKind.Legacy);
425
await VerifyCodeActionAsync(input, expected, RazorPredefinedCodeFixProviderNames.
GenerateMethod
, fileKind: RazorFileKind.Legacy);
456
await VerifyCodeActionAsync(input, expected, RazorPredefinedCodeFixProviderNames.
GenerateMethod
, fileKind: RazorFileKind.Legacy);
483
await VerifyCodeActionAsync(input, expected, RazorPredefinedCodeFixProviderNames.
GenerateMethod
, fileKind: RazorFileKind.Legacy);