12 writes to CodeAnalysisRuleSet
Microsoft.Build.Tasks.UnitTests (12)
ResolveCodeAnalysisRuleSet_Tests.cs (12)
59
task.
CodeAnalysisRuleSet
= codeAnalysisRuleSet;
80
task.
CodeAnalysisRuleSet
= codeAnalysisRuleSet;
102
task.
CodeAnalysisRuleSet
= @"CodeAnalysis.ruleset";
124
task.
CodeAnalysisRuleSet
= codeAnalysisRuleSet;
153
task.
CodeAnalysisRuleSet
= codeAnalysisRuleSet;
175
task.
CodeAnalysisRuleSet
= codeAnalysisRuleSet;
203
task.
CodeAnalysisRuleSet
= Path.GetRandomFileName() + ".ruleset";
227
task.
CodeAnalysisRuleSet
= Path.Combine(subdirectoryName, "CodeAnalysis.ruleset");
252
task.
CodeAnalysisRuleSet
= codeAnalysisRuleSet;
280
task.
CodeAnalysisRuleSet
= Path.Combine(subdirectoryName, "CodeAnalysis.ruleset");
299
task.
CodeAnalysisRuleSet
= string.Empty;
318
task.
CodeAnalysisRuleSet
= null;
12 references to CodeAnalysisRuleSet
Microsoft.Build.Tasks.Core (12)
ResolveCodeAnalysisRuleSet.cs (12)
75
if (string.IsNullOrEmpty(
CodeAnalysisRuleSet
))
80
if (
CodeAnalysisRuleSet
== Path.GetFileName(
CodeAnalysisRuleSet
))
86
string fullName = Path.Combine(MSBuildProjectDirectory,
CodeAnalysisRuleSet
);
89
return
CodeAnalysisRuleSet
;
98
string fullName = Path.Combine(directory,
CodeAnalysisRuleSet
);
106
else if (!Path.IsPathRooted(
CodeAnalysisRuleSet
))
111
string fullName = Path.Combine(MSBuildProjectDirectory,
CodeAnalysisRuleSet
);
114
return
CodeAnalysisRuleSet
;
118
else if (FileSystems.Default.FileExists(
CodeAnalysisRuleSet
))
121
return
CodeAnalysisRuleSet
;
125
Log.LogWarningWithCodeFromResources("Compiler.UnableToFindRuleSet",
CodeAnalysisRuleSet
);