Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bug: Intellisense with class derrived from Generics

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Bug: Intellisense with class derrived from Generics

    This is very subtle but I thought I would go ahead and document it. The intellisense handling with Generics has been greatly improved with NinjaTrader 7 over 6.5.




    But here is a scenario where it still fails:

    Code:
    private class Fruit
    {
       public int ripe;
       public int rotton;
    }
    
    private class FruitBowl : List<Fruit>
    {
       public void CheckFruit()
       {
          for(int i = 0; i < this.Count; i++)
          {
             this[i].    //Intellisense fails here.  We should see a list with ripe and rotton.
          }
       }
    }

    thanks,
    shawnj

    #2
    shawnj, thanks for reporting in - will check with development into shortly.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by kinfxhk, 07-13-2026, 10:18 AM
    0 responses
    24 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 09:50 AM
    0 responses
    14 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 07:21 AM
    0 responses
    21 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-11-2026, 02:11 AM
    0 responses
    20 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    135 views
    0 likes
    Last Post SalmaTrader  
    Working...
    X