131 instantiations of BuildEventFileInfo
Microsoft.Build (131)
BackEnd\BuildManager\BuildManager.cs (4)
2202
((IBuildComponentHost)this).LoggingService.LogFatalBuildError(buildEventContext, ex, new
BuildEventFileInfo
(submission.BuildRequestData.ProjectFullPath));
2835
loggingService?.LogError(buildEventContext, new
BuildEventFileInfo
(string.Empty) /* no project file */, "ChildExitedPrematurely", node, DebugUtils.DebugDumpPath, exception);
2844
loggingService?.LogError(BuildEventContext.Invalid, new
BuildEventFileInfo
(string.Empty) /* no project file */, "ChildExitedPrematurely", node, DebugUtils.DebugDumpPath, shutdownPacket.Exception.ToString());
2990
((IBuildComponentHost)this).LoggingService.LogError(buildEventContext, new
BuildEventFileInfo
(String.Empty), "UnableToCreateNode", response.RequiredNodeType.ToString("G"));
BackEnd\Components\ProjectCache\ProjectCacheService.cs (2)
585
var buildEventFileInfo = new
BuildEventFileInfo
(buildRequest.ProjectFullPath);
873
var buildEventFileInfo = new
BuildEventFileInfo
(requestConfiguration.ProjectFullPath);
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
308
_projectLoggingContext.LogError(new
BuildEventFileInfo
(String.Empty), "FailedToReceiveTaskThreadStatus", BuildParameters.RequestBuilderShutdownTimeout);
BackEnd\Components\RequestBuilder\TargetUpToDateChecker.cs (2)
277
_loggingService.LogError(_buildEventContext, new
BuildEventFileInfo
(String.Empty), "BuildTargetCompletely", _targetToAnalyze.Name);
295
_loggingService.LogError(_buildEventContext, new
BuildEventFileInfo
(String.Empty), "BuildTargetPartially", _targetToAnalyze.Name);
BackEnd\Components\RequestBuilder\TaskBuilder.cs (6)
173
new
BuildEventFileInfo
(taskInstance.Location),
850
new
BuildEventFileInfo
(_targetChildInstance.Location),
958
new
BuildEventFileInfo
(_targetChildInstance.Location),
968
new
BuildEventFileInfo
(_targetChildInstance.Location),
997
new
BuildEventFileInfo
(_targetChildInstance.Location),
1005
taskLoggingContext.LogError(new
BuildEventFileInfo
(_targetChildInstance.Location),
BackEnd\Components\RequestBuilder\TaskHost.cs (2)
1124
_taskLoggingContext.LogWarning(null, new
BuildEventFileInfo
(string.Empty), "ExpectedEventToBeSerializable", e.GetType().Name);
1257
file: new
BuildEventFileInfo
(ProjectFileOfTaskNode, LineNumberOfTaskNode, ColumnNumberOfTaskNode),
BackEnd\Components\SdkResolution\CachingSdkResolverService.cs (1)
79
loggingContext.LogWarning(null, new
BuildEventFileInfo
(sdkReferenceLocation), "ReferencingMultipleVersionsOfTheSameSdk", sdk.Name, result.Version, result.ElementLocation, sdk.Version);
BackEnd\Components\SdkResolution\MainNodeSdkResolverService.cs (1)
87
loggingService.LogFatalBuildError(loggingContext.BuildEventContext, e, new
BuildEventFileInfo
(request.ElementLocation));
BackEnd\Components\SdkResolution\OutOfProcNodeSdkResolverService.cs (1)
93
loggingContext.LogWarning(null, new
BuildEventFileInfo
(sdkReferenceLocation), "ReferencingMultipleVersionsOfTheSameSdk", sdk.Name, sdkResult.Version, sdkResult.ElementLocation, sdk.Version);
BackEnd\Components\SdkResolution\SdkResolverLoader.cs (7)
144
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(location), "SdkResolverNoDllOrManifest", subfolder.FullName);
207
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(location), "SdkResolverDllInManifestMissing", pathToManifest, string.Empty);
213
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(location), e, "SdkResolverManifestInvalid", pathToManifest, e.Message);
218
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(location), "SdkResolverDllInManifestMissing", pathToManifest, manifest.Path);
321
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(location), e, "CouldNotLoadSdkResolverAssembly", resolverPath, e.Message);
338
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(location), e.InnerException ?? e, "CouldNotLoadSdkResolver", type.Name, message);
342
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(location), e, "CouldNotLoadSdkResolver", type.Name, e.Message);
BackEnd\Components\SdkResolution\SdkResolverService.cs (5)
259
loggingContext.LogError(new
BuildEventFileInfo
(sdkReferenceLocation), "SingleResolverFailedToResolveSDK", sdk.Name, resolvers[0].Name, string.Join(Environment.NewLine, errors));
264
loggingContext.LogError(new
BuildEventFileInfo
(sdkReferenceLocation), "FailedToResolveSDK", sdk.Name, string.Join($"{Environment.NewLine} ", errors));
298
new
BuildEventFileInfo
(sdkReferenceLocation),
391
loggingContext.LogWarning(null, new
BuildEventFileInfo
(sdkReferenceLocation), "SdkResultVersionDifferentThanReference", sdk.Name, sdk.Version, result.Version);
470
loggingContext.LogWarningFromText(null, null, null, new
BuildEventFileInfo
(location), warning);
BackEnd\Shared\BuildRequestConfiguration.cs (1)
1093
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(data.ProjectFullPath), "ProjectUpgradeNeededToVcxProj", data.ProjectFullPath);
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (18)
594
_taskLoggingContext.LogError(new
BuildEventFileInfo
(_taskLocation), "TaskParametersError", _taskName, e.Message);
701
new
BuildEventFileInfo
(parameterLocation),
718
new
BuildEventFileInfo
(parameterLocation),
881
_taskLoggingContext.LogFatalTaskError(e, new
BuildEventFileInfo
(_taskLocation), ((ProjectTaskInstance)_taskLoggingContext.Task).Name);
1218
new
BuildEventFileInfo
(_taskLocation),
1228
new
BuildEventFileInfo
(_taskLocation),
1302
new
BuildEventFileInfo
(_taskLocation),
1343
new
BuildEventFileInfo
(_taskLocation),
1354
new
BuildEventFileInfo
(_taskLocation),
1364
new
BuildEventFileInfo
(_taskLocation),
1450
new
BuildEventFileInfo
(parameterLocation),
1461
new
BuildEventFileInfo
(parameterLocation),
1472
new
BuildEventFileInfo
(parameterLocation),
1483
new
BuildEventFileInfo
(parameterLocation),
1774
new
BuildEventFileInfo
(_taskLocation),
1783
new
BuildEventFileInfo
(_taskLocation),
2068
_targetLoggingContext.LogError(new
BuildEventFileInfo
(_taskLocation), "AttributeTypeLoadError", _taskName, e.Message);
2084
_taskLoggingContext.LogWarningFromText(null, warningCode, helpKeyword, new
BuildEventFileInfo
(_taskLocation), message);
BuildCheck\Infrastructure\BuildCheckBuildEventHandler.cs (1)
162
string.IsNullOrEmpty(acquisitionData.ProjectPath) ? BuildEventFileInfo.Empty : new
BuildEventFileInfo
(acquisitionData.ProjectPath),
BuildCheck\Infrastructure\BuildCheckCentralContext.cs (1)
263
new
BuildEventFileInfo
(projectFullPath),
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (2)
238
new
BuildEventFileInfo
(projectPath),
349
new
BuildEventFileInfo
(projectFullPath),
Construction\ProjectRootElement.cs (5)
2055
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(projectFile), "ProjectUpgradeNeededToVcxProj", projectFile);
2067
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(projectFile), ex, "InvalidProjectFile", ex.Message);
2119
? new
BuildEventFileInfo
(fullPath, xmlException)
2120
: new
BuildEventFileInfo
(fullPath);
2144
BuildEventFileInfo fileInfo = new
BuildEventFileInfo
(ex);
Construction\Solution\ProjectInSolution.cs (2)
426
new
BuildEventFileInfo
(ParentSolution.FullPath), "SolutionParseNestedProjectErrorWithNameAndGuid", ProjectName, ProjectGuid, ParentProjectGuid);
468
new
BuildEventFileInfo
(ParentSolution.FullPath), "SolutionParseNestedProjectErrorWithNameAndGuid", ProjectName, ProjectGuid, ParentProjectGuid);
Construction\Solution\SolutionFile.cs (29)
315
new
BuildEventFileInfo
(FullPath),
330
new
BuildEventFileInfo
(errorLocation),
337
new
BuildEventFileInfo
(FullPath),
582
new
BuildEventFileInfo
(solutionFile),
594
new
BuildEventFileInfo
(solutionFile),
625
new
BuildEventFileInfo
(solutionFile),
639
new
BuildEventFileInfo
(_solutionFile),
658
new
BuildEventFileInfo
(solutionFilterFile),
681
new
BuildEventFileInfo
(solutionFilterFile),
750
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(_solutionFile), "InvalidProjectFile", e.Message);
898
new
BuildEventFileInfo
(FullPath),
919
new
BuildEventFileInfo
(FileUtilities.GetFullPath(project, Path.GetDirectoryName(_solutionFile))),
963
new
BuildEventFileInfo
(FullPath), "SolutionParseNoHeaderError");
1009
new
BuildEventFileInfo
(FullPath, _currentLineNumber, 0), "SolutionParseVersionMismatchError",
1019
new
BuildEventFileInfo
(FullPath, _currentLineNumber, 0),
1078
new
BuildEventFileInfo
(FullPath, _currentLineNumber, 0), "SolutionParseProjectDepGuidError", proj.ProjectName);
1096
new
BuildEventFileInfo
(FullPath, _currentLineNumber, 0), "SolutionParseWebProjectPropertiesError", proj.ProjectName);
1122
new
BuildEventFileInfo
(FullPath), "SolutionParseProjectEofError", proj.ProjectName);
1307
new
BuildEventFileInfo
(FullPath, _currentLineNumber, 0),
1314
new
BuildEventFileInfo
(FullPath, _currentLineNumber, 0),
1504
new
BuildEventFileInfo
(FullPath, _currentLineNumber, 0), "SolutionParseProjectError");
1556
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(FullPath), "ProjectUpgradeNeededToVcxProj", proj.RelativePath);
1604
new
BuildEventFileInfo
(FullPath, _currentLineNumber, 0), "SolutionParseNestedProjectError");
1612
new
BuildEventFileInfo
(FullPath, _currentLineNumber, 0), "SolutionParseNestedProjectUndefinedError", projectGuid, parentProjectGuid);
1653
new
BuildEventFileInfo
(FullPath, _currentLineNumber, 0), "SolutionParseInvalidSolutionConfigurationEntry", str);
1665
new
BuildEventFileInfo
(FullPath, _currentLineNumber, 0), "SolutionParseInvalidSolutionConfigurationEntry", str);
1680
new
BuildEventFileInfo
(projectPath, lineNumber, 0),
1730
new
BuildEventFileInfo
(FullPath, _currentLineNumber, 0), "SolutionParseInvalidProjectSolutionConfigurationEntry", str);
1776
new
BuildEventFileInfo
(FullPath), "SolutionParseInvalidProjectSolutionConfigurationEntry",
Construction\Solution\SolutionProjectGenerator.cs (7)
289
ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile(dependencyProject != null, "SubCategoryForSolutionParsingErrors", new
BuildEventFileInfo
(solutionFile.FullPath), "SolutionParseProjectDepNotFoundError", project.ProjectGuid, dependencyProjectGuid);
751
new
BuildEventFileInfo
(_solutionFile.FullPath),
1223
new
BuildEventFileInfo
(traversalProject.FullPath),
1293
new
BuildEventFileInfo
(_solutionFile.FullPath),
1389
new
BuildEventFileInfo
(traversalProject.FullPath),
2260
new
BuildEventFileInfo
(project.RelativePath),
2288
new
BuildEventFileInfo
(_solutionFile.FullPath),
Definition\Project.cs (1)
3384
LoggingService.LogError(s_buildEventContext, new
BuildEventFileInfo
(FullPath), "SecurityProjectBuildDisabled");
Definition\Toolset.cs (7)
600
new
BuildEventFileInfo
(/* this warning truly does not involve any file */ String.Empty),
611
new
BuildEventFileInfo
(/* this warning truly does not involve any file */ String.Empty),
866
loggingContext.LogError(new
BuildEventFileInfo
(/* this warning truly does not involve any file it is just gathering properties */String.Empty), "TasksPropertyBagError", e.Message);
907
loggingContext.LogWarning(null, new
BuildEventFileInfo
(String.Empty /* this warning truly does not involve any file*/), "OverrideTasksFileFailure", rootedPathMessage);
914
loggingContext.LogWarning(null, new
BuildEventFileInfo
(String.Empty /* this warning truly does not involve any file*/), "OverrideTasksFileFailure", rootedPathMessage);
954
ProjectFileErrorUtilities.ThrowInvalidProjectFile(new
BuildEventFileInfo
(currentTasksFile, e),
959
loggingContext.LogError(new
BuildEventFileInfo
(currentTasksFile),
Evaluation\Conditionals\Parser.cs (1)
145
LoggingServices.LogWarning(_logBuildEventContext, null, new
BuildEventFileInfo
(_elementLocation), "ConditionMaybeEvaluatedIncorrectly", expression);
Evaluation\Evaluator.cs (6)
366
evaluator._evaluationLoggingContext.LogErrorFromText(null, null, null, new
BuildEventFileInfo
(root.ProjectFileLocation.File),
1172
_evaluationLoggingContext.LogWarning("", new
BuildEventFileInfo
(""), "ChangeWave_InvalidFormat", Traits.Instance.MSBuildDisableFeaturesFromVersion, $"[{string.Join(", ", ChangeWaves.AllWaves.Select(x => x.ToString()))}]");
1175
_evaluationLoggingContext.LogWarning("", new
BuildEventFileInfo
(""), "ChangeWave_OutOfRotation", ChangeWaves.DisabledWave, Traits.Instance.MSBuildDisableFeaturesFromVersion, $"[{string.Join(", ", ChangeWaves.AllWaves.Select(x => x.ToString()))}]");
2184
_evaluationLoggingContext.LogWarning(null, new
BuildEventFileInfo
(importLocationInProject), "SelfImport", importFileUnescaped);
2201
_evaluationLoggingContext.LogWarning(null, new
BuildEventFileInfo
(importLocationInProject), "ImportIntroducesCircularity", importFileUnescaped, importedBy);
2228
_evaluationLoggingContext.LogWarning(null, new
BuildEventFileInfo
(importLocationInProject), "DuplicateImport", importFileUnescaped, previouslyImportedAt.Location.LocationString, parenthesizedProjectLocation);
Evaluation\Expander.MetadataExpander.cs (1)
240
new
BuildEventFileInfo
(_elementLocation),
Evaluation\LazyItemEvaluator.RemoveOperation.cs (1)
29
new
BuildEventFileInfo
(string.Empty),
Evaluation\PropertiesUseTracker.cs (1)
143
loggingContext.LogWarning(null, new
BuildEventFileInfo
(propertyElement.Location), "UsedUninitializedProperty", propertyElement.Name, elementWhichUsedProperty?.LocationString);
Graph\GraphBuilder.cs (1)
362
new
BuildEventFileInfo
(Solution.FullPath),
Instance\TaskFactories\AssemblyTaskFactory.cs (3)
281
targetLoggingContext.LogError(new
BuildEventFileInfo
(taskProjectFile), "TaskLoadFailure", taskName, loadInfo.AssemblyLocation, exception.Message);
392
taskLoggingContext.LogError(new
BuildEventFileInfo
(taskLoc, taskLine, taskColumn), message, messageArgs)),
478
targetLoggingContext.LogError(new
BuildEventFileInfo
(taskProjectFile), "TaskLoadFailure", taskName, _loadedType.Assembly.AssemblyLocation, exception.Message);
Instance\TaskFactories\TaskHostTask.cs (4)
641
_taskLoggingContext.LogFatalError(taskHostTaskComplete.TaskException, new
BuildEventFileInfo
(_taskLocation), taskHostTaskComplete.TaskExceptionMessage, taskHostTaskComplete.TaskExceptionMessageArgs);
665
_taskLoggingContext.LogError(new
BuildEventFileInfo
(_taskLocation), "TaskHostExitedPrematurely", (nodeShutdown.Exception == null) ? String.Empty : nodeShutdown.Exception.ToString());
845
_taskLoggingContext.LogError(new
BuildEventFileInfo
(_taskLocation), "TaskHostAcquireFailed", _taskType.Type.Name, runtime, architecture, msbuildLocation);
850
new
BuildEventFileInfo
(_taskLocation),
Instance\TaskFactoryEngineContext.cs (1)
391
_loggingContext.LogWarning(null, new
BuildEventFileInfo
(string.Empty), "ExpectedEventToBeSerializable", e.GetType().Name);
Instance\TaskRegistry.cs (4)
719
loggingContext.LogError(new
BuildEventFileInfo
(projectUsingTaskInXml.OverrideLocation), "DuplicateOverrideUsingTaskElement", taskName);
1480
targetLoggingContext.LogError(new
BuildEventFileInfo
(taskProjectFile), "TaskFactoryLoadFailure", TaskFactoryAttributeName, taskFactoryLoadInfo.AssemblyLocation, exception.Message);
1534
new
BuildEventFileInfo
(elementLocation),
1572
new
BuildEventFileInfo
(elementLocation.File, elementLocation.Line, elementLocation.Column),
src\msbuild\src\Shared\BuildEventFileInfo.cs (1)
17
internal static BuildEventFileInfo Empty = new
BuildEventFileInfo
(ElementLocation.EmptyLocation);
Utilities\EngineFileUtilities.cs (1)
435
new
BuildEventFileInfo
(buildEventFileInfoFullPath),
68 references to BuildEventFileInfo
Microsoft.Build (68)
BackEnd\BuildManager\BuildManager.cs (2)
3443
file:
BuildEventFileInfo
.Empty,
3628
BuildEventFileInfo
.Empty,
BackEnd\BuildManager\EnvironmentVariableValidator.cs (1)
45
loggingService.LogWarning(BuildEventContext.Invalid, null,
BuildEventFileInfo
.Empty, "DotnetHostPathIsDirectory", dotnetHostPath);
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (1)
1411
BuildEventFileInfo
.Empty,
BackEnd\Components\Logging\BuildLoggingContext.cs (1)
58
internal void LogFatalTaskError(Exception exception,
BuildEventFileInfo
file, string taskName)
BackEnd\Components\Logging\ILoggingService.cs (9)
409
void LogError(BuildEventContext buildEventContext,
BuildEventFileInfo
file, string messageResourceName, params object[] messageArgs);
419
void LogError(BuildEventContext buildEventContext, string subcategoryResourceName,
BuildEventFileInfo
file, string messageResourceName, params object[] messageArgs);
430
void LogErrorFromText(BuildEventContext buildEventContext, string subcategoryResourceName, string errorCode, string helpKeyword,
BuildEventFileInfo
file, string message);
445
void LogFatalBuildError(BuildEventContext buildEventContext, Exception exception,
BuildEventFileInfo
file);
454
void LogFatalTaskError(BuildEventContext buildEventContext, Exception exception,
BuildEventFileInfo
file, string taskName);
464
void LogFatalError(BuildEventContext buildEventContext, Exception exception,
BuildEventFileInfo
file, string messageResourceName, params object[] messageArgs);
475
void LogTaskWarningFromException(BuildEventContext buildEventContext, Exception exception,
BuildEventFileInfo
file, string taskName);
485
void LogWarning(BuildEventContext buildEventContext, string subcategoryResourceName,
BuildEventFileInfo
file, string messageResourceName, params object[] messageArgs);
496
void LogWarningFromText(BuildEventContext buildEventContext, string subcategoryResourceName, string warningCode, string helpKeyword,
BuildEventFileInfo
file, string message);
BackEnd\Components\Logging\LoggingContext.cs (9)
138
internal void LogComment(MessageImportance importance,
BuildEventFileInfo
file, string messageResourceName, params object?[]? messageArgs)
190
internal void LogError(
BuildEventFileInfo
file, string messageResourceName, params object[] messageArgs)
204
internal void LogErrorWithSubcategory(string? subcategoryResourceName,
BuildEventFileInfo
file, string messageResourceName, params object[] messageArgs)
219
internal void LogErrorFromText(string? subcategoryResourceName, string? errorCode, string? helpKeyword,
BuildEventFileInfo
file, string message)
244
internal void LogFatalError(Exception exception,
BuildEventFileInfo
file, string messageResourceName, params object?[]? messageArgs)
254
_loggingService.LogWarning(_eventContext, null,
BuildEventFileInfo
.Empty, messageResourceName, messageArgs);
264
internal void LogWarning(string? subcategoryResourceName,
BuildEventFileInfo
file, string messageResourceName, params object?[]? messageArgs)
278
internal void LogWarningFromText(string? subcategoryResourceName, string warningCode, string helpKeyword,
BuildEventFileInfo
file, string message)
299
internal void LogFatalBuildError(Exception exception,
BuildEventFileInfo
file)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (9)
98
public void LogError(BuildEventContext location,
BuildEventFileInfo
file, string messageResourceName, params object[] messageArgs)
112
public void LogError(BuildEventContext buildEventContext, string subcategoryResourceName,
BuildEventFileInfo
file, string messageResourceName, params object[] messageArgs)
132
public void LogErrorFromText(BuildEventContext buildEventContext, string subcategoryResourceName, string errorCode, string helpKeyword,
BuildEventFileInfo
file, string message)
195
public void LogFatalBuildError(BuildEventContext buildEventContext, Exception exception,
BuildEventFileInfo
file)
209
public void LogFatalTaskError(BuildEventContext buildEventContext, Exception exception,
BuildEventFileInfo
file, string taskName)
226
public void LogFatalError(BuildEventContext buildEventContext, Exception exception,
BuildEventFileInfo
file, string messageResourceName, params object[] messageArgs)
260
public void LogTaskWarningFromException(BuildEventContext buildEventContext, Exception exception,
BuildEventFileInfo
file, string taskName)
285
public void LogWarning(BuildEventContext buildEventContext, string subcategoryResourceName,
BuildEventFileInfo
file, string messageResourceName, params object[] messageArgs)
302
public void LogWarningFromText(BuildEventContext buildEventContext, string subcategoryResourceName, string warningCode, string helpKeyword,
BuildEventFileInfo
file, string message)
BackEnd\Components\Logging\TaskLoggingContext.cs (1)
148
internal void LogTaskWarningFromException(Exception exception,
BuildEventFileInfo
file, string taskName)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (10)
208
BuildEventFileInfo
buildEventFileInfo =
BuildEventFileInfo
.Empty;
585
var
buildEventFileInfo = new BuildEventFileInfo(buildRequest.ProjectFullPath);
873
var
buildEventFileInfo = new BuildEventFileInfo(requestConfiguration.ProjectFullPath);
954
BuildEventFileInfo
buildEventFileInfo =
BuildEventFileInfo
.Empty;
1050
private readonly
BuildEventFileInfo
_buildEventFileInfo;
1057
BuildEventFileInfo
buildEventFileInfo)
1105
private readonly
BuildEventFileInfo
_buildEventFileInfo;
1112
BuildEventFileInfo
buildEventFileInfo)
BackEnd\Components\RequestBuilder\IntrinsicTasks\ItemGroupIntrinsicTask.cs (1)
664
BuildEventFileInfo
.Empty,
BackEnd\Components\RequestBuilder\RequestBuilder.cs (2)
834
BuildEventFileInfo
.Empty,
848
(((LoggingContext)_projectLoggingContext) ?? _nodeLoggingContext).LogError(
BuildEventFileInfo
.Empty, "UnhandledMSBuildError", ex.ToString());
BackEnd\Node\OutOfProcNode.cs (1)
617
_loggingContext?.BuildEventContext ?? BuildEventContext.Invalid, null,
BuildEventFileInfo
.Empty,
BackEnd\Shared\EventsCreatorHelper.cs (2)
29
public static BuildErrorEventArgs CreateErrorEventFromText(BuildEventContext buildEventContext, string? subcategoryResourceName, string? errorCode, string? helpKeyword,
BuildEventFileInfo
file, string message)
60
public static BuildWarningEventArgs CreateWarningEventFromText(BuildEventContext buildEventContext, string? subcategoryResourceName, string? errorCode, string? helpKeyword,
BuildEventFileInfo
file, string message)
BuildCheck\Infrastructure\BuildCheckBuildEventHandler.cs (1)
162
string.IsNullOrEmpty(acquisitionData.ProjectPath) ?
BuildEventFileInfo
.Empty : new BuildEventFileInfo(acquisitionData.ProjectPath),
BuildCheck\Infrastructure\BuildEventsProcessor.cs (1)
253
BuildEventFileInfo
.Empty,
BuildCheck\Infrastructure\CheckContext\CheckDispatchingContext.cs (2)
54
public void DispatchAsErrorFromText(string? subcategoryResourceName, string? errorCode, string? helpKeyword,
BuildEventFileInfo
file, string message)
61
public void DispatchAsWarningFromText(string? subcategoryResourceName, string? errorCode, string? helpKeyword,
BuildEventFileInfo
file, string message)
BuildCheck\Infrastructure\CheckContext\CheckLoggingContext.cs (2)
37
public void DispatchAsErrorFromText(string? subcategoryResourceName, string? errorCode, string? helpKeyword,
BuildEventFileInfo
file, string message)
41
public void DispatchAsWarningFromText(string? subcategoryResourceName, string? errorCode, string? helpKeyword,
BuildEventFileInfo
file, string message)
BuildCheck\Infrastructure\CheckContext\ICheckContext.cs (2)
33
void DispatchAsErrorFromText(string? subcategoryResourceName, string? errorCode, string? helpKeyword,
BuildEventFileInfo
file, string message);
43
void DispatchAsWarningFromText(string? subcategoryResourceName, string? errorCode, string? helpKeyword,
BuildEventFileInfo
file, string message);
Construction\ProjectRootElement.cs (2)
2118
BuildEventFileInfo
fileInfo = ex is XmlException xmlException
2144
BuildEventFileInfo
fileInfo = new BuildEventFileInfo(ex);
Construction\Solution\ProjectInSolution.cs (1)
22
using BuildEventFileInfo = Microsoft.Build.Shared.
BuildEventFileInfo
;
Construction\Solution\SolutionFile.cs (1)
22
using BuildEventFileInfo = Microsoft.Build.Shared.
BuildEventFileInfo
;
src\msbuild\src\Shared\BuildEventFileInfo.cs (1)
17
internal static
BuildEventFileInfo
Empty = new BuildEventFileInfo(ElementLocation.EmptyLocation);
src\msbuild\src\Shared\ProjectFileErrorUtilities.cs (6)
28
BuildEventFileInfo
projectFile,
47
BuildEventFileInfo
projectFile,
68
BuildEventFileInfo
projectFile,
88
BuildEventFileInfo
projectFile,
110
BuildEventFileInfo
projectFile,
133
BuildEventFileInfo
projectFile,