Sree's blog

Blog about C# debugging and compiler features i helped implement

  • Sree's blog

    Joining Halo Team

    • 4 Comments
    After spending 4 years in the C# compiler team, i have decided its time for me to try something new. A few weeks back i joined in the Halo team and have started my exciting journey there. I won’t be posting anything new about C# in the near future and...
  • Sree's blog

    Why Can’t Extension methods on Value Type be curried

    • 1 Comments
    This is a followup to an post Extension Methods and Curried delegates . I have been recently asked if why Error CS1113: “Extension methods ' Name ' defined on value type ' typename ' cannot be used to create delegates” was added and what does it mean...
  • Sree's blog

    Debugging Dynamic objects in C# Part 1

    • 2 Comments
    After a long time spent working on dev 10 features and fixing the may big and small things i have finally had the time to cobble togather a post. What’s this post about ? To begin with i will be talking about debugging dynamic objects. With C#...
  • Sree's blog

    C# Debugging Improvement for VS 2008 SP1- Part II

    • 18 Comments
    Anonymous Types On Further review there are a few problems with anonymous-types, they all boil down to the fact the names given to these types are not valid C# type names ( so that users don't explicitly use them in code). But while debugging this...
  • Sree's blog

    C# Debugging Improvements for VS 2008 SP1- Part 1

    • 17 Comments
    Overview Over the past few months I have been busy closing VS 2008 and working on some fixes for SP1. We have enabled some key debugging scenarios in C# in VS 2008 SP1, they include support for Range Variables in Queries & Anonymous Types...
  • Sree's blog

    Debugging C# 3.0 Part II

    • 3 Comments
    Overview In the last article I covered the "results view" for lazy evaluated collections like Queries/Enumerable and the use of extension methods in the watch and immediate window. For completeness I will cover stepping, range variables, anonymous...
  • Sree's blog

    Extension methods Interoperability between languages

    • 4 Comments
    Extension methods written in C# can be imported and called with Extension method semantics in VB and vice versa. This is possible since me decorate the assemblies , types and methods in the same manner. Using the Attribute [AttributeUsage(AttributeTargets...
  • Sree's blog

    Conversion rules for Instance parameters and their impact

    • 2 Comments
    Overview: Instance parameter is the first parameter of an extension method and has the " this " parameter modifier. I discuss special conversion rules for them and some of the things that users of extension methods might encounter. Consider the code bellow...
  • Sree's blog

    Debugging and Delayed Execution in C# 3.0

    • 1 Comments
    Overview: C# 3.0 added a few constructs like queries which are delay executed. This means that they are not actually executed until the results of the query are required. Debugging some of them can seem strange since one can't step in to the Query...
  • Sree's blog

    Debugging Features in C# 3.0 Part 1

    • 8 Comments
    Overview C# 3.0 introduces many new constructs and opens entirely new ways of thinking and developing code. In this article I will talk about the new debugging features that make it easy to see the running code and better understand it. In my experience...
  • Sree's blog

    Learning C#

    • 4 Comments
    I was recently asked by a developer "I know C++ how do i get into C# and .Net". If you want to understand the language design and its inner workings I would suggest The C# programing Language . If you want to use .Net and C# try Practical .Net and...
  • Sree's blog

    Extension methods and Curried Delegates

    • 8 Comments
    Delegates Since Extension methods behave like instance method it makes sense that we should be able to create delegates that would accept the instance method signature, to this end we have included Adding an Extension Methods to delegate invocation...
  • Sree's blog

    Extension method Binding and Error reporting

    • 3 Comments
    Overview: Extension methods are static methods that are bound with instance semantics. In this article i will give a brief overview of the various steps involved in binding a extension methods. Finally this will prepare the way to discuss the error...
  • Sree's blog

    Extension methods in C#

    • 18 Comments
    Overview Extension methods are a new feature for C# 3.0 and I had the opportunity to implement them in the Compiler. These methods can then be called with instance syntax on any object that is convertible(see convertibility section for details) to the...
  • Sree's blog

    Extension methods in C#

    • 0 Comments
    Overview Extension methods are a new feature for C# 3.0 and I had the opportunity to implement them in the Compiler. These methods can then be called with instance syntax on any object that is convertible(see convertability section for details) to...
  • Sree's blog

    Hello Web

    • 7 Comments
    Who am I? My name is Sreekar Choudhary and Welcome to my blog, I am a Dev on the C# compiler Team. I work most of the time on language features and implementing debugging framework for C# developers inside VS. What's this blog about? Well...
  • Sree's blog

    Immutable is, the new Anonymous Type

    • 18 Comments
    Overview In the spirit of keeping my first post short and simple, i plan to write about changes to Anonymous tyes that will be of interest to quite a few developers. Anonymous types are immutable, yes its true. Now depending on your current project...
Page 1 of 1 (17 items)