16 references to Names
Microsoft.Build.Tasks.CodeAnalysis (16)
MapSourceRoots.cs (16)
101Log.LogErrorFromResources("MapSourceRoots.PathMustEndWithSlashOrBackslash", Names.SourceRoot, sourceRoot.ItemSpec);
128if (!string.IsNullOrEmpty(root.GetMetadata(Names.SourceControl)) == sourceControlled)
131string nestedRoot = root.GetMetadata(Names.NestedRoot);
138Log.LogErrorFromResources("MapSourceRoots.ContainsDuplicate", Names.SourceRoot, localPath);
145root.SetMetadata(Names.MappedPath, mappedPath);
160Log.LogErrorFromResources("MapSourceRoots.NoTopLevelSourceRoot", Names.SourceRoot, Names.DeterministicSourcePaths);
167string nestedRoot = root.GetMetadata(Names.NestedRoot);
170string containingRoot = root.GetMetadata(Names.ContainingRoot);
177root.SetMetadata(Names.MappedPath, mappedTopLevelPath + EnsureEndsWithSlash(nestedRoot.Replace('\\', '/')));
181Log.LogErrorFromResources("MapSourceRoots.NoSuchTopLevelSourceRoot", Names.SourceRoot + "." + Names.ContainingRoot, Names.SourceRoot, containingRoot);
190root.SetMetadata(Names.MappedPath, root.ItemSpec);
207foreach (var metadataName in Names.SourceRootMetadataNames)
214Log.LogWarningFromResources("MapSourceRoots.ContainsDuplicate", Names.SourceRoot, left.ItemSpec, metadataName, leftValue, rightValue);