This is a migrated thread and some comments may be shown as answers.

JustDecompiler formatting

1 Answer 17 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Eric Schoenholzer
Top achievements
Rank 2
Eric Schoenholzer asked on 15 Mar 2012, 06:21 PM
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

1 Answer, 1 is accepted

Sort by
0
Yordan Dikov
Telerik team
answered on 21 Mar 2012, 11:15 AM
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 >>
Tags
General Discussions
Asked by
Eric Schoenholzer
Top achievements
Rank 2
Answers by
Yordan Dikov
Telerik team
Share this question
or