22 references to LogWarning
Microsoft.Build (22)
BackEnd\BuildManager\MultiThreadedStrictModeScope.cs (2)
169taskLoggingContext.LogWarning(DiagnosticSubcategory.None, taskLocation, 183taskLoggingContext.LogWarning(DiagnosticSubcategory.None, taskLocation,
BackEnd\Components\RequestBuilder\RequestBuilder.cs (2)
1272_projectLoggingContext.LogWarning(DiagnosticSubcategory.None, location, 1277_projectLoggingContext.LogWarning(DiagnosticSubcategory.None, location,
BackEnd\Components\RequestBuilder\TaskBuilder.cs (2)
173loggingContext.LogWarning( 1049taskLoggingContext.LogWarning(DiagnosticSubcategory.None,
BackEnd\Components\RequestBuilder\TaskHost.cs (1)
1166_taskLoggingContext.LogWarning(DiagnosticSubcategory.None, ElementLocation.Empty, "ExpectedEventToBeSerializable", e.GetType().Name);
BackEnd\Components\SdkResolution\CachingSdkResolverService.cs (1)
79loggingContext.LogWarning(DiagnosticSubcategory.None, sdkReferenceLocation, "ReferencingMultipleVersionsOfTheSameSdk", sdk.Name, result.Version, result.ElementLocation, sdk.Version);
BackEnd\Components\SdkResolution\OutOfProcNodeSdkResolverService.cs (1)
93loggingContext.LogWarning(DiagnosticSubcategory.None, sdkReferenceLocation, "ReferencingMultipleVersionsOfTheSameSdk", sdk.Name, sdkResult.Version, sdkResult.ElementLocation, sdk.Version);
BackEnd\Components\SdkResolution\SdkResolverService.cs (1)
387loggingContext.LogWarning(DiagnosticSubcategory.None, sdkReferenceLocation, "SdkResultVersionDifferentThanReference", sdk.Name, sdk.Version, result.Version);
Definition\Toolset.cs (4)
597loggingContext.LogWarning( 608loggingContext.LogWarning( 910loggingContext.LogWarning(DiagnosticSubcategory.None, ElementLocation.Empty, "OverrideTasksFileFailure", rootedPathMessage); 917loggingContext.LogWarning(DiagnosticSubcategory.None, ElementLocation.Empty, "OverrideTasksFileFailure", rootedPathMessage);
Evaluation\Evaluator.cs (5)
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)
142loggingContext.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)
1338targetLoggingContext.LogWarning(