public static ShadowCopyKey CreateResourceKey(string assemblyName, string fullPath) { return(new ShadowCopyKey("<r" + ShadowCopyKey.GetPrefix(fullPath) + ">" + assemblyName)); }
public static ShadowCopyKey CreateBinaryKey(string assemblyName, string fullPath, bool isNativeModule = false) { return(new ShadowCopyKey(string.Format((IFormatProvider)CultureInfo.InvariantCulture, "<{1}b{0}>{2}", (object)ShadowCopyKey.GetPrefix(fullPath), isNativeModule ? (object)"n" : (object)string.Empty, (object)assemblyName))); }