JustDecompiler formatting

2 posts, 0 answers
  1. Eric Schoenholzer
    Eric Schoenholzer avatar
    138 posts
    Member since:
    Mar 2004

    Posted 15 Mar 2012 Link to this post

    Seems to be an error in the formatting:


    Microsoft.WindowsAzure.Data.ConnectionString
     
     CloudStorageAccount account = null;
     
                NotificationServiceContext.Current.Configure(
                    c =>
                        c.AuthenticateRequest = (currentRequest => true);
                        c.AuthorizeManagementRequest = (currentRequest => true);
                        c.AuthorizeRegistrationRequest = null;
     
                        CloudStorageAccount.SetConfigurationSettingPublisher((configName, configSetter) =>
                             configSetter(RoleEnvironment.GetConfigurationSettingValue(configName)));
                        account = CloudStorageAccount.FromConfigurationSetting("Microsoft.WindowsAzure.Data.ConnectionString");
                        TraceHelper.TraceInformation("NotificationServiceContext: Cloud");
                         
                        c.StorageProvider = new WindowsAzureEndpointRepository(account);
                    });
                cloudBlobClient = account.CreateCloudBlobClient();

    Gives:
    NotificationServiceContext.Current.Configure((NotificationServiceConfig c) => {
        NotificationServiceConfig cS$<>9_CachedAnonymousMethodDelegate6 = c;
        if (NotificationService.CS$<>9__CachedAnonymousMethodDelegate6 == null)
        {
            NotificationService.CS$<>9__CachedAnonymousMethodDelegate6 = (HttpRequestMessage currentRequest) => true;
        }
        cS$<>9_CachedAnonymousMethodDelegate6.AuthenticateRequest = NotificationService.CS$<>9__CachedAnonymousMethodDelegate6;
        NotificationServiceConfig cS$<>9_CachedAnonymousMethodDelegate7 = c;
        if (NotificationService.CS$<>9__CachedAnonymousMethodDelegate7 == null)
        {
            NotificationService.CS$<>9__CachedAnonymousMethodDelegate7 = (HttpRequestMessage currentRequest) => true;
        }
        cS$<>9_CachedAnonymousMethodDelegate7.AuthorizeManagementRequest = NotificationService.CS$<>9__CachedAnonymousMethodDelegate7;
        c.AuthorizeRegistrationRequest = null;
        if (NotificationService.CS$<>9__CachedAnonymousMethodDelegate8 == null)
        {
            NotificationService.CS$<>9__CachedAnonymousMethodDelegate8 = (string configName, Func<string, bool> configSetter) => configSetter(RoleEnvironment.GetConfigurationSettingValue(configName));
        }
        CloudStorageAccount.SetConfigurationSettingPublisher(NotificationService.CS$<>9__CachedAnonymousMethodDelegate8);
        null = CloudStorageAccount.FromConfigurationSetting("Microsoft.WindowsAzure.Data.ConnectionString");
        TraceHelper.TraceInformation("NotificationServiceContext: Cloud", new object[0]);
        c.StorageProvider = new WindowsAzureEndpointRepository(null);
    }
    );
    this.cloudBlobClient = null.CreateCloudBlobClient();


    Variable is replaced with value "null".
    Should show variable "account"

    Thanks
    Eric
  2. Yordan Dikov
    Admin
    Yordan Dikov avatar
    69 posts

    Posted 21 Mar 2012 Link to this post

    Hello Eric,

     Thanks for getting in touch with us. Thanks for pointing out these problems. We've logged them, and we'll definitely fix it in some of the upcoming updates. Stay tuned and don't hesitate to write us about anything else that bothers you in JD.

    Greetings,
    Yordan Dikov
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. DevCraft banner
Back to Top