https://bugzilla.novell.com/show_bug.cgi?id=331191

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=331191#c4


John Anderson <[EMAIL PROTECTED]> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |[EMAIL 
PROTECTED]




--- Comment #4 from John Anderson <[EMAIL PROTECTED]>  2008-04-01 10:34:11 MST 
---
I think this code example is because of the same bug:

using System;
using System.Collections.Generic;


internal class InitializeHelper<T> where T : DataObject, new()
{
    public delegate void PerformInitializeCallback(T t, string attr, int
reader);
    public InitializeHelper(PerformInitializeCallback perform, string attr)
    {

    }
}
public abstract class DataObject
{
   public DataObject() { } 
}
public class MsSqlDataObjectFactory : BaseFactory
{
    T[] ExecuteReaderAndGetObjects<T>(int command, string attr) where T :
DataObject, new()
    {
        InitializeHelper<T> helper = new
InitializeHelper<T>(InitializeDataObject, attr);
        return new T[] { };
    }
}
public abstract class BaseFactory
{
    protected void InitializeDataObject(DataObject ob, string attr, int reader)
    {
    }
}


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to