While Microsoft is certainly not an open source company there are some instances of code drops from, and open source projects started by teams at Microsoft that are released under licenses which comply with the definition of open source as defined by