36 references to NotEqual
Microsoft.Build (25)
BackEnd\Components\Logging\LoggingService.cs (6)
894Assumed.NotEqual(_serviceState, LoggingServiceState.Shutdown, " The object is shutdown, should not do any operations on a shutdown component"); 933Assumed.NotEqual(_serviceState, LoggingServiceState.Shutdown, " The object is shutdown, should not do any operations on a shutdown component"); 1011Assumed.NotEqual(loggingPacket.EventType, LoggingEventType.CustomEvent, "Custom event types are no longer supported. Does the sending node have a different version?"); 1028Assumed.NotEqual(_serviceState, LoggingServiceState.Shutdown, " The object is shutdown, should not do any operations on a shutdown component"); 1117Assumed.NotEqual(_serviceState, LoggingServiceState.Shutdown, " The object is shutdown, should not do any operations on a shutdown component"); 1184Assumed.NotEqual(_serviceState, LoggingServiceState.Shutdown, " The object is shutdown, should not do any operations on a shutdown component");
BackEnd\Components\Logging\NodeLoggingContext.cs (1)
26Assumed.NotEqual(nodeId, BuildEventContext.InvalidNodeId, "Should not ever be given an invalid NodeId");
BackEnd\Components\ProjectCache\CacheResult.cs (1)
96Assumed.NotEqual(resultType, CacheResultType.CacheHit, "CantBeCacheHit");
BackEnd\Components\ProjectCache\Experimental\CacheResult.cs (1)
98Assumed.NotEqual(resultType, CacheResultType.CacheHit, "CantBeCacheHit");
BackEnd\Components\RequestBuilder\Lookup.cs (1)
1328Assumed.NotEqual(modificationType, ModificationType.Update, "Modification type may only be update when a value is specified.");
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
685Assumed.NotEqual(_componentHost.LegacyThreadingData.MainThreadSubmissionId, _requestEntry.Request.SubmissionId, "Can't start builder thread when we are using legacy threading semantics for this request.");
BackEnd\Components\RequestBuilder\TaskHost.cs (1)
390Assumed.NotEqual(_yieldThreadId, -1, "Cannot call Reacquire() before Yield().");
BackEnd\Components\Scheduler\Scheduler.cs (4)
1426Assumed.NotEqual(nodeId, InvalidNodeId, "Invalid node id specified."); 1441Assumed.NotEqual(config.ResultsNodeId, InvalidNodeId, "Configuration's results node is not set."); 2194Assumed.NotEqual(parentRequestNode, InvalidNodeId, "Invalid parent node provided."); 2252Assumed.NotEqual(request.ConfigurationId, BuildRequestConfiguration.InvalidConfigurationId, "Requests should have a valid configuration id at this point");
BackEnd\Shared\BuildRequestConfiguration.cs (1)
241Assumed.NotEqual(configId, InvalidConfigurationId, "Configuration ID must not be invalid when using this constructor.");
Definition\Project.cs (2)
3745Assumed.NotEqual(LastEvaluationId, BuildEventContext.InvalidEvaluationId, "Evaluation should produce an evaluation ID"); 3817Assumed.NotEqual(LastEvaluationId, BuildEventContext.InvalidEvaluationId, "Last evaluation ID must be valid after the first evaluation");
Evaluation\Evaluator.cs (1)
660Assumed.NotEqual(_data.EvaluationId, BuildEventContext.InvalidEvaluationId, "Evaluation should produce an evaluation ID");
Evaluation\Expander.cs (1)
1153Assumed.NotEqual(options, ExpanderOptions.Invalid, "Must be expanding metadata of some kind");
Instance\ProjectInstance.cs (1)
3295Assumed.NotEqual(EvaluationId, BuildEventContext.InvalidEvaluationId, "Evaluation should produce an evaluation ID");
src\msbuild\src\Shared\LogMessagePacketBase.cs (2)
386Assumed.NotEqual(_eventType, LoggingEventType.CustomEvent, "_eventType should not be a custom event"); 427Assumed.NotEqual(_eventType, LoggingEventType.CustomEvent, "_eventType should not be a custom event");
src\msbuild\src\Shared\NodeEndpointOutOfProcBase.cs (1)
315Assumed.NotEqual(_packetPump.ManagedThreadId, Thread.CurrentThread.ManagedThreadId, "Can't join on the same thread.");
Microsoft.Build.Framework (1)
ReuseableStringBuilder.cs (1)
189Assumed.NotEqual(_capacity, -1, "Reusing after dispose");
Microsoft.Build.Tasks.Core (6)
src\msbuild\src\Shared\LanguageParser\StreamMappedString.cs (2)
195Assumed.NotEqual(originalPageNumber, _currentPageNumber, "Expected a new page."); 290Assumed.NotEqual(_charactersRead, _pageSize, "Attempt to append to non-last page.");
src\msbuild\src\Shared\LanguageParser\tokenCharReader.cs (2)
267Assumed.NotEqual(originalPosition, _position, "Expected position to be incremented."); 274Assumed.NotEqual(originalPosition, _position, "Expected position to be incremented.");
src\msbuild\src\Shared\LogMessagePacketBase.cs (2)
386Assumed.NotEqual(_eventType, LoggingEventType.CustomEvent, "_eventType should not be a custom event"); 427Assumed.NotEqual(_eventType, LoggingEventType.CustomEvent, "_eventType should not be a custom event");
Microsoft.Build.Utilities.Core (1)
ToolTask.cs (1)
1052Assumed.NotEqual(Timeout, System.Threading.Timeout.Infinite, "A time-out value must have been specified or the task must be cancelled.");
MSBuild (3)
src\msbuild\src\Shared\LogMessagePacketBase.cs (2)
386Assumed.NotEqual(_eventType, LoggingEventType.CustomEvent, "_eventType should not be a custom event"); 427Assumed.NotEqual(_eventType, LoggingEventType.CustomEvent, "_eventType should not be a custom event");
src\msbuild\src\Shared\NodeEndpointOutOfProcBase.cs (1)
315Assumed.NotEqual(_packetPump.ManagedThreadId, Thread.CurrentThread.ManagedThreadId, "Can't join on the same thread.");