1 override of IndicateFailure
Microsoft.Build (1)
BackEnd\Components\SdkResolution\SdkResultFactory.cs (1)
26public override SdkResultBase IndicateFailure(IEnumerable<string> errors, IEnumerable<string> warnings = null)
8 references to IndicateFailure
Microsoft.Build.Engine.UnitTests (8)
BackEnd\SdkResolverService_Tests.cs (5)
862return factory.IndicateFailure(new[] { "ERROR1" }); 881return factory.IndicateFailure(new[] { "ERROR2" }, new[] { "WARNING2" }); 900return factory.IndicateFailure(new[] { "ERROR3" }); 919return factory.IndicateFailure(new[] { "ERROR4" }, new[] { "WARNING4" }); 935return factory.IndicateFailure(new string[] { "notfound" });
Evaluation\ProjectSdkImplicitImport_Tests.cs (2)
809SdkName => factory.IndicateFailure(new[] { ErrorVersion }), 810_ => factory.IndicateFailure(new[] { ErrorName })
InternalEngineHelpers.cs (1)
150: factory.IndicateFailure(new[] { $"Not in {nameof(_mapping)}" });