Skip to main content
Filter by
Sorted by
Tagged with
7 votes
3 answers
2k views

So, I feel like it's possible, but i don't have the chops to put it together. I have lookup tables (with ID and Name fields). I have enums that I keep in sync with the lookups. What I'd like is to ...
abend's user avatar
  • 483
10 votes
2 answers
4k views

I've got a code-snippet that compiles a script with the script engine and I retreiv the assembly as a byte array. Now I want to load this Assembly in a Sandbox, this is what I've got: Assembly ...
Filip Ekberg's user avatar
  • 36.3k
14 votes
2 answers
3k views

I'm experimenting a bit with the Roslyn-CTP. Currently I'm trying to replace var with the concrete type. var i=1; should become: int i=1; Figuring out the inferred type is easy. But since this part ...
CodesInChaos's user avatar
5 votes
2 answers
897 views

It seems to have partially inherited fonts and colors from my current settings, which has made it pretty ugly right now. I looked in fonts and colors but there is no settings for C# Interactive.
Jon Erickson's user avatar
4 votes
3 answers
574 views

I am just in the beginning of my graduation project that is supposed to last for 6 months. The goal of the project is to implement a .Net-compiler for one scripting language. I had the Compiler ...
Alexander Galkin's user avatar
5 votes
3 answers
892 views

I frequently find myself making a dummy console app to test something simple out. (For example how does DateTime.Parse like a YYYY-MM-DD-HH-MM-SS formatted string?) I know that Roslyn has the C# ...
Vaccano's user avatar
  • 83.2k
50 votes
3 answers
14k views

C# Interactive seems a lot more powerful than the Immediate Window (at least it handles lambda expressions that are often used in LINQ - see Visual Studio debugging "quick watch" tool and ...
user276648's user avatar
  • 6,443
3 votes
3 answers
837 views

It seems that Roslyn provides new APIs to expose many compiler internal data structure for code analysis, etc. And the C# and VB compiler has been rewritten for such purpose. So can I access the ...
Thomson's user avatar
  • 21.9k
5 votes
3 answers
2k views

With the Roslyn CTP out in the open, we can try to think of cool things we can do with it other than writing c# scripts. Since asp.net mvc allows you to write custom controller factories, could we ...
Thomas's user avatar
  • 8,043
16 votes
2 answers
5k views

For example I have class Foo: INotifyPropertyChanged { public event PropertyChangedEventHandler PropertyChanged; public int Bar {get;set;} } Can I get the Foo class AST and rewrite Bar, in ...
dotneter's user avatar
  • 1,689
9 votes
3 answers
675 views

Lisa Feigenbaum from Microsoft talks here about "Compiler as a service". I have read this would make it easier to build refactoring tools. How? Mono's CAAS is great but if Microsoft version is similar ...
Yaron Naveh's user avatar
  • 24.6k
27 votes
5 answers
3k views

Seeing that we'll probably get this feature in the next release what are some of the things you either think you'll be able to do or things you would like to use this feature to do? Personally, ...
Shiv Kumar's user avatar
  • 9,809
30 votes
3 answers
5k views

I added the <returns> xml tag to some of my methods but I can't see its content in IntelliSense. Here is my code: /// <summary> /// we all live in a yellow summary /// </summary> //...
remi bourgarel's user avatar
42 votes
5 answers
10k views

Was C# compiler written in C++?
Joan Venge's user avatar
  • 334k

1
55 56 57 58
59