jaredpar's WebLog

Code, rants and ramblings of a programmer.

Blog Moving

As you may have noticed my blog has been a little stale over the last few years. A large part of...

Author: JaredPar MSFT Date: 05/12/2014

Interviewing College Candidates

Lately I’ve been reading a lot about peoples interview processes and it inspired me to share...

Author: JaredPar MSFT Date: 01/06/2014

Round tripping a VSIX project

Visual Studio 2012 introduced project file round tripping feature.  This lets developers edit...

Author: JaredPar MSFT Date: 12/04/2013

Immutable isn’t just for parallel code

For the last 6 months the BCL team has been hard at work shipping an out of band release of...

Author: JaredPar MSFT Date: 07/02/2013

Don’t mix await and compound assignment

The 5.0 release of C# introduced the await keyword which makes it extremely easy to use...

Author: JaredPar MSFT Date: 02/11/2013

Not all “true” are created equal

  During a review of some low level bit manipulation logic a developer raised a question about...

Author: JaredPar MSFT Date: 08/28/2012

Authoring a Utility Library for Visual Studio

As I’ve developed VsVim over the years I’ve authored quite a few reusable Visual Studio...

Author: JaredPar MSFT Date: 05/07/2012

VsVim 1.0 Released

I just released an update to VsVim for Visual Studio 2010.  This is available on the extension...

Author: JaredPar MSFT Date: 07/01/2011

DebuggerDisplay attribute best practices

The DebuggerDisplayAttribute is a powerful way to customize the way values are displayed at debug...

Author: JaredPar MSFT Date: 03/18/2011

VsVim Update Released (Version 0.9.5)

I just released an update to VsVim for Visual Studio 2010.  This is available on the extension...

Author: JaredPar MSFT Date: 03/14/2011

Yet another way to defeat C++ const

One of my favorite C++ features, and one I feel is terribly underutilized in many code bases, is the...

Author: JaredPar MSFT Date: 03/01/2011

Interesting Late Binding Scenario with ToString

Not to long ago I received an email from a customer who wanted to report a bug in the VB.Net...

Author: JaredPar MSFT Date: 01/24/2011

VsVim Update Released (Version 0.9.4)

I just released an update to VsVim for Visual Studio 2010.  This is available on the extension...

Author: JaredPar MSFT Date: 01/12/2011

Why the debugging difference between C# and VB.Net return values?

A feature which seems to be getting more requests recently is support for seeing the return value of...

Author: JaredPar MSFT Date: 01/12/2011

VsVim Update Released (Version 0.9.3)

I just released an update to VsVim for Visual Studio 2010.  This is available on the extension...

Author: JaredPar MSFT Date: 11/30/2010

Discriminated Unions in C++

Earlier this week I started writing a function which needed to represent three states in the return...

Author: JaredPar MSFT Date: 11/18/2010

Automatically loading DLL’s in the debugger

In a recent post I discussed the apparent flakiness of extension methods and the debugger being a...

Author: JaredPar MSFT Date: 10/18/2010

VsVim Update Released (Version 0.9.2)

I just released an update to VsVim for Visual Studio 2010. This is available on the extension...

Author: JaredPar MSFT Date: 10/14/2010

Improving the display of F# seq’s in the debugger

F#’s seq<T> expressions are a frustrating item to inspect at debug time.  A seq<T>...

Author: JaredPar MSFT Date: 09/10/2010

Converting System.Func<T1..TN> to FSharpFunc<T,TResult>

Interop of delegate style types between F# and other .Net languages is a pain point that results...

Author: JaredPar MSFT Date: 07/27/2010

Advanced Multitargeting in VB.Net

Multi-targeting is a feature introduced in Visual Studio 2008 which allows developers to use new...

Author: JaredPar MSFT Date: 07/23/2010

Extension Methods and the Debugger

One source of confusion I find myself clearing up a lot is the use of evaluating extension methods...

Author: JaredPar MSFT Date: 07/22/2010

Disable copy construction when the type is not copy safe

A couple of days ago I finished coding up a feature in our C++ code base, hit F5 and was met with a...

Author: JaredPar MSFT Date: 07/12/2010

VsVim Update Released (Version 0.8.2)

I just released an update to VsVim for Visual Studio 2010.  This is available on the extension...

Author: JaredPar MSFT Date: 07/09/2010

Do not throw a NullReferenceException when validing “this” in an extension method

One pattern I’ve started running into is developers explicitly throwing a NullReferenceException...

Author: JaredPar MSFT Date: 06/28/2010

