{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/3214","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/3214/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/3214/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/3214/events","html_url":"https://github.com/dotnet/roslyn/issues/3214","id":83504030,"number":3214,"title":"Breaking change: CTP3, please make CreateSubmission public again","user":{"login":"mkosieradzki","id":10385115,"avatar_url":"https://avatars.githubusercontent.com/u/10385115?v=3","gravatar_id":"","url":"https://api.github.com/users/mkosieradzki","html_url":"https://github.com/mkosieradzki","followers_url":"https://api.github.com/users/mkosieradzki/followers","following_url":"https://api.github.com/users/mkosieradzki/following{/other_user}","gists_url":"https://api.github.com/users/mkosieradzki/gists{/gist_id}","starred_url":"https://api.github.com/users/mkosieradzki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkosieradzki/subscriptions","organizations_url":"https://api.github.com/users/mkosieradzki/orgs","repos_url":"https://api.github.com/users/mkosieradzki/repos","events_url":"https://api.github.com/users/mkosieradzki/events{/privacy}","received_events_url":"https://api.github.com/users/mkosieradzki/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-Interactive","name":"Area-Interactive","color":"5319e7"},{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Feature%20Request","name":"Feature Request","color":"fc2929"},{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Interactive-Scripting","name":"Interactive-Scripting","color":"207de5"}],"state":"open","locked":false,"assignee":{"login":"cston","id":10732005,"avatar_url":"https://avatars.githubusercontent.com/u/10732005?v=3","gravatar_id":"","url":"https://api.github.com/users/cston","html_url":"https://github.com/cston","followers_url":"https://api.github.com/users/cston/followers","following_url":"https://api.github.com/users/cston/following{/other_user}","gists_url":"https://api.github.com/users/cston/gists{/gist_id}","starred_url":"https://api.github.com/users/cston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cston/subscriptions","organizations_url":"https://api.github.com/users/cston/orgs","repos_url":"https://api.github.com/users/cston/repos","events_url":"https://api.github.com/users/cston/events{/privacy}","received_events_url":"https://api.github.com/users/cston/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/dotnet/roslyn/milestones/3","html_url":"https://github.com/dotnet/roslyn/milestones/1.1","labels_url":"https://api.github.com/repos/dotnet/roslyn/milestones/3/labels","id":937401,"number":3,"title":"1.1","description":"This is our 1.1 Milestone.\r\n\r\n<!---\r\n@huboard:{\"order\":1.5}\r\n-->\r\n","creator":{"login":"jaredpar","id":146967,"avatar_url":"https://avatars.githubusercontent.com/u/146967?v=3","gravatar_id":"","url":"https://api.github.com/users/jaredpar","html_url":"https://github.com/jaredpar","followers_url":"https://api.github.com/users/jaredpar/followers","following_url":"https://api.github.com/users/jaredpar/following{/other_user}","gists_url":"https://api.github.com/users/jaredpar/gists{/gist_id}","starred_url":"https://api.github.com/users/jaredpar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaredpar/subscriptions","organizations_url":"https://api.github.com/users/jaredpar/orgs","repos_url":"https://api.github.com/users/jaredpar/repos","events_url":"https://api.github.com/users/jaredpar/events{/privacy}","received_events_url":"https://api.github.com/users/jaredpar/received_events","type":"User","site_admin":false},"open_issues":417,"closed_issues":340,"state":"open","created_at":"2015-01-15T20:48:41Z","updated_at":"2015-09-12T06:20:18Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2015-06-01T13:42:27Z","updated_at":"2015-09-13T00:29:48Z","closed_at":null,"body":"I have been using CTP2 version of Roslyn in following scenario:\r\n1. I was parsing syntax tree as Interactive\r\n2. Compiling and computing semantic model using CreateSubmission\r\n3. Translating SyntaxTree (using computed SemanticModel) to System.Linq.Expressions. (Applying my own \"symbol access restrictions\" as a security layer, preventing all \"imperative\" constructs).\r\n\r\nGreat points about this:\r\n1. System.Linq.Expressions is the only way I know to execute dynamic code inside in Universal Apps and .NET Core. All the Roslyn assemblies required to perform this process were also portable.\r\n2. I was able to utilize incremental parsing and incremental handling of SourceText.\r\n\r\nIf possible:\r\n1. Please make CSharpScript cross platform (afaik impossible or at least difficult) or\r\n2. or please provide xplat wrapper for CreateSubmission allowing to process interactive expression and get proper SyntaxTree and then SemanticModel\r\n3. or please give us back ;) CreateSubmission and parsing as interactive expression\r\n4. or provide out of the box xplat CSharp to System.Linq.Expressions converter\r\n5. or provide any other solution/guidance allowing to achieve my scenario"},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/139831433","html_url":"https://github.com/dotnet/roslyn/issues/3214#issuecomment-139831433","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/3214","id":139831433,"user":{"login":"mkosieradzki","id":10385115,"avatar_url":"https://avatars.githubusercontent.com/u/10385115?v=3","gravatar_id":"","url":"https://api.github.com/users/mkosieradzki","html_url":"https://github.com/mkosieradzki","followers_url":"https://api.github.com/users/mkosieradzki/followers","following_url":"https://api.github.com/users/mkosieradzki/following{/other_user}","gists_url":"https://api.github.com/users/mkosieradzki/gists{/gist_id}","starred_url":"https://api.github.com/users/mkosieradzki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkosieradzki/subscriptions","organizations_url":"https://api.github.com/users/mkosieradzki/orgs","repos_url":"https://api.github.com/users/mkosieradzki/repos","events_url":"https://api.github.com/users/mkosieradzki/events{/privacy}","received_events_url":"https://api.github.com/users/mkosieradzki/received_events","type":"User","site_admin":false},"created_at":"2015-09-13T00:29:48Z","updated_at":"2015-09-13T00:29:48Z","body":"@glopesdev for translations to LINQ expressions: typeof(object).Assembly.Location is the best solution IMO. For other compilation purposes you can look up reference assemblies in: C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework they are grouped in many variants, for every possible .NET version :)"}}