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

RoslynQuoter doesn't handle case statements. #10

Closed ghost closed 8 years ago

ghost commented 8 years ago

Entering a simple case statement results in an error:

class C { public C() { int myValue = 2; switch(myValue) { case 1: break; } } }

System.NotSupportedException: Specified method is not supported. at Quoter.AddModifyingCalls(Object treeElement, ApiCall apiCall, List values) at Quoter.QuoteNode(SyntaxNode node, String name)

KirillOsenkov commented 8 years ago

Fixed, thanks.

ghost commented 8 years ago

Kirill,

            Confirmed.  Looks great.  Thanks.

Don Airey

From: Kirill Osenkov [mailto:notifications@github.com] Sent: Friday, May 27, 2016 6:46 PM To: KirillOsenkov/RoslynQuoter RoslynQuoter@noreply.github.com Cc: DRAirey1 don@airey.us; Author author@noreply.github.com Subject: Re: [KirillOsenkov/RoslynQuoter] RoslynQuoter doesn't handle case statements. (#10)

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

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/KirillOsenkov/RoslynQuoter/issues/10#event-675025508 , or mute the thread https://github.com/notifications/unsubscribe/AIiKVr32tvlxMdNSAe4uQlVYXKo6_7vxks5qF3QkgaJpZM4Io2n3 . https://github.com/notifications/beacon/AIiKVocChYSF2q4y6DfXuTBS5Ym9jjynks5qF3QkgaJpZM4Io2n3.gif