22 overrides of FriendlyName
CustomCheck (2)
Check1.cs (1)
20public override string FriendlyName => "CustomRule1";
Check2.cs (1)
19public override string FriendlyName => "CustomRule2";
CustomCheck2 (1)
Check3.cs (1)
19public override string FriendlyName => "CustomRule3";
ErrorCustomCheck (3)
ErrorOnInitializeCheck.cs (1)
20public override string FriendlyName => "ErrorOnInitializeCheck";
ErrorOnRegisteredAction.cs (1)
20public override string FriendlyName => "ErrorOnRegisteredAction";
ErrorWhenRegisteringActions.cs (1)
20public override string FriendlyName => "ErrorWhenRegisteringActions";
Microsoft.Build (8)
BuildCheck\Checks\CopyAlwaysCheck.cs (1)
20public override string FriendlyName => "MSBuild.CopyAlwaysCheck";
BuildCheck\Checks\DoubleWritesCheck.cs (1)
28public override string FriendlyName => "MSBuild.DoubleWritesCheck";
BuildCheck\Checks\EmbeddedResourceCheck.cs (1)
20public override string FriendlyName => "MSBuild.EmbeddedResourceCulture";
BuildCheck\Checks\NoEnvironmentVariablePropertyCheck.cs (1)
34public override string FriendlyName => "MSBuild.NoEnvironmentVariablePropertyCheck";
BuildCheck\Checks\PreferProjectReferenceCheck.cs (1)
20public override string FriendlyName => "MSBuild.PreferProjectReferenceCheck";
BuildCheck\Checks\PropertiesUsageCheck.cs (1)
34public override string FriendlyName => "MSBuild.PropertiesUsageAnalyzer";
BuildCheck\Checks\SharedOutputPathCheck.cs (1)
20public override string FriendlyName => "MSBuild.SharedOutputPathCheck";
BuildCheck\Checks\TargetFrameworkConfusionCheck.cs (1)
19public override string FriendlyName => "MSBuild.TargetFrameworkConfusion";
Microsoft.Build.BuildCheck.UnitTests (8)
BuildCheckManagerProviderTests.cs (1)
106public override string FriendlyName { get; }
TaskInvocationAnalysisDataTests.cs (1)
30public override string FriendlyName => "MSBuild.TestCheck";
TestAssets\CustomCheck\Check1.cs (1)
20public override string FriendlyName => "CustomRule1";
TestAssets\CustomCheck\Check2.cs (1)
19public override string FriendlyName => "CustomRule2";
TestAssets\CustomCheck2\Check3.cs (1)
19public override string FriendlyName => "CustomRule3";
TestAssets\ErrorCustomCheck\ErrorOnInitializeCheck.cs (1)
20public override string FriendlyName => "ErrorOnInitializeCheck";
TestAssets\ErrorCustomCheck\ErrorOnRegisteredAction.cs (1)
20public override string FriendlyName => "ErrorOnRegisteredAction";
TestAssets\ErrorCustomCheck\ErrorWhenRegisteringActions.cs (1)
20public override string FriendlyName => "ErrorWhenRegisteringActions";
9 references to FriendlyName
Microsoft.Build (9)
BuildCheck\Infrastructure\BuildCheckCentralContext.cs (1)
264$"The check '{checkCallback.Item1.Check.FriendlyName}' threw an exception while executing a registered action with message: {e.Message}");
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (6)
217checkContext.DispatchAsComment(MessageImportance.Normal, "CustomCheckSuccessfulAcquisition", instance.FriendlyName); 280$"The check '{check.FriendlyName}' exposes rules '{check.SupportedRules.Select(r => r.Id).ToCsvString()}', but different rules were declared during registration: '{checkFactoryContext.RuleIds.ToCsvString()}'"); 296string message = $"The check '{check.FriendlyName}' failed to register actions with the following message: '{e.Message}'"; 366checkContext.DispatchAsCommentFromText(MessageImportance.High, $"Dismounting check '{check.Check.FriendlyName}'. The check has thrown an unhandled exception while executing registered actions."); 736$"The Check '{ba.FriendlyName}' failed to initialize: {e.Message}", e); 747public string FriendlyName => MaterializedCheck?.Check.FriendlyName ?? factory().FriendlyName;
BuildCheck\Infrastructure\BuildEventsProcessor.cs (1)
254$"The check '{checkWrapper.Check.FriendlyName}' reported a result for a rule '{result.CheckRule.Id}' that it does not support.");
BuildCheck\Infrastructure\CheckWrapper.cs (1)
58checkFriendlyName: check.FriendlyName,