2 writes to locale
System.Workflow.ComponentModel (2)
AuthoringOM\Compiler\XomlCompilerHelpers.cs (2)
889
assemblyMetadata.
locale
= Marshal.AllocCoTaskMem((int)(2 * (assemblyMetadata.localeSize + 1)));
917
assemblyMetadata.
locale
= IntPtr.Zero;
4 references to locale
System.Workflow.ComponentModel (4)
AuthoringOM\Compiler\XomlCompilerHelpers.cs (4)
904
yield return String.Format("{0}, {1}, Version={2}.{3}.{4}.{5}, Culture={6}, PublicKeyToken={7}", typeRefName, Marshal.PtrToStringUni(assemblyName), assemblyMetadata.majorVersion, assemblyMetadata.minorVersion, assemblyMetadata.buildNumber, assemblyMetadata.revisionNumber, String.IsNullOrEmpty(Marshal.PtrToStringUni(assemblyMetadata.
locale
)) ? "neutral" : Marshal.PtrToStringUni(assemblyMetadata.
locale
), String.IsNullOrEmpty(publicKeyString) ? "null" : publicKeyString);
914
if (assemblyMetadata.
locale
!= IntPtr.Zero && assemblyMetadata.localeSize > 0)
916
Marshal.FreeCoTaskMem(assemblyMetadata.
locale
);