System.Data.SQLite

Check-in [5277ab6c3b]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Bugfix to reflection code
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | sourceforge
Files: files | file ages | folders
SHA1: 5277ab6c3b7eccac87eeb5499f16b7cdfd45c4b9
User & Date: rmsimpson 2005-11-11 22:00:52.000
Context
2005-11-11
22:01
1.0.22.0 check-in: a8dc0d117d user: rmsimpson tags: sourceforge
22:00
Bugfix to reflection code check-in: 5277ab6c3b user: rmsimpson tags: sourceforge
2005-11-10
21:11
Minor reference change check-in: 943d933b95 user: rmsimpson tags: sourceforge
Changes
Unified Diff Ignore Whitespace Patch
Changes to System.Data.SQLite/SQLiteFunction.cs.
405
406
407
408
409
410
411



412






413
414
415


416
417
418
419
420
421
422
    {
      SQLiteFunctionAttribute at;
      System.Reflection.Assembly[] arAssemblies = System.AppDomain.CurrentDomain.GetAssemblies();
      int w = arAssemblies.Length;

      for (int n = 0; n < w; n++)
      {



        Type[] arTypes = arAssemblies[n].GetTypes();






        int v = arTypes.Length;
        for (int x = 0; x < v; x++)
        {


          object[] arAtt = arTypes[x].GetCustomAttributes(false);
          int u = arAtt.Length;
          for (int y = 0; y < u; y++)
          {
            at = arAtt[y] as SQLiteFunctionAttribute;
            if (at != null)
            {







>
>
>
|
>
>
>
>
>
>



>
>







405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
    {
      SQLiteFunctionAttribute at;
      System.Reflection.Assembly[] arAssemblies = System.AppDomain.CurrentDomain.GetAssemblies();
      int w = arAssemblies.Length;

      for (int n = 0; n < w; n++)
      {
        Type[] arTypes;
        try
        {
          arTypes = arAssemblies[n].GetTypes();
        }
        catch (Reflection.ReflectionTypeLoadException e)
        {
          arTypes = e.Types;
        }

        int v = arTypes.Length;
        for (int x = 0; x < v; x++)
        {
          if (arTypes[x] == null) continue;

          object[] arAtt = arTypes[x].GetCustomAttributes(false);
          int u = arAtt.Length;
          for (int y = 0; y < u; y++)
          {
            at = arAtt[y] as SQLiteFunctionAttribute;
            if (at != null)
            {