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