29 references to NotNull
Microsoft.Build (19)
BackEnd\BuildManager\BuildManager.cs (1)
3382
Assumed.
NotNull
(castPacket, $"Incorrect packet type: {packet.Type} should have been {expectedType}");
BackEnd\BuildManager\LegacyThreadingData.cs (4)
130
Assumed.
NotNull
(legacyThreadingEvents, $"We're trying to wait on the legacy thread for submission {submissionId}, but that submission has not been registered.");
148
Assumed.
NotNull
(legacyThreadingEvents, $"We're trying to track when the legacy thread for submission {submissionId} goes inactive, but that submission has not been registered.");
169
Assumed.
NotNull
(legacyThreadingEvents, $"We're trying to signal that the legacy thread is ready for submission {submissionId} to execute, but that submission has not been registered");
191
Assumed.
NotNull
(legacyThreadingEvents, $"We're trying to signal that submission {submissionId} is done with the legacy thread, but that submission has not been registered");
BackEnd\Components\Communications\TranslatorExtensions.cs (1)
83
Assumed.
NotNull
(constructor, $"{typeName} must have a private parameterless constructor");
BackEnd\Components\Logging\LoggingService.cs (1)
1596
Assumed.
NotNull
(buildEventArgs, $"Unknown logging item in queue: {loggingEvent.GetType().FullName}");
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (3)
139
Assumed.
NotNull
(projectFile, $"ContextID {buildEventContext.ProjectContextId} should have been in the ID-to-project file mapping but wasn't!");
179
Assumed.
NotNull
(projectFile, $"ContextID {buildEventContext.ProjectContextId} should have been in the ID-to-project file mapping but wasn't!");
331
Assumed.
NotNull
(projectFile, $"ContextID {buildEventContext.ProjectContextId} should have been in the ID-to-project file mapping but wasn't!");
BackEnd\Components\ProjectCache\ProjectCacheService.cs (2)
622
Assumed.
NotNull
(plugin.PluginInstance, $"Plugin '{plugin.Name}' instance is null");
900
Assumed.
NotNull
(plugin.PluginInstance, $"Plugin '{plugin.Name}' instance is null");
BackEnd\Components\Scheduler\SchedulingData.cs (2)
491
Assumed.
NotNull
(returnValue, $"Global Request Id {globalRequestId} has not been assigned and cannot be retrieved.");
723
Assumed.
NotNull
(request, $"Request {globalRequestId} was expected to be in state {state} but is not scheduled at all (it may be unscheduled or may be unknown to the system.)");
Evaluation\Expander.cs (1)
4327
Assumed.
NotNull
(receiverType, $"Type information for {typeName} was present in the allowlist cache as {assemblyQualifiedTypeName} but the type could not be loaded.");
Logging\ParallelLogger\ParallelConsoleLogger.cs (1)
676
Assumed.
NotNull
(startedEvent, $"Project finished event for {e.ProjectFile} received without matching start event");
Resources\AssemblyResources.cs (1)
85
Assumed.
NotNull
(resource, $"Missing resource '{name}'");
src\msbuild\src\Shared\LogMessagePacketBase.cs (1)
448
Assumed.
NotNull
(_buildEvent, $"Not Supported LoggingEventType {_eventType}");
src\msbuild\src\Shared\ResourceUtilities.cs (1)
450
Assumed.
NotNull
(unformattedMessage, $"The resource string \"{resourceName}\" was not found.");
Microsoft.Build.Framework (1)
ReflectableTaskPropertyInfo.cs (1)
80
Assumed.
NotNull
(_propertyInfo, $"Could not find property {Name} on type {_taskType.FullName} that the task factory indicated should exist.");
Microsoft.Build.Tasks.Core (4)
AssemblyResources.cs (2)
27
Assumed.
NotNull
(resource, $"Missing resource '{name}'");
43
Assumed.
NotNull
(resource, $"Missing resource '{name}'");
src\msbuild\src\Shared\LogMessagePacketBase.cs (1)
448
Assumed.
NotNull
(_buildEvent, $"Not Supported LoggingEventType {_eventType}");
src\msbuild\src\Shared\ResourceUtilities.cs (1)
450
Assumed.
NotNull
(unformattedMessage, $"The resource string \"{resourceName}\" was not found.");
Microsoft.Build.Utilities.Core (2)
AssemblyResources.cs (1)
29
Assumed.
NotNull
(resource, $"Missing resource '{name}'");
src\msbuild\src\Shared\ResourceUtilities.cs (1)
450
Assumed.
NotNull
(unformattedMessage, $"The resource string \"{resourceName}\" was not found.");
MSBuild (3)
AssemblyResources.cs (1)
33
Assumed.
NotNull
(resource, $"Missing resource '{name}'");
src\msbuild\src\Shared\LogMessagePacketBase.cs (1)
448
Assumed.
NotNull
(_buildEvent, $"Not Supported LoggingEventType {_eventType}");
src\msbuild\src\Shared\ResourceUtilities.cs (1)
450
Assumed.
NotNull
(unformattedMessage, $"The resource string \"{resourceName}\" was not found.");