Quantcast
Channel: Microsoft "Roslyn" CTP forum
Browsing all 504 articles
Browse latest View live

Mixing #load command with code in a single C# Interactive submission

I have been writing .csx scripts and executing them by selecting chunks of code and pressing control + enter. I tried to "refactor" some of my longer scripts by moving chunks of code to a dedicated...

View Article


c#, intellisense, roslyn

I'm a little bit confused over whether Roslyn api could provide with c# code completion list. I found here that there is some method GetItems in Roslyn.Services.Editor namespace that would be just...

View Article


Cannot get IRenameService instance through the following way

Dear All, I am trying to get the IRenameService through the following way of MEF import: public class ServiceArchive     {         [Import]         public IRenameService RenameService { get; set; }...

View Article

WebsiteSpark & Visual Studio 2012 with Windows 8

Hello (I am not sure which forum to put this in. Sorry if I have posted in an incorrect forum) I have a WebsiteSpark MSDN subscription and am able to download Windows 7 and Visual Studio 2010. I...

View Article

ISymbol GetDocumentationComment() not implemented yet?

Hi, I tried to retreive the documentation comment on a symbol by calling the GetDocumentationComment() method. Unfortunately the resulting DocumentationComment object has null values for all properties...

View Article


Retrieving IRenameService in a more testable way

Hi There, I have written some testing code using IRenameService instances. I am only able to import an IRenameService from ICodeIssueProvide whose instantiation happens when I run a dubugee VS. I...

View Article

The window Syntax Visualizer is always empty

I compiled the sample Syntax Visualizer, but no matter what file I select (.cs or .vb) and the window of the visualizer is always empty. And when debugging Syntax Trees, the icon over the supported...

View Article

Is the June 2012 Roslyn CTP supposed to work with VS2012 Ultimate RTM (not...

The June CTP targets VS2012 RC. But can I (really, "should I") install it on VS2012 RTM (Ultimate)?

View Article


scintific calculator in excel

how to caluclate Tan(Inv Cos PF) in excel

View Article


Where is the CompileToClass methods?

Dear all / Team, I was reading the "released-interactive-scripting-spec.pdf" and "...-spec2.pdf", both mention that on the abstract class CommonScriptEngine, there are these bunch of methods: // where...

View Article

Will Roslyn be FIPS compliant?

I've recently noticed that when running Roslyn on a computer with FIPS enabled that it produces the following error in several places when performing Roslyn API calls....

View Article

System.AggregateException was unhandled

Hi There, When I am running my VS add-in, an exception will be thrown as the title said. Do you have any idea about what is going on? The details of this exception are as follows:...

View Article

Error when trying to uninstall Roslyn from VS 2010 machine

I'm trying to uninstall Roslyn from my machine. I've got VS 2010 Ultimate, with SP1 and the VS SDK installed. When I try uninstalling setup fails with '0x800700002 - The system cannot find the file...

View Article


Exception when using renamSymbol service

Hi All, I am trying to make a rename in a given IDocument instance and save the results without rendering it to the user. So I have written code like this:...

View Article

Retrieve referenced LabelSymbol of GotoStatementSyntax

Hi, in the example below I want to infer that the goto statement <goto case 1;> (of type GotoStatementSyntax) references the case switch label <case 1:> (of type SwitchLabelSyntax)...

View Article


Roslyn Optimization pass hooks?

Any plans in the future to provide hooks into the optimization passes of the compiler? I've been working with LLVM for some research projects and it would be fun to implement similar things in C#...

View Article

Image may be NSFW.
Clik here to view.

Installing Roslyn on Windows 8 and VS 2012

I tried to install Roslyn on the RTM of Windows 8 Enterprise with VS as: I am not sure what are my options. Is it just not supported? Kevin Burton

View Article


With block and MemberAccessExpressionSyntax

string code = @"Public Class Sample Public Sub Foo() Dim tb = New System.Web.UI.WebControls.TextBox() With tb .Text = "" End With End Sub End Class"; var tree = SyntaxTree.ParseCompilationUnit(code);...

View Article

Symbol from ClassDeclarationSyntax

Hi.. I'm unable to get a symbol (symbolInfo.Symbol) from a ClassDeclarationSyntax. It is always null. I'm querying the semanticmodel from the IDocument which the ClassDeclarationSyntax is contained in....

View Article

More Natural Metaprogramming Manners?

Hello everyone, new to here and I must say Roslyn is amazing. I was recently considering to create a new languange(or modify an existed one with metaprogramming technics, such as Lua) to fulfil my...

View Article
Browsing all 504 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>