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
using System; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using System.Xml.Linq; | |
using UnityEngine; | |
using UnityEditor; | |
#if ENABLE_VSTU |
This file has been truncated, but you can view the full file.
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
class Program | |
{ | |
static void F_0(int a) {} | |
static void F_1(int a) {} | |
static void F_2(int a) {} | |
static void F_3(int a) {} | |
static void F_4(int a) {} | |
static void F_5(int a) {} | |
static void F_6(int a) {} | |
static void F_7(int a) {} |
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
open Microsoft.CodeAnalysis | |
open Microsoft.CodeAnalysis.CSharp | |
open Microsoft.CodeAnalysis.CSharp.Syntax | |
open FSharp.CodeAnalysis.CSharp.Patterns | |
// full form for the node, with SyntaxKind and tokens | |
let fullForm (n: CSharpSyntaxNode) = | |
match n with | |
| BinaryExpressionSyntax(_, LiteralExpressionSyntax(_), _, _) -> () |
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
using System; | |
using System.Collections.Generic; | |
using Mono.Cecil; | |
class CompactFrameworkPatcher { | |
static readonly byte [] fwPkToken1 = new byte [] { | |
0xb7, 0x7a, 0x5c, 0x56, 0x19, 0x34, 0xe0, 0x89 | |
}; |
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
using System.Net; | |
using Mono.Debugger.Soft; | |
using static System.Console; | |
static int PidToPort(int pid) => 56000 + (pid % 1000); | |
var pid = 49149; // process ID of the Unity Editor or the IL2CPP Game | |
var ip = IPAddress.Loopback; // IP where the Unity Editor/Game is running |
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
using System; | |
using System.IO; | |
using System.Linq; | |
using System.Xml.Linq; | |
namespace UnityProjectExtractor | |
{ | |
internal readonly struct PathMap | |
{ | |
private readonly string _projectDirectory; |
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
using System; | |
using UnityEngine; | |
using UnityEditor; | |
using SyntaxTree.VisualStudio.Unity.Bridge; | |
[InitializeOnLoad] | |
public class ReferenceRemovalProjectHook | |
{ |
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
using System; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using System.Xml.Linq; | |
using UnityEngine; | |
using UnityEditor; | |
#if ENABLE_VSTU |
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
C:\Program Files (x86)\Unity> find -name 'Mono.Cecil.dll' | |
./Editor/Data/Managed/Mono.Cecil.dll | |
./Editor/Data/Mono/lib/mono/2.0/Mono.Cecil.dll | |
./Editor/Data/Mono/lib/mono/unity/Mono.Cecil.dll | |
./Editor/Data/Mono/lib/mono/unity_web/Mono.Cecil.dll | |
./Editor/Data/MonoBleedingEdge/lib/mono/2.0/Mono.Cecil.dll | |
./Editor/Data/MonoBleedingEdge/lib/mono/3.5/Mono.Cecil.dll | |
./Editor/Data/MonoBleedingEdge/lib/mono/4.0/Mono.Cecil.dll | |
./Editor/Data/MonoBleedingEdge/lib/mono/gac/Mono.Cecil/0.9.4.0__0738eb9f132ed756/Mono.Cecil.dll | |
./Editor/Data/PlaybackEngines/flashsupport/BuildTools/cil2as/Mono.Cecil.dll |
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
diff --git a/mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs b/mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs | |
index e09132e2798..aa109ebd70d 100644 | |
--- a/mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs | |
+++ b/mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs | |
@@ -1786,6 +1786,11 @@ namespace Mono.Debugger.Soft | |
Send (CommandSet.VM, (int)CmdVM.STOP_BUFFERING); | |
} | |
+ internal VersionInfo VM_IsDeferred () { | |
+ var res = SendReceive (CommandSet.VM, (int)CmdVM.DEFERRED, null); |