Skip to content
This repository was archived by the owner on Nov 1, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions src/Common/src/CommandLine/CommandLineParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,12 @@ public string GetOption()
{
opt = opt.Substring(1);
}
#if !FXCORE
else
if (Path.DirectorySeparatorChar != '/' && opt.StartsWith("/"))
{
// For convenience, allow command line options starting with slash on Windows
opt = opt.Substring(1);
}
#endif
else
{
return "";
Expand Down Expand Up @@ -80,11 +78,8 @@ public void AppendExpandedPaths(Dictionary<string, string> dictionary, bool stri
{
foreach (string fileName in Directory.EnumerateFiles(directoryName, searchPattern))
{
#if !FXCORE
string fullFileName = Path.GetFullPath(fileName);
#else
string fullFileName = fileName;
#endif

string simpleName = Path.GetFileNameWithoutExtension(fileName);

if (dictionary.ContainsKey(simpleName))
Expand Down
28 changes: 28 additions & 0 deletions src/ILToNative/ILToNative.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.23107.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ILToNative", "src\ILToNative.csproj", "{DD5B6BAA-D41A-4A6E-9E7D-83060F394B10}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "repro", "repro\repro.csproj", "{FBA029C3-B184-4457-AEEC-38D0C2523067}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{DD5B6BAA-D41A-4A6E-9E7D-83060F394B10}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DD5B6BAA-D41A-4A6E-9E7D-83060F394B10}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DD5B6BAA-D41A-4A6E-9E7D-83060F394B10}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DD5B6BAA-D41A-4A6E-9E7D-83060F394B10}.Release|Any CPU.Build.0 = Release|Any CPU
{FBA029C3-B184-4457-AEEC-38D0C2523067}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{FBA029C3-B184-4457-AEEC-38D0C2523067}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FBA029C3-B184-4457-AEEC-38D0C2523067}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FBA029C3-B184-4457-AEEC-38D0C2523067}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
18 changes: 18 additions & 0 deletions src/ILToNative/repro/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

using System;

internal class Program
{
public virtual void foo()
{
}

private static void Main(string[] args)
{
var o = new Program();
o.foo();
}
}

22 changes: 22 additions & 0 deletions src/ILToNative/repro/project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"dependencies": {
"System.Runtime": "4.0.0",
"System.Resources.ResourceManager": "4.0.0",
"System.Reflection.Primitives": "4.0.0",
"System.Diagnostics.Debug": "4.0.0",
"System.IO": "4.0.0",
"System.IO.FileSystem": "4.0.0",
"System.Collections": "4.0.0",
"System.Text.Encoding": "4.0.0",
"System.Runtime.InteropServices": "4.0.10",
"System.Reflection": "4.0.0",
"System.Runtime.Extensions": "4.0.10",
"System.Threading": "4.0.0",
"System.Text.Encoding.Extensions": "4.0.0",
"System.Reflection.Extensions": "4.0.0",
"System.Console": "4.0.0-beta-*",
},
"frameworks": {
"dnxcore50": {}
}
}
Loading