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