112 references to None
Microsoft.Build (111)
BackEnd\BuildManager\BuildManager.cs (3)
1266
BuildEventContext.Invalid, DiagnosticSubcategory.
None
, warningCode, helpKeyword, ElementLocation.Empty, message);
3674
DiagnosticSubcategory.
None
,
3862
DiagnosticSubcategory.
None
,
BackEnd\BuildManager\EnvironmentVariableValidator.cs (1)
46
loggingService.LogWarning(BuildEventContext.Invalid, DiagnosticSubcategory.
None
, ElementLocation.Empty, "DotnetHostPathIsDirectory", dotnetHostPath);
BackEnd\BuildManager\MultiThreadedStrictModeScope.cs (2)
169
taskLoggingContext.LogWarning(DiagnosticSubcategory.
None
, taskLocation,
183
taskLoggingContext.LogWarning(DiagnosticSubcategory.
None
, taskLocation,
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (1)
1580
DiagnosticSubcategory.
None
,
BackEnd\Components\Logging\ILoggingService.cs (4)
423
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
433
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
489
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
499
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
BackEnd\Components\Logging\LoggingContext.cs (5)
202
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
216
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
256
_loggingService.LogWarning(_eventContext, DiagnosticSubcategory.
None
, ElementLocation.Empty, messageResourceName, messageArgs);
262
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
275
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (7)
101
LogError(buildEventContext, DiagnosticSubcategory.
None
, location, messageResourceName, messageArgs);
108
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
126
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
240
LogErrorFromText(buildEventContext, DiagnosticSubcategory.
None
, errorCode, helpKeyword, location, message);
275
LogWarningFromText(buildEventContext, DiagnosticSubcategory.
None
, warningCode, helpKeyword, location, message);
282
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
298
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
BackEnd\Components\ProjectCache\ProjectCacheService.cs (4)
1078
DiagnosticSubcategory.
None
,
1091
DiagnosticSubcategory.
None
,
1133
DiagnosticSubcategory.
None
,
1146
DiagnosticSubcategory.
None
,
BackEnd\Components\RequestBuilder\RequestBuilder.cs (2)
1272
_projectLoggingContext.LogWarning(DiagnosticSubcategory.
None
, location,
1277
_projectLoggingContext.LogWarning(DiagnosticSubcategory.
None
, location,
BackEnd\Components\RequestBuilder\TaskBuilder.cs (2)
174
DiagnosticSubcategory.
None
,
1049
taskLoggingContext.LogWarning(DiagnosticSubcategory.
None
,
BackEnd\Components\RequestBuilder\TaskHost.cs (2)
1166
_taskLoggingContext.LogWarning(DiagnosticSubcategory.
None
, ElementLocation.Empty, "ExpectedEventToBeSerializable", e.GetType().Name);
1296
subcategory: DiagnosticSubcategory.
None
,
BackEnd\Components\SdkResolution\CachingSdkResolverService.cs (1)
79
loggingContext.LogWarning(DiagnosticSubcategory.
None
, sdkReferenceLocation, "ReferencingMultipleVersionsOfTheSameSdk", sdk.Name, result.Version, result.ElementLocation, sdk.Version);
BackEnd\Components\SdkResolution\OutOfProcNodeSdkResolverService.cs (1)
93
loggingContext.LogWarning(DiagnosticSubcategory.
None
, sdkReferenceLocation, "ReferencingMultipleVersionsOfTheSameSdk", sdk.Name, sdkResult.Version, sdkResult.ElementLocation, sdk.Version);
BackEnd\Components\SdkResolution\SdkResolverService.cs (2)
387
loggingContext.LogWarning(DiagnosticSubcategory.
None
, sdkReferenceLocation, "SdkResultVersionDifferentThanReference", sdk.Name, sdk.Version, result.Version);
466
loggingContext.LogWarningFromText(DiagnosticSubcategory.
None
, null, null, location, warning);
BackEnd\Node\OutOfProcNode.cs (1)
632
DiagnosticSubcategory.
None
,
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (1)
2198
_taskLoggingContext.LogWarningFromText(DiagnosticSubcategory.
None
, warningCode, helpKeyword, _taskLocation, message);
BuildCheck\Infrastructure\BuildCheckBuildEventHandler.cs (1)
161
DiagnosticSubcategory.
None
,
BuildCheck\Infrastructure\BuildCheckCentralContext.cs (1)
306
DiagnosticSubcategory.
None
,
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (2)
236
DiagnosticSubcategory.
None
,
347
DiagnosticSubcategory.
None
,
BuildCheck\Infrastructure\BuildEventsProcessor.cs (1)
254
DiagnosticSubcategory.
None
,
BuildCheck\Infrastructure\CheckContext\ICheckContext.cs (2)
34
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
49
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
Definition\Toolset.cs (4)
598
DiagnosticSubcategory.
None
,
609
DiagnosticSubcategory.
None
,
910
loggingContext.LogWarning(DiagnosticSubcategory.
None
, ElementLocation.Empty, "OverrideTasksFileFailure", rootedPathMessage);
917
loggingContext.LogWarning(DiagnosticSubcategory.
None
, ElementLocation.Empty, "OverrideTasksFileFailure", rootedPathMessage);
Errors\ProjectErrorUtilities.cs (50)
28
=> ThrowInvalidProjectCore(DiagnosticSubcategory.
None
, location, innerException: null, resourceName);
39
=> ThrowInvalidProjectCore(DiagnosticSubcategory.
None
, location, innerException: null, resourceName, arg0);
51
=> ThrowInvalidProjectCore(DiagnosticSubcategory.
None
, location, innerException: null, resourceName, arg0, arg1);
64
=> ThrowInvalidProjectCore(DiagnosticSubcategory.
None
, location, innerException: null, resourceName, arg0, arg1, arg2);
75
=> ThrowInvalidProjectCore(DiagnosticSubcategory.
None
, location, innerException: null, resourceName, args);
87
=> ThrowInvalidProjectCore(DiagnosticSubcategory.
None
, location, innerException, resourceName);
100
=> ThrowInvalidProjectCore(DiagnosticSubcategory.
None
, location, innerException, resourceName, arg0);
119
=> ThrowInvalidProjectCore(DiagnosticSubcategory.
None
, location, innerException, resourceName, arg0, arg1);
140
=> ThrowInvalidProjectCore(DiagnosticSubcategory.
None
, location, innerException, resourceName, arg0, arg1, arg2);
156
=> ThrowInvalidProjectCore(DiagnosticSubcategory.
None
, location, innerException, resourceName, args);
161
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
172
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
184
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
202
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
222
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
239
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
256
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
275
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
296
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
319
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
343
=> VerifyThrowInvalidProject(condition, DiagnosticSubcategory.
None
, location, resourceName);
360
=> VerifyThrowInvalidProject(condition, DiagnosticSubcategory.
None
, location, resourceName, arg0);
380
=> VerifyThrowInvalidProject(condition, DiagnosticSubcategory.
None
, location, resourceName, arg0, arg1);
403
=> VerifyThrowInvalidProject(condition, DiagnosticSubcategory.
None
, location, resourceName, arg0, arg1, arg2);
429
=> VerifyThrowInvalidProject(condition, DiagnosticSubcategory.
None
, location, resourceName, arg0, arg1, arg2, arg3);
448
ThrowInvalidProjectCore(DiagnosticSubcategory.
None
, location, innerException: null, resourceName, args);
466
=> VerifyThrowInvalidProject(condition, DiagnosticSubcategory.
None
, location, innerException, resourceName);
485
=> VerifyThrowInvalidProject(condition, DiagnosticSubcategory.
None
, location, innerException, resourceName, arg0);
507
=> VerifyThrowInvalidProject(condition, DiagnosticSubcategory.
None
, location, innerException, resourceName, arg0, arg1);
533
condition, DiagnosticSubcategory.
None
, location, innerException, resourceName, arg0, arg1, arg2);
562
condition, DiagnosticSubcategory.
None
, location, innerException, resourceName, arg0, arg1, arg2, arg3);
583
ThrowInvalidProjectCore(DiagnosticSubcategory.
None
, location, innerException, resourceName, args);
592
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
614
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
639
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
667
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
698
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
727
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
750
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
774
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
801
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
831
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
864
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
895
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
918
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
942
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
968
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
996
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
1026
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
1052
/// <param name="subcategory">The diagnostic subcategory, or <see cref="DiagnosticSubcategory.
None
"/> for no subcategory.</param>
Evaluation\Conditionals\Parser.cs (1)
145
LoggingServices.LogWarning(_logBuildEventContext, DiagnosticSubcategory.
None
, _elementLocation, "ConditionMaybeEvaluatedIncorrectly", expression);
Evaluation\Evaluator.cs (6)
413
DiagnosticSubcategory.
None
,
1274
_evaluationLoggingContext.LogWarning(DiagnosticSubcategory.
None
, ElementLocation.Empty, "ChangeWave_InvalidFormat", Traits.Instance.MSBuildDisableFeaturesFromVersion, $"[{string.Join(", ", ChangeWaves.AllWaves.Select(x => x.ToString()))}]");
1277
_evaluationLoggingContext.LogWarning(DiagnosticSubcategory.
None
, ElementLocation.Empty, "ChangeWave_OutOfRotation", ChangeWaves.DisabledWave, Traits.Instance.MSBuildDisableFeaturesFromVersion, $"[{string.Join(", ", ChangeWaves.AllWaves.Select(x => x.ToString()))}]");
2284
_evaluationLoggingContext.LogWarning(DiagnosticSubcategory.
None
, importLocationInProject, "SelfImport", importFileUnescaped);
2301
_evaluationLoggingContext.LogWarning(DiagnosticSubcategory.
None
, importLocationInProject, "ImportIntroducesCircularity", importFileUnescaped, importedBy);
2328
_evaluationLoggingContext.LogWarning(DiagnosticSubcategory.
None
, importLocationInProject, "DuplicateImport", importFileUnescaped, previouslyImportedAt.Location.LocationString, parenthesizedProjectLocation);
Evaluation\PropertiesUseTracker.cs (1)
142
loggingContext.LogWarning(DiagnosticSubcategory.
None
, propertyElement.Location, "UsedUninitializedProperty", propertyElement.Name, elementWhichUsedProperty?.LocationString);
Instance\TaskFactoryEngineContext.cs (1)
392
_loggingContext.LogWarning(DiagnosticSubcategory.
None
, ElementLocation.Empty, "ExpectedEventToBeSerializable", e.GetType().Name);
Instance\TaskRegistry.cs (1)
1339
DiagnosticSubcategory.
None
,
Utilities\EngineFileUtilities.cs (1)
435
DiagnosticSubcategory.
None
,
Microsoft.Build.Framework (1)
Errors\DiagnosticSubcategoryExtensions.cs (1)
13
DiagnosticSubcategory.
None
=> null,