Avoiding automation bugs when implementing IOleCommandTarget

Shortly after Visual Studio 2010 shipped I wanted to experiment with the new VSIX format for...

Author: JaredPar MSFT Date: 06/10/2010

Newlines in the immediate window

A question came up recently on stack overflow concerning the display of newlines in the immediate...

Author: JaredPar MSFT Date: 06/08/2010

My next adventure

After 4+ years on the languages team it’s time for me to move onto the next adventure.  I...

Author: JaredPar MSFT Date: 06/07/2010

Using lambdas to create generic factories

One item I find to be limiting in C# is the new generic constraint.  The syntax construct...

Author: JaredPar MSFT Date: 06/04/2010

Why is LINQ absent from debugger windows (Part 2)?

Some readers may remember an article I published almost half a year ago about LINQ being absent from...

Author: JaredPar MSFT Date: 06/02/2010

VsVim Update Released (Version 0.8.1)

I just released an update to VsVim for Visual Studio 2010.  This is available on the extension...

Author: JaredPar MSFT Date: 06/01/2010

Metablogging – changes to my blog

Recently the MSDN blog architecture got a long overdue update to a new infrastructure.  Most of...

Author: JaredPar MSFT Date: 06/01/2010

Nothing is private in the debugger (part 2)

In a previous post I discussed how accessibility is ignored when evaluating expressions in the...

Author: JaredPar MSFT Date: 05/19/2010

Nothing is private in the debugger

The goal of the debugger is to provide rich inspection capabilities for a process.  The main...

Author: JaredPar MSFT Date: 05/17/2010

Making Equality Testing Simple

Getting equality correct on a .Net type is a fairly involved process involving adherence to a large...

Author: JaredPar MSFT Date: 04/30/2010

Dictionary<TKey,TValue>.TryGetValue and Anonymous Types

One of the methods I find to be the most useful in .Net is the method...

Author: JaredPar MSFT Date: 03/23/2010

VsVim Update Released (Version 0.7.2)

I just released an update to VsVim for Visual Studio 2010 RC.  This should be available shortly...

Author: JaredPar MSFT Date: 03/15/2010

Flattening class hierarchies when debugging C#

One piece of feedback I heard in the MVP sessions this week is that debugging deep class hierarchies...

Author: JaredPar MSFT Date: 02/19/2010

VsVim Update Released for RC (Version 0.7.1)

I just released a quick update to VsVim which moves it to the Visual Studio 2010 RC build. ...

Author: JaredPar MSFT Date: 02/09/2010

VsVim Update Released (Version 0.7.0)

I just released an update to VsVim for Visual Studio 2010 Beta2. This should be available shortly...

Author: JaredPar MSFT Date: 02/04/2010

Having fun with events in F#

Recently I ran into a situation where I needed to handle some events in F# in a special way. ...

Author: JaredPar MSFT Date: 02/03/2010

Easier script deployment in PowerShell 2.0

If you can’t tell from reading entries in my blog I’m a bit of a script junkie.  I loathe...

Author: JaredPar MSFT Date: 02/02/2010

The many cases of ByRef

One of the overlooked or simply misunderstood features of the VB language is calling a function...

Author: JaredPar MSFT Date: 01/21/2010

VsVim Update Released (Version 0.6.0)

I just released an update to VsVim for Visual Studio 2010 Beta2.  This should be available...

Author: JaredPar MSFT Date: 01/03/2010

Making F# type inference friendly for C#

One of my current hobby projects, VsVim, requires me to make a lot of calls between F# and C#...

Author: JaredPar MSFT Date: 12/15/2009

VsVim Update Released (Version 0.5.4)

I just released an update to VsVim for Visual Studio 2010 Beta2.  This should be available...

Author: JaredPar MSFT Date: 12/14/2009

The File System is unpredictable

One of the more frequent questions I answer on StackOverflow is a variation of the following. ...

Author: JaredPar MSFT Date: 12/10/2009

VsVim Update Released (Version 0.5.3)

I just released an update to VsVim for Visual Studio 2010 Beta2.  This should be available...

Author: JaredPar MSFT Date: 12/06/2009

Dev Connection Talk Slides and Code

Thanks to everyone who attended my sessions at Dev Connections.  I’ve posted the material for...

Author: JaredPar MSFT Date: 12/02/2009

VsVim Update Released (Version 0.5.2)

I just released an update to VsVim for Visual Studio 2010 Beta2.  This should be available...

Author: JaredPar MSFT Date: 11/30/2009

Next>