-
-
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.
Merge pull request #12 from mob-sakai/develop
Release 3.5.0
- Loading branch information
Showing
13,285 changed files
with
155,515 additions
and
66,062 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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
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,56 @@ | ||
using System; | ||
|
||
[assembly: System.Runtime.CompilerServices.IgnoresAccessChecksToAttribute("PrivateLibrary")] | ||
namespace PrivateLibrary.Bridges | ||
{ | ||
/// <summary> | ||
/// Internal Class Bridge | ||
/// </summary> | ||
public class InternalClassBridge | ||
{ | ||
/// <summary> | ||
/// private String Field | ||
/// </summary> | ||
public string privateStringField = new InternalClass().privateStringField; | ||
|
||
/// <summary> | ||
/// private Static String Field | ||
/// </summary> | ||
public static string privateStaticStringField = InternalClass.privateStaticStringField; | ||
|
||
/// <summary> | ||
/// Public Static Method | ||
/// </summary> | ||
public static string PublicStaticMethod() | ||
{ | ||
return InternalClass.PublicStaticMethod(); | ||
} | ||
|
||
|
||
/// <summary> | ||
/// Private Static Method | ||
/// </summary> | ||
public static string PrivateStaticMethod() | ||
{ | ||
return InternalClass.PrivateStaticMethod(); | ||
} | ||
|
||
|
||
/// <summary> | ||
/// Public Method | ||
/// </summary> | ||
public string PublicMethod() | ||
{ | ||
return new InternalClass().PublicMethod(); | ||
} | ||
|
||
|
||
/// <summary> | ||
/// Private Method | ||
/// </summary> | ||
public string PrivateMethod() | ||
{ | ||
return new InternalClass().PrivateMethod(); | ||
} | ||
} | ||
} |
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,15 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\PrivateLibrary\PrivateLibrary.csproj" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="OpenSesame.Net.Compilers.Toolset" Version="3.5.0"> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
<PrivateAssets>all</PrivateAssets> | ||
</PackageReference> | ||
</ItemGroup> | ||
</Project> |
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,13 +1,18 @@ | ||
using System; | ||
using PrivateLibrary.Bridges; | ||
|
||
[assembly: System.Runtime.CompilerServices.IgnoresAccessChecksToAttribute("PrivateLibrary")] | ||
namespace PrivateLibrary.Console | ||
{ | ||
class Program | ||
{ | ||
static void Main(string[] args) | ||
{ | ||
System.Console.WriteLine(new InternalClass().privateStringField); | ||
System.Console.WriteLine(InternalClassBridge.privateStaticStringField); | ||
System.Console.WriteLine(InternalClassBridge.PublicStaticMethod()); | ||
System.Console.WriteLine(InternalClassBridge.PrivateStaticMethod()); | ||
System.Console.WriteLine(new InternalClassBridge().privateStringField); | ||
System.Console.WriteLine(new InternalClassBridge().PublicMethod()); | ||
System.Console.WriteLine(new InternalClassBridge().PrivateMethod()); | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
// Use IntelliSense to find out which attributes exist for C# debugging | ||
// Use hover for the description of the existing attributes | ||
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": ".NET Core Launch (console)", | ||
"type": "coreclr", | ||
"request": "launch", | ||
"preLaunchTask": "build", | ||
// If you have changed target frameworks, make sure to update the program path. | ||
"program": "${workspaceFolder}/src/Compilers/CSharp/csc/bin/Debug/netcoreapp2.1/csc.dll", | ||
"args": [], | ||
"cwd": "${workspaceFolder}/src/Compilers/CSharp/csc", | ||
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console | ||
"console": "internalConsole", | ||
"stopAtEntry": false | ||
}, | ||
{ | ||
"name": ".NET Core Attach", | ||
"type": "coreclr", | ||
"request": "attach", | ||
"processId": "${command:pickProcess}" | ||
} | ||
] | ||
} |
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,39 @@ | ||
{ | ||
// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
// for the documentation about the tasks.json format | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "build", | ||
"command": "./build.cmd", | ||
"type": "shell", | ||
"args": [ | ||
], | ||
"problemMatcher": "$msCompile", | ||
"group": "build" | ||
}, | ||
{ | ||
"label": "build skip analyzers", | ||
"command": "./build.cmd", | ||
"type": "shell", | ||
"args": [ | ||
"-skipAnalyzers" | ||
], | ||
"problemMatcher": "$msCompile", | ||
"group": "build" | ||
}, | ||
{ | ||
"label": "build csc skip analyzers", | ||
"command": "dotnet", | ||
"type": "shell", | ||
"args": [ | ||
"msbuild", | ||
"-p:UseRoslynAnalyzers=false", | ||
"-p:GenerateFullPaths=true", | ||
"src/Compilers/CSharp/csc/csc.csproj" | ||
], | ||
"problemMatcher": "$msCompile", | ||
"group": "build" | ||
} | ||
] | ||
} |
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.