1 implementation of WriteError
Microsoft.DotNet.VersionTools.Cli (1)
ConsoleLogger.cs (1)
15
public void
WriteError
(string message, params object[] values)
7 references to WriteError
Microsoft.DotNet.VersionTools.Cli (3)
VersionTrimmingOperation.cs (3)
37
_context.Logger.
WriteError
($"{_context.AssetsDirectory} does not exist");
60
_context.Logger.
WriteError
($"Asset {assetFileName} in not a valid nuget package: {e.Message}");
75
_context.Logger.
WriteError
($"Version trimming of {assetFileName} failed: {e.Message}");
Microsoft.DotNet.VersionTools.Cli.Tests (4)
VersionTrimmingOperationTests.cs (4)
72
logger.Setup(m => m.
WriteError
(It.IsAny<string>())).Verifiable();
88
logger.Verify(v => v.
WriteError
(It.IsAny<string>()), Times.Exactly(1));
105
logger.Setup(m => m.
WriteError
(It.IsAny<string>())).Verifiable();
124
logger.Verify(v => v.
WriteError
(It.IsAny<string>()), Times.Exactly(1));