File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/cli/src/languagePlugins/csharp/usingResolver Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ describe("UsingResolver", () => {
1616 const resolver = new CSharpUsingResolver ( nsmapper ) ;
1717
1818 test ( "Should resolve all use cases of 'using'" , ( ) => {
19- const usingDirectives = resolver . resolveUsingDirectives ( "Usage.cs" ) ;
19+ const usingDirectives = resolver . parseUsingDirectives ( "Usage.cs" ) ;
2020 expect ( usingDirectives ) . toMatchObject ( [
2121 {
2222 type : GLOBAL_USING ,
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ export class CSharpUsingResolver {
2828 }
2929
3030 // Parses the file and returns all using directives.
31- public resolveUsingDirectives ( filepath : string ) : UsingDirective [ ] {
31+ public parseUsingDirectives ( filepath : string ) : UsingDirective [ ] {
3232 const file = this . nsMapper . getFile ( filepath ) ;
3333 if ( ! file ) {
3434 return [ ] ;
You can’t perform that action at this time.
0 commit comments