提交 71c94812 编写于 作者: M Marek Safar

Re-enable EmbedResourceFile overload used by al.exe

上级 a1a32358
......@@ -427,13 +427,14 @@ namespace System.Reflection.Emit
}
#endif
}
/*
// Still in use by al.exe
internal void EmbedResourceFile (string name, string fileName)
{
EmbedResourceFile (name, fileName, ResourceAttributes.Public);
}
internal void EmbedResourceFile (string name, string fileName, ResourceAttributes attribute)
void EmbedResourceFile (string name, string fileName, ResourceAttributes attribute)
{
if (resources != null) {
MonoResource[] new_r = new MonoResource [resources.Length + 1];
......@@ -454,7 +455,7 @@ namespace System.Reflection.Emit
} catch {
}
}
/*
internal void EmbedResource (string name, byte[] blob, ResourceAttributes attribute)
{
if (resources != null) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册