Search Issue Tracker

Fixed in 2020.1.X

Fixed in 2019.3.X

Votes

0

Found in

2019.1

Issue ID

1213506

Regression

No

ApiUpdater may leave orphan usings when only type qualified references were present in the source

Scripting

-

In some scenarios after ApiUpdater runs old, non existing namespaces may be left in using clauses.

This may happen if Unity changes a type to a namespace that already exists and is already imported in the script.

For instance, consider the following:

// In UnityEngine.dll
namespace UnityEngine.Foo
{
class Bar {}

class Baz {} // Originally in UnityEngine.Other
}

// in user code
using UnityEngine.Foo;
using UnityEngine.Other;

class C : UnityEngine.Other.Baz
{
}

When ApiUpdater finishes updating user code it will looks something like:

// in user code
using UnityEngine.Foo;
using UnityEngine.Other; // Should have been removed

class C : Baz
{
}

Comments (63)

  1. BuyIce420Snow

    Apr 11, 2022 00:29

    <a href="ice420store.com.au/product-tag/alprax-25/"rel="dofollow">Buy Alprax .25 online in bulk</a>

  2. BuyIce420Snow

    Apr 11, 2022 00:26

    Psychedelic near me , buy psychedelics in New zeeland , buy DMT in uk , Buy 4 - MeO DMT near me , buy Shard online , buy GHB online in victoria Australia , buy psychedelics and Ecstasy online Melbourne Australia , buy a Ecstasy near me , buy psychedelics in uk , buy psychedelics or ecstacy in New Zeeland , buy Ecstasy ( Mdma ) in Australia , Buy Mdma ( Ecstasy ) near me , buy Lsd ( acids ) online , buy acids ( Lsd ) online in victoria Australia , buy Lsd online , buy psychedelics online Melbourne Australia , buy ket power near me , XTC ( ECSTASY ) for sale near me , DMT ( Dimethyltryptamine ) near me , Psychedelics for sale near me , how long does psychedelic drugs last in the body , how long does psychedelics last , are psychedelics a good drug , Is psychedelic a good stimulant , is psychedelic a good drug , are psychedelics good stimulant , what is psychedelic mushroom, what is Dimethyltryptamine , what is psychedelic, what is psychedelics or psychedelic drugs, where can i buy psychedelics near me , where can i buy 4 - MeO DMT online in australia , where can i buy DMT powder in Australia , where can i buy Dimethyltryptamine near me , where can i buy psychedelics drugs online in australia , where can i buy psychedelics in Australia , where to buy 4 - MeO DMT near me , where to buy psychedelics near me , where to buy psychedelics or psychedelics drugs online in sydney Australia , where to buy - Psychedelics online in sydney Australia
    ice420store.com.au
    ice420store.com.au/product-tag/alprax-25/
    ice420store.com.au/product/ketamine-ket

  3. BuyIce420Snow

    Apr 11, 2022 00:09

    ice420store.com.au
    ice420store.com.au/product-tag/alprax-25/

  4. babitadalalx

    Dec 02, 2021 05:12

    linktr.ee/babitadalalx
    babitadalal.8b.io/
    babitaescorts.com/kolkata-escorts/
    babitaescorts.com/kharagpur-escorts/

  5. infinitopratik

    Apr 26, 2021 11:56

    Thanks for sharing the post
    bit.ly/3tUe7d4

  6. sovojacket

    Apr 14, 2021 16:03

    On Friday, ESPN broke the news that Dustin Poirier (27-6, 1 NC) and Conor McGregor (22-5) had officially signed their bout agreements to compete on UFC 264 on July 10. The two lightweights will headline the pay-per-view event that is expected to take place in the T-Mobile Arena in Las Vegas with fans in attendance. twitter.com/McGregorPoirier

  7. sovojacket

    Apr 14, 2021 16:02

    Thanks

  8. pratiekk

    Mar 24, 2021 07:13

    infinitotek.com/courses/devops-certification-training-program
    infinitotek.com/courses/php-full-stack-web-development
    infinitotek.com/courses/sales-training
    infinitotek.com/courses/net-with-c-course
    infinitotek.com/courses/Online DevOps training in Bangalore
    infinitosolutions.in

  9. Naagin5

    Jul 25, 2020 14:05

    Watch Online Naagin 5 Serial Latest Full Episodes of Colors Tv and Voot, Naagin 5 is an Indian Hindi Serial Today Full HD Episodes Online. https://naagin5.co

  10. aq62028

    Jul 24, 2020 05:37

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.