forked from dotnet/vscode-csharp
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make hover test run by adding the file in the project (dotnet#2058)
* Added hover.cs file * Not requiring server restart
- Loading branch information
Showing
3 changed files
with
54 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using System; | ||
namespace Test | ||
{ | ||
class testissue | ||
{ | ||
///<summary>Checks if object is tagged with the tag.</summary> | ||
/// <param name="gameObject">The game object.</param> | ||
/// <param name="tagName">Name of the tag.</param> | ||
/// <returns>Returns <c>true</c> if object is tagged with tag.</returns> | ||
|
||
public static bool Compare(int gameObject,string tagName) | ||
{ | ||
return true; | ||
} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
test/integrationTests/testAssets/slnWithCsproj/src/app/hover.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using System; | ||
namespace Test | ||
{ | ||
class testissue | ||
{ | ||
///<summary>Checks if object is tagged with the tag.</summary> | ||
/// <param name="gameObject">The game object.</param> | ||
/// <param name="tagName">Name of the tag.</param> | ||
/// <returns>Returns <c>true</c> if object is tagged with tag.</returns> | ||
|
||
public static bool Compare(int gameObject,string tagName) | ||
{ | ||
return true; | ||
} | ||
} | ||
} |