-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SLI-1207 Update to OmniSharp-Roslyn 1.39.10 (#184)
- Loading branch information
1 parent
faf1043
commit e0622fd
Showing
13 changed files
with
357 additions
and
397 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
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 |
---|---|---|
@@ -1,16 +1,16 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotNet8Project", "DotNet8Project\DotNet8Project.csproj", "{95A8DB40-57A1-4BAA-AEB5-EBF5E3FD6F15}" | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotNet8Project", "DotNet8Project\DotNet8Project.csproj", "{D426AF11-5650-4CEF-BE28-FBABCAFCB4DB}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{95A8DB40-57A1-4BAA-AEB5-EBF5E3FD6F15}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{95A8DB40-57A1-4BAA-AEB5-EBF5E3FD6F15}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{95A8DB40-57A1-4BAA-AEB5-EBF5E3FD6F15}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{95A8DB40-57A1-4BAA-AEB5-EBF5E3FD6F15}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{D426AF11-5650-4CEF-BE28-FBABCAFCB4DB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{D426AF11-5650-4CEF-BE28-FBABCAFCB4DB}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{D426AF11-5650-4CEF-BE28-FBABCAFCB4DB}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{D426AF11-5650-4CEF-BE28-FBABCAFCB4DB}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
EndGlobal |
2 changes: 1 addition & 1 deletion
2
its/src/test/projects/DotNet8Project/DotNet8Project/DotNet8Project.csproj
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
25 changes: 11 additions & 14 deletions
25
its/src/test/projects/DotNet8Project/DotNet8Project/Program.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 |
---|---|---|
@@ -1,17 +1,14 @@ | ||
// simple method | ||
void print() | ||
{ | ||
Console.WriteLine("Hello World"); | ||
} | ||
namespace DotNet8Project; | ||
|
||
bool HasContent(IEnumerable<string> strings) | ||
public static class Class1 | ||
{ | ||
strings = strings; | ||
return strings.Count() > 0; | ||
} | ||
|
||
// non-compliant example | ||
var start = DateTime.Now; | ||
print(); | ||
HasContent(new List<string>() { "a", "b" }); | ||
Console.WriteLine($"{(DateTime.Now - start).TotalMilliseconds} ms"); | ||
public static void Method2() | ||
{ | ||
Method(["", ""]); | ||
} | ||
static void Method(string[] list) | ||
{ | ||
; | ||
} | ||
} |
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
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
Oops, something went wrong.