Open cristianosuzuki77 opened 4 years ago
String Resource ID | 0; "ERR_CannotSpecifyManagedWithUnmanagedSpecifiers" |
---|---|
Source String | 'managed' calling convention cannot be combined with unmanaged calling convention specifiers. |
Filename | Compilers\CSharp\Portable\xlf\CSharpResources.xlf |
Question | Is "managed" localizable? |
@crsuzukimsft
No managed
refers to a keyword in syntax. So it should not be translated.
Illustration:
UsingStatement("delegate* managed[Cdecl]<void> ptr;", options: TestOptions.RegularPreview,
// (1,18): error CS8888: 'managed' calling convention cannot be combined with unmanaged calling convention specifiers.
// delegate* managed[Cdecl]<void> ptr;
Diagnostic(ErrorCode.ERR_CannotSpecifyManagedWithUnmanagedSpecifiers, "[Cdecl]").WithLocation(1, 18)
);