15 references to Utilities
Microsoft.Build.Tasks.CodeAnalysis.Sdk (15)
src\Compilers\Core\MSBuildTask\CommandLineBuilderExtension.cs (1)
268
bool flagSet =
Utilities
.TryConvertItemMetadataToBool(parameter, metadataNames[i]);
src\Compilers\Core\MSBuildTask\Csc.cs (2)
363
bool embed =
Utilities
.TryConvertItemMetadataToBool(reference,
404
throw
Utilities
.GetLocalizedArgumentException(
src\Compilers\Core\MSBuildTask\ManagedCompiler.cs (1)
1099
item.ItemSpec =
Utilities
.GetFullPathNoThrow(item.ItemSpec);
src\Compilers\Core\MSBuildTask\MapSourceRoots.cs (5)
78
return string.IsNullOrEmpty(path) ? path : EnsureEndsWithSlash(
Utilities
.GetFullPathNoThrow(path));
177
string nestedRoot =
Utilities
.FixFilePath(root.GetMetadata(Names.NestedRoot));
180
string containingRoot = NormalizePath(
Utilities
.FixFilePath(root.GetMetadata(Names.ContainingRoot)));
187
if (
Utilities
.TryCombine(containingRoot, nestedRoot, out var combinedPath))
189
var fullOriginalPath =
Utilities
.GetFullPathNoThrow(combinedPath);
src\Compilers\Core\MSBuildTask\Utilities.cs (2)
51
throw
Utilities
.GetLocalizedArgumentException(
77
throw
Utilities
.GetLocalizedArgumentException(
src\Compilers\Core\MSBuildTask\Vbc.cs (4)
325
Utilities
.DeleteNoThrow(desiredPdbInfo.FullName);
333
catch (Exception e) when (
Utilities
.IsIoRelatedException(e))
374
throw
Utilities
.GetLocalizedArgumentException(e,
582
bool embed =
Utilities
.TryConvertItemMetadataToBool(reference, "EmbedInteropTypes");