24 references to Utils
WasmAppBuilder (24)
EmccCompile.cs (2)
204
(int exitCode, string output) =
Utils
.RunShellCommand(
221
if (!
Utils
.CopyIfDifferent(tmpObjFile, objFile, useHash: true))
IcallTableGenerator.cs (1)
54
if (
Utils
.CopyIfDifferent(tmpFileName.Path, outputPath, useHash: false))
InterpToNativeGenerator.cs (1)
36
if (
Utils
.CopyIfDifferent(tmpFileName.Path, outputPath, useHash: false))
ManagedToNativeGenerator.cs (2)
109
fixedName =
Utils
.FixupSymbolName(name);
180
if (!
Utils
.IsManagedAssembly(asmPath))
PInvokeTableGenerator.cs (1)
54
if (
Utils
.CopyIfDifferent(tmpFileName.Path, outputPath, useHash: false))
src\tasks\Common\Utils.cs (2)
41
using Stream stream = typeof(
Utils
).Assembly
42
.GetManifestResourceStream($"{typeof(
Utils
).Assembly.GetName().Name}.Templates.{file}")!;
src\tasks\Microsoft.NET.Sdk.WebAssembly.Pack.Tasks\BootJsonBuilderHelper.cs (1)
80
bootConfig.resources.hash =
Utils
.ComputeTextIntegrity(sb.ToString());
WasmAppBuilder.cs (14)
143
var finalWebcil = Path.Combine(runtimeAssetsPath, Path.ChangeExtension(Path.GetFileName(assembly),
Utils
.WebcilInWasmExtension));
144
if (
Utils
.CopyIfDifferent(tmpWebcil.Path, finalWebcil, useHash: true))
182
var itemHash =
Utils
.ComputeIntegrity(item.ItemSpec);
201
if (!
Utils
.IsManagedAssembly(bytes))
209
assemblyPath = Path.Combine(runtimeAssetsPath, Path.ChangeExtension(Path.GetFileName(assembly),
Utils
.WebcilInWasmExtension));
218
assemblyList[assemblyName] =
Utils
.ComputeIntegrity(bytes);
237
pdbList[Path.GetFileName(pdb)] =
Utils
.ComputeIntegrity(pdb);
258
var finalWebcil = Path.Combine(cultureDirectory, Path.ChangeExtension(name,
Utils
.WebcilInWasmExtension));
259
if (
Utils
.CopyIfDifferent(tmpWebcil.Path, finalWebcil, useHash: true))
268
cultureSatelliteResources[Path.GetFileName(finalWebcil)] =
Utils
.ComputeIntegrity(finalWebcil);
278
cultureSatelliteResources[name] =
Utils
.ComputeIntegrity(satellitePath);
331
[$"supportFiles/{generatedFileName}"] =
Utils
.ComputeIntegrity(vfsPath)
354
bootConfig.resources.icu[Path.GetFileName(idfn)] =
Utils
.ComputeIntegrity(idfn);
428
Utils
.CopyIfDifferent(tmpMonoConfigPath.Path, monoConfigPath, useHash: false);