Sign in
|
Help
Matthieu MEZIL
I love .Net
This Blog
Home
Contact
Syndication
RSS for Posts
Atom
RSS for Comments
Search
Go
Tags
.Net
ADO.NET Data Services
ADO.NET Data Services Hooking POC
Architecture
Bug
C#
EDM Designer
Entity Data Model (EDM)
Entity Framework (EF)
Fun
LINQ To Object
LINQ To SQL
MEF
MSIL
Parallel Framework (PFx)
Perso
Quizz
SQL
T4
TDD
VB .Net
Velocity
VS
WCF
WPF
News
French blog
EDM Designer
Community
Home
Blogs
Media
Groups
Email Notifications
Go
Archives
November 2009 (3)
October 2009 (4)
September 2009 (3)
August 2009 (1)
July 2009 (1)
June 2009 (7)
May 2009 (8)
April 2009 (7)
February 2009 (6)
January 2009 (3)
December 2008 (2)
November 2008 (11)
October 2008 (9)
September 2008 (2)
August 2008 (20)
July 2008 (9)
June 2008 (14)
May 2008 (11)
Browse by Tags
All Tags
»
.Net
»
Bug
(
RSS
)
C#
Entity Data Model (EDM)
Entity Framework (EF)
LINQ To Object
LINQ To SQL
MSIL
VB .Net
Mon, Nov 3 2008 1:51
C# compiler and implicit keyword: can be better
Imagine the following code: class A { public static implicit operator B ( A a) { return new B (a); } } class B { public B( A a) { } } This code compile without error and it's normal. Now imagine the following one: class A { public static implicit...
Posted by
Matthieu MEZIL
| with
no comments
Filed under:
.Net
,
C#
,
Bug
Tue, Oct 14 2008 3:15
Bug with IQueryable and yield syntax: System.BadImageFormatException "An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)"
I find a bug if you mix IQueryable and yield syntax. After Diego has changed a little bit my sample to reproduce it, this is the code he sent to the C# team: class Program { static void Main( string [] args) { try { GetCategoryProductsUsingQueryable(...
Posted by
Matthieu MEZIL
|
6 comment(s)
Filed under:
.Net
,
C#
,
Entity Framework (EF)
,
LINQ To SQL
,
LINQ To Object
,
Bug
Wed, Sep 17 2008 3:19
TPT with designer can generate errors 3034 or 3021
I found two cases of errors generated by the EDM designer when you want to do TPT. Error 3034: Imagine the following scenario: A table Contacts ContactID (PK) A table Employees ContactID (PK) OfficeID (Nullable, FK to Offices.OfficeID) A table Offices...
Posted by
Matthieu MEZIL
|
6 comment(s)
Filed under:
.Net
,
Entity Framework (EF)
,
Entity Data Model (EDM)
,
Bug
Wed, Jun 4 2008 12:05
Reflector IL to C# Bug
I was watching Entity Framework code when I found this code: switch ( this .<>1__state) { case 3 : case 4 : break ; default : return ; try { } finally { this . d__0.<>m__Finally6();" href="http://www.aisto.com/roeder/dotnet/Default...
Posted by
Matthieu MEZIL
| with
no comments
Filed under:
.Net
,
C#
,
MSIL
,
VB .Net
,
Bug
Wed, Jun 4 2008 9:33
Reflector Bug with generics
For this code: class A <T> { public A() { var b = new B (); } class B : A <T> { } } Reflector generates this: class A <T> { public A() { var b = new B <T> (); } class B : A <T> { } } which isn't correct.
Posted by
Matthieu MEZIL
|
2 comment(s)
Filed under:
.Net
,
Bug