2 writes to _directory
Microsoft.Gen.ComplianceReports (2)
ComplianceReportsGenerator.cs (2)
36_directory = Path.GetDirectoryName(filePath); 85_directory ??= GeneratorUtilities.TryRetrieveOptionsValue(options, ComplianceReportOutputPathMSBuildProperty, out var reportOutputPath)
3 references to _directory
Microsoft.Gen.ComplianceReports (3)
ComplianceReportsGenerator.cs (3)
89if (string.IsNullOrWhiteSpace(_directory)) 109_ = Directory.CreateDirectory(_directory); 112File.WriteAllText(Path.Combine(_directory, _fileName), report, Encoding.UTF8);