Browse Source
Removed debug code
Co-authored-by: Max Katz <maxkatz6@outlook.com>
pull/8589/head
Nikita Tsukanov
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
8 deletions
-
src/tools/DevGenerators/GetProcAddressInitialization.cs
|
|
|
@ -19,14 +19,6 @@ public class GetProcAddressInitializationGenerator : IIncrementalGenerator |
|
|
|
|
|
|
|
public void Initialize(IncrementalGeneratorInitializationContext context) |
|
|
|
{ |
|
|
|
/* |
|
|
|
Console.WriteLine("PID: " + Process.GetCurrentProcess().Id); |
|
|
|
|
|
|
|
File.WriteAllText("/tmp/pid", "PID: " + Process.GetCurrentProcess().Id); |
|
|
|
while (!Debugger.IsAttached) |
|
|
|
{ |
|
|
|
Thread.Sleep(1000); |
|
|
|
}*/ |
|
|
|
var allMethodsWithAttributes = context.SyntaxProvider |
|
|
|
.CreateSyntaxProvider( |
|
|
|
static (s, _) => s is MethodDeclarationSyntax |
|
|
|
|