KirillOsenkov / RoslynQuoter

Roslyn tool that for a given C# program shows syntax tree API calls to construct its syntax tree
http://roslynquoter.azurewebsites.net
Apache License 2.0
922 stars 118 forks source link

a bug in Quoter! ( #18

Closed MuradTulunay closed 7 years ago

MuradTulunay commented 7 years ago

Parse as statement Open parenthesis on a new line Closing parenthesis on a new line

private static bool isAuditInitialized = false; static void Instance_CustomizeAuditTrailSettings(object sender, CustomizeAuditTrailSettingsEventArgs e) {}

KirillOsenkov commented 7 years ago

This is actually a Roslyn bug: https://github.com/dotnet/roslyn/issues/17458

Once Roslyn fixes the bug and I update to the latest Roslyn, the bug will be fixed.

For now for this code don't use Statement, use the global level parsing.

Thanks!

MuradTulunay commented 7 years ago

Kimden: Kirill Osenkov [mailto:notifications@github.com] Tarih: 28 Şubat 2017 Salı 22:23 Kime: KirillOsenkov/RoslynQuoter RoslynQuoter@noreply.github.com Bilgi: MuradTulunay murad.tulunay@gmail.com; Author author@noreply.github.com Konu: Re: [KirillOsenkov/RoslynQuoter] a bug in Quoter! ( (#18)

Closed #18 https://github.com/KirillOsenkov/RoslynQuoter/issues/18 .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/KirillOsenkov/RoslynQuoter/issues/18#event-980695422 , or mute the thread https://github.com/notifications/unsubscribe-auth/AXwbWNgt67Z982iZxaA0aC-EM4it_t7xks5rhHQCgaJpZM4MOVsq . https://github.com/notifications/beacon/AXwbWBVrWgoHZ2HcN4O8cnfjEksBkdUBks5rhHQCgaJpZM4MOVsq.gif