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