static unsafe void GetMessageFromNativeResources(int kind, StringPtrOnStack msg) { switch (kind) { case 1: *msg.ptr = CastOperations.ReinterpretAsPointer("ThreadAbort"); break; case 2: *msg.ptr = CastOperations.ReinterpretAsPointer("ThreadInterrupted"); break; case 3: *msg.ptr = CastOperations.ReinterpretAsPointer("OutOfMemory"); break; default: *msg.ptr = CastOperations.ReinterpretAsPointer("Unknown Exception (GetMessageFromNativeResources)"); break; } }
static unsafe bool ManifestBasedResourceGroveler_GetNeutralResourcesLanguageAttribute(TysosAssembly a, StringPtrOnStack cultureName, out short fallbackLocation) { *cultureName.ptr = CastOperations.ReinterpretAsPointer(""); fallbackLocation = 0; return(false); }