55 references to None
Microsoft.Build (8)
BackEnd\Components\RequestBuilder\TargetBuilder.cs (5)
162
await PushTargets(targets, null, baseLookup, false, false, TargetBuiltReason.
None
);
279
bool pushed = await PushTargets(targetToPush, currentTargetEntry, callTargetLookup, false, true, TargetBuiltReason.
None
);
501
false, TargetBuiltReason.
None
);
710
if (buildReason == TargetBuiltReason.BeforeTargets || buildReason == TargetBuiltReason.DependsOn || buildReason == TargetBuiltReason.
None
)
740
TargetBuiltReason entryReason = buildReason == TargetBuiltReason.
None
? targetSpecification._targetBuiltReason : buildReason;
BackEnd\Components\RequestBuilder\TargetSpecification.cs (1)
30
internal TargetSpecification(string targetName, ElementLocation referenceLocation, TargetBuiltReason targetBuiltReason = TargetBuiltReason.
None
)
BackEnd\Components\RequestBuilder\TargetUpToDateChecker.cs (1)
241
BuildReason = TargetBuiltReason.
None
,
Logging\BinaryLogger\BuildEventArgsReader.cs (1)
801
var buildReason = _fileFormatVersion > 3 ? (TargetBuiltReason)ReadInt32() : TargetBuiltReason.
None
;
Microsoft.Build.CommandLine.UnitTests (1)
TerminalLogger_Tests.cs (1)
152
return new TargetStartedEventArgs("", "", targetName, projectFile, targetFile: projectFile, String.Empty, TargetBuiltReason.
None
, _targetStartTime)
Microsoft.Build.Engine.UnitTests (45)
BackEnd\IntrinsicTask_Tests.cs (2)
3962
nodeContext.LogProjectStarted(entry).LogTargetBatchStarted(projectInstance.FullPath, projectInstance.Targets["t"], null, TargetBuiltReason.
None
),
3997
nodeContext.LogProjectStarted(entry).LogTargetBatchStarted(projectInstance.FullPath, projectInstance.Targets["t"], null, TargetBuiltReason.
None
),
BackEnd\LoggingServicesLogMethod_Tests.cs (4)
1172
service.LogTargetStarted(null, "MyTarget", "ProjectFile", "ProjectFileOfTarget", null, TargetBuiltReason.
None
);
1525
service.LogTargetStarted(s_targetBuildEventContext, targetName, projectFile, projectFileOfTarget, String.Empty, TargetBuiltReason.
None
);
1531
service.LogTargetStarted(s_targetBuildEventContext, targetName, projectFile, projectFileOfTarget, null, TargetBuiltReason.
None
);
1603
TargetBuiltReason.
None
,
BackEnd\TargetBuilder_Tests.cs (34)
104
(string name, TargetBuiltReason reason)[] target = { ("Empty", TargetBuiltReason.
None
) };
125
(string name, TargetBuiltReason reason)[] target = { ("Baz", TargetBuiltReason.
None
) };
151
(string name, TargetBuiltReason reason)[] target = { ("DepSkip", TargetBuiltReason.
None
) };
180
(string name, TargetBuiltReason reason)[] target = { ("DepError", TargetBuiltReason.
None
) };
365
(string name, TargetBuiltReason reason)[] target = { ("Build", TargetBuiltReason.
None
) };
505
(string name, TargetBuiltReason reason)[] target = { ("Build", TargetBuiltReason.
None
) };
531
(string name, TargetBuiltReason reason)[] target = { ("Build", TargetBuiltReason.
None
) };
557
(string name, TargetBuiltReason reason)[] target = { ("Build;Me", TargetBuiltReason.
None
) };
587
(string name, TargetBuiltReason reason)[] target = { ("Build", TargetBuiltReason.
None
) };
622
(string name, TargetBuiltReason reason)[] target = { ("Build", TargetBuiltReason.
None
) };
654
(string name, TargetBuiltReason reason)[] target = { ("Build", TargetBuiltReason.
None
) };
685
(string name, TargetBuiltReason reason)[] target = { ("Foo", TargetBuiltReason.
None
) };
711
(string name, TargetBuiltReason reason)[] target = { ("Build", TargetBuiltReason.
None
) };
747
(string name, TargetBuiltReason reason)[] target = { ("Build", TargetBuiltReason.
None
) };
773
(string name, TargetBuiltReason reason)[] target = { ("Build", TargetBuiltReason.
None
) };
800
(string name, TargetBuiltReason reason)[] target = { ("Build", TargetBuiltReason.
None
) };
830
(string name, TargetBuiltReason reason)[] target = { ("Build", TargetBuiltReason.
None
) };
874
(string name, TargetBuiltReason reason)[] target = { ("PostBuild", TargetBuiltReason.
None
) };
901
(string name, TargetBuiltReason reason)[] target = { ("Build", TargetBuiltReason.
None
) };
928
(string name, TargetBuiltReason reason)[] target = { ("Build;Me", TargetBuiltReason.
None
) };
960
(string name, TargetBuiltReason reason)[] target = { ("Build", TargetBuiltReason.
None
) };
984
BuildResult result = BuildSimpleProject(projectBody, new (string name, TargetBuiltReason reason)[] { ("Build", TargetBuiltReason.
None
) }, failTaskNumber: 2 /* Fail on After */);
1009
BuildResult result = BuildSimpleProject(projectBody, new (string name, TargetBuiltReason reason)[] { ("Build", TargetBuiltReason.
None
) }, failTaskNumber: 3 /* Fail on After2 */);
1028
BuildResult result = BuildSimpleProject(projectBody, new (string name, TargetBuiltReason reason)[] { ("Build", TargetBuiltReason.
None
) }, failTaskNumber: int.MaxValue /* no task failure needed here */);
1058
(string name, TargetBuiltReason reason)[] target = { ("Foo", TargetBuiltReason.
None
) };
1093
(string name, TargetBuiltReason reason)[] target = { ("Build", TargetBuiltReason.
None
) };
1144
(string name, TargetBuiltReason reason)[] target = { ("Build", TargetBuiltReason.
None
) };
1204
(string name, TargetBuiltReason reason)[] target = { ("Build", TargetBuiltReason.
None
) };
1246
(string name, TargetBuiltReason reason)[] target = { ("Build", TargetBuiltReason.
None
) };
1292
(string name, TargetBuiltReason reason)[] target = { ("Build", TargetBuiltReason.
None
) };
1323
(string name, TargetBuiltReason reason)[] target = { ("Build", TargetBuiltReason.
None
) };
1397
(string name, TargetBuiltReason reason)[] target = { ("Build", TargetBuiltReason.
None
) };
1430
(string name, TargetBuiltReason reason)[] target = { ("Build", TargetBuiltReason.
None
) };
1457
(string name, TargetBuiltReason reason)[] target = { ("NotFound", TargetBuiltReason.
None
) };
BackEnd\TargetEntry_Tests.cs (5)
86
TargetEntry entry = new TargetEntry(requestEntry, this, null, lookup, null, TargetBuiltReason.
None
, _host, null, false);
100
TargetEntry entry = new TargetEntry(requestEntry, this, new TargetSpecification("Empty", null), null, null, TargetBuiltReason.
None
, _host, null, false);
116
TargetEntry entry = new TargetEntry(requestEntry, this, new TargetSpecification("Empty", null), lookup, null, TargetBuiltReason.
None
, null, null, false);
1031
TargetEntry entry = new TargetEntry(requestEntry, this, new TargetSpecification(targetName, project.Targets[targetName].Location), lookup, null, TargetBuiltReason.
None
, _host, null, false);
1047
TargetEntry entry = new TargetEntry(requestEntry, this, new TargetSpecification(target, project.Targets[target].Location), baseEntry.Lookup, baseEntry, TargetBuiltReason.
None
, _host, null, false);
Microsoft.Build.Framework (1)
TargetStartedEventArgs.cs (1)
48
: this(message, helpKeyword, targetName, projectFile, targetFile, String.Empty, TargetBuiltReason.
None
, DateTime.UtcNow)