Skip to content

mscorlib recursive resource lookup bug #232

Description

@JonathanBroad

.Net Application running on Japanese windows shows Assert Failure. 'mscorlib recursive resource lookup bug'

The string 'Security_GenericNoType' is not present in the .Net Framework Japanese strings.

Switching the thread CurrentUICulture to CultureInfo.InvariantCulture avoids the popup.

Source Reference points:
Assert.Fail("[mscorlib recursive resource lookup bug]", message, Assert.COR_E_FAILFAST, System.Diagnostics.StackTrace.TraceFormat.NoResourceLookup); in mscorlib/system/environment.cs#L177
message = GetResString("Security_GenericNoType"); in mscorlib/system/security/securityexception.cs#L102

The code that caused the error is creating an IsolatedStorageFileStream

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions