2 writes to FileLength
Microsoft.NET.Sdk.BlazorWebAssembly.Tasks (2)
StaticWebAsset.cs (2)
512
FileLength
= FileLength == -1 ? file.Length : FileLength;
726
FileLength
= fileLength,
19 references to FileLength
Microsoft.NET.Sdk.BlazorWebAssembly.Tasks (19)
StaticWebAsset.cs (19)
74
_fileLength = asset.
FileLength
;
280
internal string FileLengthString => _fileLengthString ??= GetOriginalItemMetadata(nameof(
FileLength
));
507
if (string.IsNullOrEmpty(Fingerprint) || string.IsNullOrEmpty(Integrity) ||
FileLength
== -1 || LastWriteTime == DateTimeOffset.MinValue)
512
FileLength =
FileLength
== -1 ? file.Length :
FileLength
;
673
if (
FileLength
< 0)
858
result =
FileLength
.CompareTo(other.
FileLength
);
975
FileLength
== other.
FileLength
&&
1134
$"FileLength: {
FileLength
}, " +
1146
hash.Add(
FileLength
);
1348
nameof(
FileLength
),
1401
nameof(
FileLength
) => GetFileLengthAsString() ?? "",
1408
FileLength
== -1 ? (FileLengthString ?? "") :
FileLength
.ToString(CultureInfo.InvariantCulture);
1472
case nameof(
FileLength
):
1510
{ nameof(
FileLength
), GetFileLengthAsString() ?? "" },
1549
destinationItem.SetMetadata(nameof(
FileLength
), GetFileLengthAsString() ?? "");