From 34359803e21670c02eaa5bb3225d58b7ad6b9694 Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Tue, 14 Oct 2025 08:09:48 -0600 Subject: [PATCH 1/5] enable Nullable --- .editorconfig | 6 ++++++ Directory.Build.props | 1 + src/Microsoft.ComponentDetection.Common/AsyncExecution.cs | 1 + src/Microsoft.ComponentDetection.Common/Column.cs | 1 + .../CommandLineInvocationService.cs | 1 + .../ComponentComparer.cs | 1 + src/Microsoft.ComponentDetection.Common/ComponentStream.cs | 1 + .../ComponentStreamEnumerable.cs | 1 + .../ComponentStreamEnumerableFactory.cs | 1 + .../ConsoleWritingService.cs | 1 + .../DependencyGraph/ComponentRecorder.cs | 1 + .../DependencyGraph/DependencyGraph.cs | 1 + .../DependencyScopeComparer.cs | 1 + .../DirectoryItemFacade.cs | 1 + .../DirectoryItemFacadeOptimized.cs | 1 + .../DirectoryUtilityService.cs | 1 + .../DockerReference/DigestUtility.cs | 1 + .../DockerReference/DockerReferenceException.cs | 1 + .../DockerReference/DockerReferenceUtility.cs | 2 ++ .../DockerReference/DockerRegex.cs | 1 + src/Microsoft.ComponentDetection.Common/DockerService.cs | 1 + .../EnvironmentVariableService.cs | 1 + .../Exceptions/InvalidUserInputException.cs | 1 + .../FastDirectoryWalkerFactory.cs | 1 + .../FileUtilityService.cs | 1 + .../FileWritingService.cs | 1 + .../IConsoleWritingService.cs | 1 + .../IFileWritingService.cs | 1 + .../ISafeFileEnumerableFactory.cs | 1 + .../LazyComponentStream.cs | 1 + src/Microsoft.ComponentDetection.Common/MatchedFile.cs | 1 + .../PathUtilityService.cs | 1 + .../PatternMatchingUtility.cs | 1 + .../Resources.Designer.cs | 1 + .../SafeFileEnumerable.cs | 1 + .../SafeFileEnumerableFactory.cs | 1 + src/Microsoft.ComponentDetection.Common/ScanType.cs | 1 + .../TabularStringFormat.cs | 1 + .../Telemetry/Attributes/MetricAttribute.cs | 1 + .../Telemetry/CommandLineTelemetryService.cs | 1 + .../Telemetry/ITelemetryService.cs | 1 + .../Telemetry/Records/BaseDetectionTelemetryRecord.cs | 1 + .../Telemetry/Records/BcdeExecutionTelemetryRecord.cs | 1 + .../Records/CommandLineInvocationTelemetryRecord.cs | 1 + .../Telemetry/Records/DependencyGraphTranslationRecord.cs | 1 + .../Telemetry/Records/DetectedComponentScopeRecord.cs | 1 + .../Telemetry/Records/DetectorExecutionTelemetryRecord.cs | 1 + .../DockerServiceImageExistsLocallyTelemetryRecord.cs | 1 + .../Records/DockerServiceInspectImageTelemetryRecord.cs | 1 + .../Records/DockerServiceSystemInfoTelemetryRecord.cs | 1 + .../Telemetry/Records/DockerServiceTelemetryRecord.cs | 1 + .../Records/DockerServiceTryPullImageTelemetryRecord.cs | 1 + .../Telemetry/Records/FailedParsingFileRecord.cs | 1 + .../Telemetry/Records/GoGraphTelemetryRecord.cs | 1 + .../Telemetry/Records/GoReplaceTelemetryRecord.cs | 1 + .../Telemetry/Records/IDetectionTelemetryRecord.cs | 1 + .../Telemetry/Records/InvalidParseVersionTelemetryRecord.cs | 1 + .../Records/LinuxContainerDetectorImageDetectionFailed.cs | 1 + .../Records/LinuxContainerDetectorLayerAwareness.cs | 1 + .../LinuxContainerDetectorMissingRepoNameAndTagRecord.cs | 1 + .../Records/LinuxContainerDetectorMissingVersion.cs | 1 + .../Telemetry/Records/LinuxContainerDetectorTimeout.cs | 1 + .../Records/LinuxContainerDetectorUnsupportedOs.cs | 1 + .../Telemetry/Records/LinuxScannerSyftTelemetryRecord.cs | 1 + .../Telemetry/Records/LinuxScannerTelemetryRecord.cs | 1 + .../Records/LoadComponentDetectorsTelemetryRecord.cs | 1 + .../Telemetry/Records/NuGetProjectAssetsTelemetryRecord.cs | 1 + .../Telemetry/Records/PipReportFailureTelemetryRecord.cs | 1 + .../Telemetry/Records/PipReportSkipTelemetryRecord.cs | 1 + .../Telemetry/Records/PipReportTypeTelemetryRecord.cs | 1 + .../Telemetry/Records/PyPiCacheTelemetryRecord.cs | 1 + .../Telemetry/Records/PypiFailureTelemetryRecord.cs | 1 + .../Records/PypiMaxRetriesReachedTelemetryRecord.cs | 1 + .../Telemetry/Records/PypiRetryTelemetryRecord.cs | 1 + .../Telemetry/Records/RustCrateDetectorTelemetryRecord.cs | 1 + .../Telemetry/Records/RustGraphTelemetryRecord.cs | 1 + .../Telemetry/Records/SimplePypiCacheTelemetryRecord.cs | 1 + .../Telemetry/TelemetryConstants.cs | 1 + .../Telemetry/TelemetryMode.cs | 1 + .../Telemetry/TelemetryRelay.cs | 1 + .../Utilities/StringUtilities.cs | 1 + .../WarnOnAlertSeverity.cs | 1 + .../BcdeModels/ContainerDetails.cs | 1 + .../BcdeModels/DefaultGraphScanResult.cs | 1 + .../BcdeModels/DependencyGraph.cs | 1 + .../BcdeModels/DependencyGraphCollection.cs | 1 + .../BcdeModels/DependencyGraphWithMetadata.cs | 1 + .../BcdeModels/DependencyScope.cs | 1 + .../BcdeModels/Detector.cs | 1 + .../BcdeModels/DockerLayer.cs | 1 + .../BcdeModels/LayerMappedLinuxComponents.cs | 1 + .../BcdeModels/ScanResult.cs | 1 + .../BcdeModels/ScannedComponent.cs | 1 + .../BcdeModels/TypedComponentConverter.cs | 1 + .../ConcurrentHashSet.cs | 1 + .../DetectedComponent.cs | 1 + src/Microsoft.ComponentDetection.Contracts/DetectorClass.cs | 1 + .../DockerReference.cs | 1 + .../FileComponentDetector.cs | 1 + .../FileComponentDetectorWithCleanup.cs | 1 + .../ICommandLineInvocationService.cs | 1 + .../IComponentDetector.cs | 1 + .../IComponentRecorder.cs | 1 + .../IComponentStream.cs | 1 + .../IComponentStreamEnumerableFactory.cs | 1 + .../IDirectoryUtilityService.cs | 1 + .../IDockerService.cs | 1 + .../IEnvironmentVariableService.cs | 1 + .../IFileUtilityService.cs | 1 + .../IObservableDirectoryWalkerFactory.cs | 1 + .../IPathUtilityService.cs | 1 + .../IndividualDetectorScanResult.cs | 1 + .../Internal/NpmAuthor.cs | 1 + .../Internal/ProcessRequest.cs | 1 + .../KillSwitchConfiguration.cs | 1 + .../ProcessingResultCode.cs | 1 + src/Microsoft.ComponentDetection.Contracts/ScanRequest.cs | 1 + .../TypedComponent/CargoComponent.cs | 1 + .../TypedComponent/ComponentType.cs | 1 + .../TypedComponent/ConanComponent.cs | 1 + .../TypedComponent/CondaComponent.cs | 1 + .../TypedComponent/DockerImageComponent.cs | 1 + .../TypedComponent/DockerReferenceComponent.cs | 1 + .../TypedComponent/DotNetComponent.cs | 1 + .../TypedComponent/GitComponent.cs | 1 + .../TypedComponent/GoComponent.cs | 1 + .../TypedComponent/LinuxComponent.cs | 1 + .../TypedComponent/MavenComponent.cs | 1 + .../TypedComponent/NpmComponent.cs | 1 + .../TypedComponent/NugetComponent.cs | 1 + .../TypedComponent/OtherComponent.cs | 1 + .../TypedComponent/PipComponent.cs | 1 + .../TypedComponent/PodComponent.cs | 1 + .../TypedComponent/RubyGemsComponent.cs | 1 + .../TypedComponent/SpdxComponent.cs | 1 + .../TypedComponent/SwiftComponent.cs | 1 + .../TypedComponent/TypedComponent.cs | 1 + .../TypedComponent/VcpkgComponent.cs | 1 + .../cocoapods/PodComponentDetector.cs | 1 + .../conan/ConanLockComponentDetector.cs | 1 + .../conan/Contracts/ConanLock.cs | 1 + .../conan/Contracts/ConanLockGraph.cs | 1 + .../conan/Contracts/ConanLockNode.cs | 1 + .../conda/CondaDependencyResolver.cs | 1 + .../conda/CondaLockComponentDetector.cs | 1 + .../conda/Contracts/CondaLock.cs | 1 + .../conda/Contracts/CondaMetadata.cs | 1 + .../conda/Contracts/CondaPackage.cs | 1 + .../dockerfile/DockerfileComponentDetector.cs | 1 + .../go/GoComponentDetector.cs | 1 + .../go/Parsers/GoCLIParser.cs | 1 + .../go/Parsers/GoModParser.cs | 1 + .../go/Parsers/GoParserFactory.cs | 1 + .../go/Parsers/GoParserType.cs | 1 + .../go/Parsers/GoSumParser.cs | 1 + .../go/Parsers/IGoParser.cs | 1 + .../go/Parsers/IGoParserFactory.cs | 1 + .../go/Utils/GoDependencyGraphUtility.cs | 1 + .../go/Utils/GoDetectorUtils.cs | 1 + .../gradle/GradleComponentDetector.cs | 1 + .../ivy/IvyDetector.cs | 1 + .../linux/Contracts/ImageScanningResult.cs | 1 + .../linux/Contracts/SyftOutput.cs | 2 ++ .../linux/Exceptions/MissingContainerDetailException.cs | 1 + .../linux/ILinuxScanner.cs | 1 + .../linux/LinuxContainerDetector.cs | 1 + .../linux/LinuxScanner.cs | 1 + .../maven/GraphNode.cs | 1 + .../maven/IMavenCommandService.cs | 1 + .../maven/IMavenStyleDependencyGraphParserService.cs | 1 + .../maven/MavenCommandService.cs | 1 + .../maven/MavenParsingUtilities.cs | 1 + .../maven/MavenStyleDependencyGraphParser.cs | 1 + .../maven/MavenStyleDependencyGraphParserService.cs | 1 + .../maven/MvnCliComponentDetector.cs | 1 + .../npm/NpmComponentDetector.cs | 1 + .../npm/NpmComponentDetectorWithRoots.cs | 1 + .../npm/NpmComponentUtilities.cs | 1 + .../npm/NpmLockfile3Detector.cs | 1 + .../npm/NpmLockfileDetectorBase.cs | 1 + .../nuget/FrameworkPackages/FrameworkPackages.cs | 1 + .../nuget/FrameworkPackages/FrameworkPackages.net461.cs | 1 + .../nuget/FrameworkPackages/FrameworkPackages.net5.0.cs | 1 + .../nuget/FrameworkPackages/FrameworkPackages.net6.0.cs | 1 + .../nuget/FrameworkPackages/FrameworkPackages.net7.0.cs | 1 + .../nuget/FrameworkPackages/FrameworkPackages.net8.0.cs | 1 + .../nuget/FrameworkPackages/FrameworkPackages.net9.0.cs | 1 + .../FrameworkPackages/FrameworkPackages.netcoreapp2.0.cs | 1 + .../FrameworkPackages/FrameworkPackages.netcoreapp2.1.cs | 1 + .../FrameworkPackages/FrameworkPackages.netcoreapp2.2.cs | 1 + .../FrameworkPackages/FrameworkPackages.netcoreapp3.0.cs | 1 + .../FrameworkPackages/FrameworkPackages.netcoreapp3.1.cs | 1 + .../FrameworkPackages/FrameworkPackages.netstandard2.0.cs | 1 + .../FrameworkPackages/FrameworkPackages.netstandard2.1.cs | 1 + .../nuget/NuGetComponentDetector.cs | 1 + .../nuget/NuGetNuspecUtilities.cs | 1 + .../nuget/NuGetPackagesConfigDetector.cs | 1 + .../NuGetProjectModelProjectCentricComponentDetector.cs | 1 + .../pip/Contracts/IPipCommandService.cs | 1 + .../pip/Contracts/IPythonCommandService.cs | 1 + .../pip/Contracts/IPythonResolver.cs | 1 + .../pip/Contracts/ISimplePyPiClient.cs | 1 + .../pip/Contracts/ISimplePythonResolver.cs | 1 + .../pip/Contracts/PipDependencySpecification.cs | 1 + .../pip/Contracts/PipGraphNode.cs | 1 + .../pip/Contracts/PipInstallationMetadata.cs | 1 + .../pip/Contracts/PipInstallationReport.cs | 1 + .../pip/Contracts/PipInstallationReportItem.cs | 1 + .../pip/Contracts/PipReportGraphNode.cs | 1 + .../pip/Contracts/PythonProject.cs | 1 + .../pip/Contracts/PythonProjectInfo.cs | 1 + .../pip/Contracts/PythonProjectRelease.cs | 1 + .../pip/Contracts/PythonResolverState.cs | 1 + .../pip/Contracts/PythonVersion.cs | 1 + .../pip/IPyPiClient.cs | 1 + .../pip/PipCommandService.cs | 1 + .../pip/PipComponentDetector.cs | 1 + .../pip/PipReportComponentDetector.cs | 1 + .../pip/PipReportUtilities.cs | 1 + .../pip/PythonCommandService.cs | 1 + .../pip/PythonNotFoundException.cs | 1 + .../pip/PythonResolver.cs | 1 + .../pip/PythonResolverBase.cs | 1 + .../pip/PythonVersionComparer.cs | 1 + .../pip/PythonVersionUtilities.cs | 1 + .../pip/SharedPipUtilities.cs | 1 + .../pip/SimplePipComponentDetector.cs | 1 + .../pip/SimplePypiClient.cs | 1 + .../pip/SimplePypiProject.cs | 1 + .../pip/SimplePypiProjectRelease.cs | 1 + .../pip/SimplePythonResolver.cs | 1 + .../pnpm/Contracts/Package.cs | 1 + .../pnpm/Contracts/PnpmYaml.cs | 1 + .../pnpm/Contracts/PnpmYamlV5.cs | 1 + .../pnpm/Contracts/V6/PnpmHasDependenciesV6.cs | 1 + .../pnpm/Contracts/V6/PnpmYamlV6.cs | 1 + .../pnpm/Contracts/V6/PnpmYamlV6Dependency.cs | 1 + .../pnpm/Contracts/V9/PnpmHasDependenciesV9.cs | 1 + .../pnpm/Contracts/V9/PnpmYamlV9.cs | 1 + .../pnpm/Contracts/V9/PnpmYamlV9Dependency.cs | 1 + .../pnpm/IPnpmDetector.cs | 1 + .../pnpm/ParsingUtilities/PnpmParsingUtilitiesBase.cs | 1 + .../pnpm/ParsingUtilities/PnpmParsingUtilitiesFactory.cs | 1 + .../pnpm/ParsingUtilities/PnpmV5ParsingUtilities.cs | 1 + .../pnpm/ParsingUtilities/PnpmV6ParsingUtilities.cs | 1 + .../pnpm/ParsingUtilities/PnpmV9ParsingUtilities.cs | 1 + .../pnpm/Pnpm5Detector.cs | 1 + .../pnpm/Pnpm6Detector.cs | 1 + .../pnpm/Pnpm9Detector.cs | 1 + .../pnpm/PnpmComponentDetectorFactory.cs | 1 + .../poetry/Contracts/PoetryLock.cs | 1 + .../poetry/Contracts/PoetryPackage.cs | 1 + .../poetry/Contracts/PoetrySource.cs | 1 + .../poetry/PoetryComponentDetector.cs | 1 + .../ruby/RubyComponentDetector.cs | 3 ++- .../rust/CargoDependencyData.cs | 1 + .../rust/Contracts/CargoLock.cs | 1 + .../rust/Contracts/CargoPackage.cs | 1 + .../rust/Contracts/CargoSbom.cs | 3 ++- .../rust/Contracts/CargoToml.cs | 1 + .../rust/DependencySpecification.cs | 1 + .../rust/InvalidRustTomlFileException.cs | 1 + .../rust/RustCliDetector.cs | 1 + .../rust/RustCrateDetector.cs | 1 + .../rust/RustSbomDetector.cs | 1 + .../spdx/Spdx22ComponentDetector.cs | 1 + .../swiftpm/Contracts/SwiftResolvedFile.cs | 1 + .../swiftpm/SwiftResolvedComponentDetector.cs | 1 + .../vcpkg/Contracts/Annotation.cs | 1 + .../vcpkg/Contracts/ManifestInfo.cs | 1 + .../vcpkg/Contracts/Package.cs | 1 + .../vcpkg/Contracts/VcpkgSBOM.cs | 1 + .../vcpkg/VcpkgComponentDetector.cs | 1 + .../yarn/Contracts/YarnBerryDependencyMeta.cs | 1 + .../yarn/Contracts/YarnBerryLockfile.cs | 1 + .../yarn/Contracts/YarnBerryLockfileMetadata.cs | 1 + .../yarn/Contracts/YarnBerryPeerDependencyMeta.cs | 1 + .../yarn/Contracts/YarnBerryTypeConverter.cs | 1 + .../yarn/IYarnLockFileFactory.cs | 1 + .../yarn/IYarnLockParser.cs | 1 + .../yarn/InvalidYarnLockFileException.cs | 1 + .../yarn/Parsers/IYarnBlockFile.cs | 1 + .../yarn/Parsers/YarnBlock.cs | 1 + .../yarn/Parsers/YarnBlockFile.cs | 1 + .../yarn/Parsers/YarnLockParser.cs | 1 + .../yarn/YarnDependency.cs | 1 + .../yarn/YarnEntry.cs | 1 + .../yarn/YarnLockComponentDetector.cs | 1 + .../yarn/YarnLockFile.cs | 1 + .../yarn/YarnLockFileFactory.cs | 1 + .../yarn/YarnLockVersion.cs | 1 + .../ArgumentHelper.cs | 1 + .../Commands/BaseSettings.cs | 1 + .../Commands/Interceptor.cs | 1 + .../Commands/ListDetectorsCommand.cs | 1 + .../Commands/ListDetectorsSettings.cs | 1 + .../Commands/ScanCommand.cs | 1 + .../Commands/ScanSettings.cs | 1 + .../DetectorRestrictions.cs | 1 + .../DetectorRunResult.cs | 1 + .../Exceptions/InvalidDetectorCategoriesException.cs | 1 + .../Exceptions/InvalidDetectorFilterException.cs | 1 + .../Experiments/Configs/IExperimentConfiguration.cs | 1 + .../Experiments/Configs/RustSbomVsCliExperiment.cs | 1 + .../Experiments/Configs/RustSbomVsCrateExperiment.cs | 1 + .../Experiments/Configs/SimplePipExperiment.cs | 1 + .../Experiments/Configs/UvLockDetectorExperiment.cs | 1 + .../Experiments/DefaultExperimentProcessor.cs | 1 + .../Experiments/DetectorExperiments.cs | 1 + .../Experiments/ExperimentComponentComparer.cs | 1 + .../Experiments/ExperimentService.cs | 1 + .../Experiments/IExperimentProcessor.cs | 1 + .../Experiments/IExperimentService.cs | 1 + .../Experiments/Models/ExperimentComponent.cs | 1 + .../Experiments/Models/ExperimentDiff.cs | 1 + .../Experiments/Models/ExperimentResults.cs | 1 + .../Extensions/CommaDelimitedConverter.cs | 1 + .../Extensions/KeyValueDelimitedConverter.cs | 1 + .../Extensions/SemicolonDelimitedConverter.cs | 1 + .../Extensions/ServiceCollectionExtensions.cs | 1 + .../Extensions/TypeRegistrar.cs | 1 + .../Extensions/TypeResolver.cs | 1 + .../IArgumentHelper.cs | 1 + .../LoggingEnricher.cs | 1 + .../Services/DetectorProcessingResult.cs | 1 + .../Services/DetectorProcessingService.cs | 1 + .../Services/DetectorRestrictionService.cs | 1 + .../GraphTranslation/DefaultGraphTranslationService.cs | 1 + .../Services/GraphTranslation/GraphTranslationUtility.cs | 1 + .../Services/GraphTranslation/IGraphTranslationService.cs | 1 + .../Services/IDetectorProcessingService.cs | 1 + .../Services/IDetectorRestrictionService.cs | 1 + .../Services/IScanExecutionService.cs | 1 + .../Services/ScanExecutionService.cs | 1 + src/Microsoft.ComponentDetection/Program.cs | 1 + .../AsyncExceptionTests.cs | 1 + .../BaseDetectionTelemetryRecordTests.cs | 1 + .../CommandLineInvocationServiceTests.cs | 1 + .../ComponentRecorderTests.cs | 1 + .../ComponentStreamEnumerableTests.cs | 1 + .../ConsoleWritingServiceTests.cs | 1 + .../DependencyGraphTests.cs | 1 + .../DependencyScopeComparerTests.cs | 1 + .../DirectoryUtilityServiceTests.cs | 1 + .../DockerReferenceUtilityTests.cs | 1 + .../DockerServiceTests.cs | 1 + .../EnvironmentVariableServiceTests.cs | 1 + .../FileEnumerationTests.cs | 1 + .../FileUtilityServiceTests.cs | 1 + .../FileWritingServiceTests.cs | 1 + .../LazyComponentStreamTests.cs | 1 + .../PathUtilityServiceTests.cs | 1 + .../PatternMatchingUtilityTests.cs | 1 + .../SafeFileEnumerableTests.cs | 1 + .../StringUtilitiesTests.cs | 1 + .../TabularStringFormatTests.cs | 1 + .../DetectedComponentTests.cs | 1 + .../FileComponentDetectorWithCleanupTests.cs | 1 + .../PurlGenerationTests.cs | 1 + .../ScanResultSerializationTests.cs | 1 + .../TypedComponentSerializationTests.cs | 1 + .../ComponentDetectorTests.cs | 1 + .../ConanLockComponentDetectorTests.cs | 1 + .../CondaLockComponentDetectorTests.cs | 1 + .../DotNetComponentDetectorTests.cs | 1 + .../GoComponentDetectorTests.cs | 1 + .../GoComponentTests.cs | 1 + .../GradleComponentDetectorTests.cs | 1 + .../GradleTestUtilities.cs | 1 + .../IvyDetectorTests.cs | 1 + .../LinuxContainerDetectorTests.cs | 1 + .../LinuxScannerTests.cs | 1 + .../MavenCommandServiceTests.cs | 1 + .../MavenParsingUtilitiesTests.cs | 1 + .../MavenStyleDependencyGraphParserTests.cs | 1 + .../MavenTestUtilities.cs | 1 + .../Mocks/TestResources.Designer.cs | 1 + .../MvnCliDetectorTests.cs | 1 + .../NpmDetectorTests.cs | 1 + .../NpmDetectorWithRootsTests.cs | 1 + .../NpmLockfile3DetectorTests.cs | 1 + .../NpmTestUtilities.cs | 1 + .../NpmUtilitiesTests.cs | 1 + .../NuGetComponentDetectorTests.cs | 1 + .../NuGetNuspecUtilitiesTests.cs | 1 + ...NuGetProjectModelProjectCentricComponentDetectorTests.cs | 1 + .../NugetTestUtilities.cs | 1 + .../PipCommandServiceTests.cs | 1 + .../PipComponentDetectorTests.cs | 1 + .../PipDependencySpecifierTests.cs | 1 + .../PipReportComponentDetectorTests.cs | 1 + .../PipReportUtilitiesTests.cs | 1 + .../PipResolverTests.cs | 1 + .../PnpmDetectorTests.cs | 1 + .../PnpmParsingUtilitiesTest.cs | 1 + .../PodDetectorTest.cs | 1 + .../PoetryComponentDetectorTests.cs | 1 + .../PyPiClientTests.cs | 1 + .../PythonCommandServiceTests.cs | 1 + .../PythonVersionTests.cs | 1 + .../RubyDetectorTest.cs | 1 + .../RustCliDetectorTests.cs | 1 + .../RustCrateDetectorTests.cs | 1 + .../RustDependencySpecifierTest.cs | 1 + .../RustSbomDetectorTests.cs | 1 + .../SPDX22ComponentDetectorTests.cs | 1 + .../SimplePipComponentDetectorTests.cs | 1 + .../SimplePypiClientTests.cs | 1 + .../SimplePythonResolverTests.cs | 1 + .../SwiftComponentTests.cs | 1 + .../SwiftResolvedDetectorTests.cs | 1 + .../Utilities/ComponentRecorderTestUtilities.cs | 1 + .../Utilities/EnumerableStringComparer.cs | 1 + .../Utilities/TestUtilityExtensions.cs | 1 + .../UvLockDetectorTests.cs | 1 + .../UvLockTests.cs | 1 + .../VcpkgComponentDetectorTests.cs | 1 + .../Yarn/YarnBerryTypeConverterTests.cs | 1 + .../YarnBlockFileTests.cs | 1 + .../YarnLockDetectorTests.cs | 1 + .../YarnParserTests.cs | 1 + .../YarnTestUtilities.cs | 1 + .../nuget/NuGetPackagesConfigDetectorTests.cs | 1 + .../Commands/BaseSettingsTests.cs | 1 + .../Commands/InterceptorTests.cs | 1 + .../Commands/ListDetectorCommandTests.cs | 1 + .../Commands/ScanCommandTests.cs | 1 + .../Commands/ScanSettingsTests.cs | 1 + .../Experiments/DefaultExperimentProcessorTests.cs | 1 + .../Experiments/ExperimentConfigTests.cs | 1 + .../Experiments/ExperimentDiffTests.cs | 1 + .../Experiments/ExperimentResultsTests.cs | 1 + .../Experiments/ExperimentServiceTests.cs | 1 + .../Experiments/ExperimentTestUtils.cs | 1 + .../Experiments/UvLockDetectorExperimentTests.cs | 1 + .../Extensions/CommaDelimitedConverterTests.cs | 1 + .../Extensions/KeyValueDelimitedConverterTests.cs | 1 + .../Extensions/SemicolonDelimitedConverterTests.cs | 1 + .../Extensions/TypeRegistrarTests.cs | 1 + .../GraphTranslationUtilityTests.cs | 1 + .../LoggingEnricherTests.cs | 1 + .../Services/BcdeScanExecutionServiceTests.cs | 1 + .../Services/DefaultGraphTranslationServiceTests.cs | 1 + .../Services/DetectorProcessingServiceTests.cs | 1 + .../Services/DetectorRestrictionServiceTests.cs | 1 + .../TelemetryHelper.cs | 1 + .../Attributes/SkipTestIfNotWindowsAttribute.cs | 1 + .../Attributes/SkipTestOnWindowsAttribute.cs | 1 + .../BaseDetectorTest.cs | 1 + .../DetectorTestUtilityBuilder.cs | 1 + .../EnumerableStringComparer.cs | 1 + .../ExtensionMethods.cs | 1 + .../ComponentDetectionIntegrationTests.cs | 1 + .../JsonSchemaTests.cs | 1 + 454 files changed, 463 insertions(+), 2 deletions(-) diff --git a/.editorconfig b/.editorconfig index 7b44a984a..0251ed2bb 100644 --- a/.editorconfig +++ b/.editorconfig @@ -697,6 +697,12 @@ dotnet_diagnostic.CA1851.severity = suggestion # CA1861: Avoid constant arrays as arguments dotnet_diagnostic.CA1861.severity = suggestion +# IDE0240: Nullable directive is redundant +dotnet_diagnostic.IDE0240.severity = suggestion + +# IDE0241: Nullable directive is unnecessary +dotnet_diagnostic.IDE0241.severity = suggestion + # Workaround for https://github.com/dotnet/roslyn-analyzers/issues/5628 [Program.cs] dotnet_diagnostic.ca1812.severity = none diff --git a/Directory.Build.props b/Directory.Build.props index 647ccfd7f..2e76b96be 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -8,6 +8,7 @@ latest AllEnabledByDefault true + enable diff --git a/src/Microsoft.ComponentDetection.Common/AsyncExecution.cs b/src/Microsoft.ComponentDetection.Common/AsyncExecution.cs index c0728eec5..e881afc94 100644 --- a/src/Microsoft.ComponentDetection.Common/AsyncExecution.cs +++ b/src/Microsoft.ComponentDetection.Common/AsyncExecution.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; using System; diff --git a/src/Microsoft.ComponentDetection.Common/Column.cs b/src/Microsoft.ComponentDetection.Common/Column.cs index 4ce0cac20..d55f00044 100644 --- a/src/Microsoft.ComponentDetection.Common/Column.cs +++ b/src/Microsoft.ComponentDetection.Common/Column.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; public class Column diff --git a/src/Microsoft.ComponentDetection.Common/CommandLineInvocationService.cs b/src/Microsoft.ComponentDetection.Common/CommandLineInvocationService.cs index f82c1eede..37a1404f8 100644 --- a/src/Microsoft.ComponentDetection.Common/CommandLineInvocationService.cs +++ b/src/Microsoft.ComponentDetection.Common/CommandLineInvocationService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; using System; diff --git a/src/Microsoft.ComponentDetection.Common/ComponentComparer.cs b/src/Microsoft.ComponentDetection.Common/ComponentComparer.cs index 8e03c9107..f3417a13c 100644 --- a/src/Microsoft.ComponentDetection.Common/ComponentComparer.cs +++ b/src/Microsoft.ComponentDetection.Common/ComponentComparer.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Common/ComponentStream.cs b/src/Microsoft.ComponentDetection.Common/ComponentStream.cs index 8c18db628..9d6530253 100644 --- a/src/Microsoft.ComponentDetection.Common/ComponentStream.cs +++ b/src/Microsoft.ComponentDetection.Common/ComponentStream.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; using System.IO; diff --git a/src/Microsoft.ComponentDetection.Common/ComponentStreamEnumerable.cs b/src/Microsoft.ComponentDetection.Common/ComponentStreamEnumerable.cs index ade05d0e7..2e3787bfd 100644 --- a/src/Microsoft.ComponentDetection.Common/ComponentStreamEnumerable.cs +++ b/src/Microsoft.ComponentDetection.Common/ComponentStreamEnumerable.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; using System; diff --git a/src/Microsoft.ComponentDetection.Common/ComponentStreamEnumerableFactory.cs b/src/Microsoft.ComponentDetection.Common/ComponentStreamEnumerableFactory.cs index 318394f23..f895ff0c6 100644 --- a/src/Microsoft.ComponentDetection.Common/ComponentStreamEnumerableFactory.cs +++ b/src/Microsoft.ComponentDetection.Common/ComponentStreamEnumerableFactory.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; using System; diff --git a/src/Microsoft.ComponentDetection.Common/ConsoleWritingService.cs b/src/Microsoft.ComponentDetection.Common/ConsoleWritingService.cs index 1edec9fb4..d0971c4ff 100644 --- a/src/Microsoft.ComponentDetection.Common/ConsoleWritingService.cs +++ b/src/Microsoft.ComponentDetection.Common/ConsoleWritingService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; using System; diff --git a/src/Microsoft.ComponentDetection.Common/DependencyGraph/ComponentRecorder.cs b/src/Microsoft.ComponentDetection.Common/DependencyGraph/ComponentRecorder.cs index aa72fb234..664ed310f 100644 --- a/src/Microsoft.ComponentDetection.Common/DependencyGraph/ComponentRecorder.cs +++ b/src/Microsoft.ComponentDetection.Common/DependencyGraph/ComponentRecorder.cs @@ -1,3 +1,4 @@ +#nullable disable using System; using System.Collections.Concurrent; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Common/DependencyGraph/DependencyGraph.cs b/src/Microsoft.ComponentDetection.Common/DependencyGraph/DependencyGraph.cs index b5ca144f3..d4ad20433 100644 --- a/src/Microsoft.ComponentDetection.Common/DependencyGraph/DependencyGraph.cs +++ b/src/Microsoft.ComponentDetection.Common/DependencyGraph/DependencyGraph.cs @@ -1,3 +1,4 @@ +#nullable disable using System; using System.Collections.Concurrent; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Common/DependencyScopeComparer.cs b/src/Microsoft.ComponentDetection.Common/DependencyScopeComparer.cs index 79a0090a2..2dd3cb35f 100644 --- a/src/Microsoft.ComponentDetection.Common/DependencyScopeComparer.cs +++ b/src/Microsoft.ComponentDetection.Common/DependencyScopeComparer.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; using Microsoft.ComponentDetection.Contracts.BcdeModels; diff --git a/src/Microsoft.ComponentDetection.Common/DirectoryItemFacade.cs b/src/Microsoft.ComponentDetection.Common/DirectoryItemFacade.cs index 06dc41159..e06863526 100644 --- a/src/Microsoft.ComponentDetection.Common/DirectoryItemFacade.cs +++ b/src/Microsoft.ComponentDetection.Common/DirectoryItemFacade.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Common/DirectoryItemFacadeOptimized.cs b/src/Microsoft.ComponentDetection.Common/DirectoryItemFacadeOptimized.cs index 3dec36a80..85925b957 100644 --- a/src/Microsoft.ComponentDetection.Common/DirectoryItemFacadeOptimized.cs +++ b/src/Microsoft.ComponentDetection.Common/DirectoryItemFacadeOptimized.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Common/DirectoryUtilityService.cs b/src/Microsoft.ComponentDetection.Common/DirectoryUtilityService.cs index f0ae8f9b9..1c6f9c5ba 100644 --- a/src/Microsoft.ComponentDetection.Common/DirectoryUtilityService.cs +++ b/src/Microsoft.ComponentDetection.Common/DirectoryUtilityService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Common/DockerReference/DigestUtility.cs b/src/Microsoft.ComponentDetection.Common/DockerReference/DigestUtility.cs index b1871c487..e24b71f23 100644 --- a/src/Microsoft.ComponentDetection.Common/DockerReference/DigestUtility.cs +++ b/src/Microsoft.ComponentDetection.Common/DockerReference/DigestUtility.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Common/DockerReference/DockerReferenceException.cs b/src/Microsoft.ComponentDetection.Common/DockerReference/DockerReferenceException.cs index 07341d336..fae0fcb3d 100644 --- a/src/Microsoft.ComponentDetection.Common/DockerReference/DockerReferenceException.cs +++ b/src/Microsoft.ComponentDetection.Common/DockerReference/DockerReferenceException.cs @@ -1,3 +1,4 @@ +#nullable disable #pragma warning disable SA1402 namespace Microsoft.ComponentDetection.Common; diff --git a/src/Microsoft.ComponentDetection.Common/DockerReference/DockerReferenceUtility.cs b/src/Microsoft.ComponentDetection.Common/DockerReference/DockerReferenceUtility.cs index 022f8b612..3688e44f0 100644 --- a/src/Microsoft.ComponentDetection.Common/DockerReference/DockerReferenceUtility.cs +++ b/src/Microsoft.ComponentDetection.Common/DockerReference/DockerReferenceUtility.cs @@ -1,3 +1,5 @@ +#nullable disable + // transcribed from https://github.com/containers/image/blob/c1a5f92d0ebbf9e0bf187b3353dd400472b388eb/docker/reference/reference.go // Package reference provides a general type to represent any way of referencing images within the registry. diff --git a/src/Microsoft.ComponentDetection.Common/DockerReference/DockerRegex.cs b/src/Microsoft.ComponentDetection.Common/DockerReference/DockerRegex.cs index 4e9af5a68..1c0e85175 100644 --- a/src/Microsoft.ComponentDetection.Common/DockerReference/DockerRegex.cs +++ b/src/Microsoft.ComponentDetection.Common/DockerReference/DockerRegex.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; using System.Linq; diff --git a/src/Microsoft.ComponentDetection.Common/DockerService.cs b/src/Microsoft.ComponentDetection.Common/DockerService.cs index a93f82eb8..d9b47e05b 100644 --- a/src/Microsoft.ComponentDetection.Common/DockerService.cs +++ b/src/Microsoft.ComponentDetection.Common/DockerService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; using System; diff --git a/src/Microsoft.ComponentDetection.Common/EnvironmentVariableService.cs b/src/Microsoft.ComponentDetection.Common/EnvironmentVariableService.cs index 7ce1bed86..188efb667 100644 --- a/src/Microsoft.ComponentDetection.Common/EnvironmentVariableService.cs +++ b/src/Microsoft.ComponentDetection.Common/EnvironmentVariableService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; using System; diff --git a/src/Microsoft.ComponentDetection.Common/Exceptions/InvalidUserInputException.cs b/src/Microsoft.ComponentDetection.Common/Exceptions/InvalidUserInputException.cs index 2e2db7bf3..2b8a2cced 100644 --- a/src/Microsoft.ComponentDetection.Common/Exceptions/InvalidUserInputException.cs +++ b/src/Microsoft.ComponentDetection.Common/Exceptions/InvalidUserInputException.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Exceptions; using System; diff --git a/src/Microsoft.ComponentDetection.Common/FastDirectoryWalkerFactory.cs b/src/Microsoft.ComponentDetection.Common/FastDirectoryWalkerFactory.cs index b10ddfa35..a6ce9c286 100644 --- a/src/Microsoft.ComponentDetection.Common/FastDirectoryWalkerFactory.cs +++ b/src/Microsoft.ComponentDetection.Common/FastDirectoryWalkerFactory.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; using System; diff --git a/src/Microsoft.ComponentDetection.Common/FileUtilityService.cs b/src/Microsoft.ComponentDetection.Common/FileUtilityService.cs index af6ed4d2d..6fc7857b5 100644 --- a/src/Microsoft.ComponentDetection.Common/FileUtilityService.cs +++ b/src/Microsoft.ComponentDetection.Common/FileUtilityService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Common/FileWritingService.cs b/src/Microsoft.ComponentDetection.Common/FileWritingService.cs index 1c7f1aa7f..0aff9fb7d 100644 --- a/src/Microsoft.ComponentDetection.Common/FileWritingService.cs +++ b/src/Microsoft.ComponentDetection.Common/FileWritingService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; using System; diff --git a/src/Microsoft.ComponentDetection.Common/IConsoleWritingService.cs b/src/Microsoft.ComponentDetection.Common/IConsoleWritingService.cs index 83d706346..a60ee2095 100644 --- a/src/Microsoft.ComponentDetection.Common/IConsoleWritingService.cs +++ b/src/Microsoft.ComponentDetection.Common/IConsoleWritingService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; public interface IConsoleWritingService diff --git a/src/Microsoft.ComponentDetection.Common/IFileWritingService.cs b/src/Microsoft.ComponentDetection.Common/IFileWritingService.cs index f192086a3..ec62a3822 100644 --- a/src/Microsoft.ComponentDetection.Common/IFileWritingService.cs +++ b/src/Microsoft.ComponentDetection.Common/IFileWritingService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; using System; diff --git a/src/Microsoft.ComponentDetection.Common/ISafeFileEnumerableFactory.cs b/src/Microsoft.ComponentDetection.Common/ISafeFileEnumerableFactory.cs index 5cd277f43..df2a11aca 100644 --- a/src/Microsoft.ComponentDetection.Common/ISafeFileEnumerableFactory.cs +++ b/src/Microsoft.ComponentDetection.Common/ISafeFileEnumerableFactory.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Common/LazyComponentStream.cs b/src/Microsoft.ComponentDetection.Common/LazyComponentStream.cs index 2a5f81b2b..d8f3cd81d 100644 --- a/src/Microsoft.ComponentDetection.Common/LazyComponentStream.cs +++ b/src/Microsoft.ComponentDetection.Common/LazyComponentStream.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; using System; diff --git a/src/Microsoft.ComponentDetection.Common/MatchedFile.cs b/src/Microsoft.ComponentDetection.Common/MatchedFile.cs index 8b8b6cc60..1308692e7 100644 --- a/src/Microsoft.ComponentDetection.Common/MatchedFile.cs +++ b/src/Microsoft.ComponentDetection.Common/MatchedFile.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; using System.IO; diff --git a/src/Microsoft.ComponentDetection.Common/PathUtilityService.cs b/src/Microsoft.ComponentDetection.Common/PathUtilityService.cs index 006d62e77..27df98217 100644 --- a/src/Microsoft.ComponentDetection.Common/PathUtilityService.cs +++ b/src/Microsoft.ComponentDetection.Common/PathUtilityService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; using System; diff --git a/src/Microsoft.ComponentDetection.Common/PatternMatchingUtility.cs b/src/Microsoft.ComponentDetection.Common/PatternMatchingUtility.cs index d188a0956..884e79375 100644 --- a/src/Microsoft.ComponentDetection.Common/PatternMatchingUtility.cs +++ b/src/Microsoft.ComponentDetection.Common/PatternMatchingUtility.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; using System; diff --git a/src/Microsoft.ComponentDetection.Common/Resources.Designer.cs b/src/Microsoft.ComponentDetection.Common/Resources.Designer.cs index 08bb65d5d..303952038 100644 --- a/src/Microsoft.ComponentDetection.Common/Resources.Designer.cs +++ b/src/Microsoft.ComponentDetection.Common/Resources.Designer.cs @@ -1,3 +1,4 @@ +#nullable disable //------------------------------------------------------------------------------ // // This code was generated by a tool. diff --git a/src/Microsoft.ComponentDetection.Common/SafeFileEnumerable.cs b/src/Microsoft.ComponentDetection.Common/SafeFileEnumerable.cs index ab80566af..ebc7f020a 100644 --- a/src/Microsoft.ComponentDetection.Common/SafeFileEnumerable.cs +++ b/src/Microsoft.ComponentDetection.Common/SafeFileEnumerable.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; using System; diff --git a/src/Microsoft.ComponentDetection.Common/SafeFileEnumerableFactory.cs b/src/Microsoft.ComponentDetection.Common/SafeFileEnumerableFactory.cs index 6e67c065f..64344c123 100644 --- a/src/Microsoft.ComponentDetection.Common/SafeFileEnumerableFactory.cs +++ b/src/Microsoft.ComponentDetection.Common/SafeFileEnumerableFactory.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Common/ScanType.cs b/src/Microsoft.ComponentDetection.Common/ScanType.cs index b3a2d696e..4dcb1e506 100644 --- a/src/Microsoft.ComponentDetection.Common/ScanType.cs +++ b/src/Microsoft.ComponentDetection.Common/ScanType.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; public enum ScanType diff --git a/src/Microsoft.ComponentDetection.Common/TabularStringFormat.cs b/src/Microsoft.ComponentDetection.Common/TabularStringFormat.cs index d60f56479..aa6c314ab 100644 --- a/src/Microsoft.ComponentDetection.Common/TabularStringFormat.cs +++ b/src/Microsoft.ComponentDetection.Common/TabularStringFormat.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; using System; diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Attributes/MetricAttribute.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Attributes/MetricAttribute.cs index e6ee53a22..630e93244 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Attributes/MetricAttribute.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Attributes/MetricAttribute.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Attributes; using System; diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/CommandLineTelemetryService.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/CommandLineTelemetryService.cs index 7fc21dc22..3b85058f6 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/CommandLineTelemetryService.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/CommandLineTelemetryService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry; using System; diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/ITelemetryService.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/ITelemetryService.cs index 370c13d43..cfa8910fb 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/ITelemetryService.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/ITelemetryService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry; using Microsoft.ComponentDetection.Common.Telemetry.Records; diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/BaseDetectionTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/BaseDetectionTelemetryRecord.cs index be3402694..ce6689bb7 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/BaseDetectionTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/BaseDetectionTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; using System; diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/BcdeExecutionTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/BcdeExecutionTelemetryRecord.cs index 69aefc6a9..348586980 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/BcdeExecutionTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/BcdeExecutionTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; using System; diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/CommandLineInvocationTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/CommandLineInvocationTelemetryRecord.cs index e4745f7f5..d44ae611a 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/CommandLineInvocationTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/CommandLineInvocationTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; using System; diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DependencyGraphTranslationRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DependencyGraphTranslationRecord.cs index 2a4ddae93..4c662f2a4 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DependencyGraphTranslationRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DependencyGraphTranslationRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; using System; diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DetectedComponentScopeRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DetectedComponentScopeRecord.cs index 94c437277..e279d81d7 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DetectedComponentScopeRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DetectedComponentScopeRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; using System.Runtime.CompilerServices; diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DetectorExecutionTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DetectorExecutionTelemetryRecord.cs index cbed3d3bc..c1e42c084 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DetectorExecutionTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DetectorExecutionTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class DetectorExecutionTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceImageExistsLocallyTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceImageExistsLocallyTelemetryRecord.cs index 7b268e40d..33d02afb2 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceImageExistsLocallyTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceImageExistsLocallyTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class DockerServiceImageExistsLocallyTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceInspectImageTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceInspectImageTelemetryRecord.cs index 19720ee36..0fdf66ad2 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceInspectImageTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceInspectImageTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class DockerServiceInspectImageTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceSystemInfoTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceSystemInfoTelemetryRecord.cs index be32db82c..6a6b6a33e 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceSystemInfoTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceSystemInfoTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class DockerServiceSystemInfoTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceTelemetryRecord.cs index 45ff09424..c87f4594b 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class DockerServiceTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceTryPullImageTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceTryPullImageTelemetryRecord.cs index 999127263..a0bc47b3e 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceTryPullImageTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceTryPullImageTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class DockerServiceTryPullImageTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/FailedParsingFileRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/FailedParsingFileRecord.cs index 6dc532119..8dbc7985f 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/FailedParsingFileRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/FailedParsingFileRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class FailedParsingFileRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/GoGraphTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/GoGraphTelemetryRecord.cs index 46bf7b628..2a6f25cd2 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/GoGraphTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/GoGraphTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class GoGraphTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/GoReplaceTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/GoReplaceTelemetryRecord.cs index 2edbd9684..ce96c1b7e 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/GoReplaceTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/GoReplaceTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class GoReplaceTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/IDetectionTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/IDetectionTelemetryRecord.cs index 2056aff14..79488d66d 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/IDetectionTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/IDetectionTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; using System; diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/InvalidParseVersionTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/InvalidParseVersionTelemetryRecord.cs index 341b0b69b..22f5cc906 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/InvalidParseVersionTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/InvalidParseVersionTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class InvalidParseVersionTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorImageDetectionFailed.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorImageDetectionFailed.cs index 5da8f7e97..ba9a15a90 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorImageDetectionFailed.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorImageDetectionFailed.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class LinuxContainerDetectorImageDetectionFailed : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorLayerAwareness.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorLayerAwareness.cs index 11b082bbe..dc464c56d 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorLayerAwareness.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorLayerAwareness.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class LinuxContainerDetectorLayerAwareness : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorMissingRepoNameAndTagRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorMissingRepoNameAndTagRecord.cs index 6d64ae1a0..c92ac0451 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorMissingRepoNameAndTagRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorMissingRepoNameAndTagRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class LinuxContainerDetectorMissingRepoNameAndTagRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorMissingVersion.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorMissingVersion.cs index d4133c8a8..965ecfe36 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorMissingVersion.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorMissingVersion.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class LinuxContainerDetectorMissingVersion : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorTimeout.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorTimeout.cs index 4e91d6122..12477828a 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorTimeout.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorTimeout.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class LinuxContainerDetectorTimeout : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorUnsupportedOs.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorUnsupportedOs.cs index 59b61bd0c..50d6ad352 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorUnsupportedOs.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorUnsupportedOs.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class LinuxContainerDetectorUnsupportedOs : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxScannerSyftTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxScannerSyftTelemetryRecord.cs index 2adf58b42..676bd7be6 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxScannerSyftTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxScannerSyftTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class LinuxScannerSyftTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxScannerTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxScannerTelemetryRecord.cs index b5d7ab5de..647d4bea5 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxScannerTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxScannerTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class LinuxScannerTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LoadComponentDetectorsTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LoadComponentDetectorsTelemetryRecord.cs index 019ac304c..829286bf4 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LoadComponentDetectorsTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LoadComponentDetectorsTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class LoadComponentDetectorsTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/NuGetProjectAssetsTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/NuGetProjectAssetsTelemetryRecord.cs index 3759a402e..a5ed51bbd 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/NuGetProjectAssetsTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/NuGetProjectAssetsTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; using System; diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PipReportFailureTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PipReportFailureTelemetryRecord.cs index 3f2a72d58..2206f2a1b 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PipReportFailureTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PipReportFailureTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class PipReportFailureTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PipReportSkipTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PipReportSkipTelemetryRecord.cs index 845439b2a..69c3092bf 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PipReportSkipTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PipReportSkipTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class PipReportSkipTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PipReportTypeTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PipReportTypeTelemetryRecord.cs index ed5afee8e..2b1c6b8a8 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PipReportTypeTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PipReportTypeTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class PipReportTypeTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PyPiCacheTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PyPiCacheTelemetryRecord.cs index ff0a5920e..c5d01ad1f 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PyPiCacheTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PyPiCacheTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class PypiCacheTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PypiFailureTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PypiFailureTelemetryRecord.cs index 834d02d1d..528011ffc 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PypiFailureTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PypiFailureTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; using System.Net; diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PypiMaxRetriesReachedTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PypiMaxRetriesReachedTelemetryRecord.cs index e49973c54..b403aa1b9 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PypiMaxRetriesReachedTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PypiMaxRetriesReachedTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class PypiMaxRetriesReachedTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PypiRetryTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PypiRetryTelemetryRecord.cs index d60d18a07..8e1b1aca2 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PypiRetryTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PypiRetryTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; using System.Net; diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/RustCrateDetectorTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/RustCrateDetectorTelemetryRecord.cs index 9ee6ef2c9..dd0bc62a8 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/RustCrateDetectorTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/RustCrateDetectorTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class RustCrateDetectorTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/RustGraphTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/RustGraphTelemetryRecord.cs index 92d92ef53..32e2ad0ad 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/RustGraphTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/RustGraphTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class RustGraphTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/SimplePypiCacheTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/SimplePypiCacheTelemetryRecord.cs index b615b82d7..02117bc74 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/SimplePypiCacheTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/SimplePypiCacheTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class SimplePypiCacheTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/TelemetryConstants.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/TelemetryConstants.cs index 1ba306666..de3606180 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/TelemetryConstants.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/TelemetryConstants.cs @@ -1,3 +1,4 @@ +#nullable disable using System; using System.Runtime.CompilerServices; diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/TelemetryMode.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/TelemetryMode.cs index f68cc6702..30510ac7c 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/TelemetryMode.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/TelemetryMode.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry; public enum TelemetryMode diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/TelemetryRelay.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/TelemetryRelay.cs index f5b3326d8..39eb29d87 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/TelemetryRelay.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/TelemetryRelay.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry; using System; diff --git a/src/Microsoft.ComponentDetection.Common/Utilities/StringUtilities.cs b/src/Microsoft.ComponentDetection.Common/Utilities/StringUtilities.cs index 47b4cd6f0..878e0c140 100644 --- a/src/Microsoft.ComponentDetection.Common/Utilities/StringUtilities.cs +++ b/src/Microsoft.ComponentDetection.Common/Utilities/StringUtilities.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; using System; diff --git a/src/Microsoft.ComponentDetection.Common/WarnOnAlertSeverity.cs b/src/Microsoft.ComponentDetection.Common/WarnOnAlertSeverity.cs index a66601bf0..77b524136 100644 --- a/src/Microsoft.ComponentDetection.Common/WarnOnAlertSeverity.cs +++ b/src/Microsoft.ComponentDetection.Common/WarnOnAlertSeverity.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; public enum WarnOnAlertSeverity diff --git a/src/Microsoft.ComponentDetection.Contracts/BcdeModels/ContainerDetails.cs b/src/Microsoft.ComponentDetection.Contracts/BcdeModels/ContainerDetails.cs index ac3ea4ed8..246b5a756 100644 --- a/src/Microsoft.ComponentDetection.Contracts/BcdeModels/ContainerDetails.cs +++ b/src/Microsoft.ComponentDetection.Contracts/BcdeModels/ContainerDetails.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts.BcdeModels; using System; diff --git a/src/Microsoft.ComponentDetection.Contracts/BcdeModels/DefaultGraphScanResult.cs b/src/Microsoft.ComponentDetection.Contracts/BcdeModels/DefaultGraphScanResult.cs index e009f2eec..1582d4c86 100644 --- a/src/Microsoft.ComponentDetection.Contracts/BcdeModels/DefaultGraphScanResult.cs +++ b/src/Microsoft.ComponentDetection.Contracts/BcdeModels/DefaultGraphScanResult.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts.BcdeModels; using Newtonsoft.Json; diff --git a/src/Microsoft.ComponentDetection.Contracts/BcdeModels/DependencyGraph.cs b/src/Microsoft.ComponentDetection.Contracts/BcdeModels/DependencyGraph.cs index c98abf0c2..366942570 100644 --- a/src/Microsoft.ComponentDetection.Contracts/BcdeModels/DependencyGraph.cs +++ b/src/Microsoft.ComponentDetection.Contracts/BcdeModels/DependencyGraph.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts.BcdeModels; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Contracts/BcdeModels/DependencyGraphCollection.cs b/src/Microsoft.ComponentDetection.Contracts/BcdeModels/DependencyGraphCollection.cs index f384d97d4..c046b5b47 100644 --- a/src/Microsoft.ComponentDetection.Contracts/BcdeModels/DependencyGraphCollection.cs +++ b/src/Microsoft.ComponentDetection.Contracts/BcdeModels/DependencyGraphCollection.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts.BcdeModels; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Contracts/BcdeModels/DependencyGraphWithMetadata.cs b/src/Microsoft.ComponentDetection.Contracts/BcdeModels/DependencyGraphWithMetadata.cs index b850ff678..ab07b020e 100644 --- a/src/Microsoft.ComponentDetection.Contracts/BcdeModels/DependencyGraphWithMetadata.cs +++ b/src/Microsoft.ComponentDetection.Contracts/BcdeModels/DependencyGraphWithMetadata.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts.BcdeModels; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Contracts/BcdeModels/DependencyScope.cs b/src/Microsoft.ComponentDetection.Contracts/BcdeModels/DependencyScope.cs index bbb56ab97..8d7cea963 100644 --- a/src/Microsoft.ComponentDetection.Contracts/BcdeModels/DependencyScope.cs +++ b/src/Microsoft.ComponentDetection.Contracts/BcdeModels/DependencyScope.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts.BcdeModels; /// Used to communicate Dependency Scope of Component. diff --git a/src/Microsoft.ComponentDetection.Contracts/BcdeModels/Detector.cs b/src/Microsoft.ComponentDetection.Contracts/BcdeModels/Detector.cs index b2636cf09..b48be87cc 100644 --- a/src/Microsoft.ComponentDetection.Contracts/BcdeModels/Detector.cs +++ b/src/Microsoft.ComponentDetection.Contracts/BcdeModels/Detector.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts.BcdeModels; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Contracts/BcdeModels/DockerLayer.cs b/src/Microsoft.ComponentDetection.Contracts/BcdeModels/DockerLayer.cs index 93c386f94..068d51b90 100644 --- a/src/Microsoft.ComponentDetection.Contracts/BcdeModels/DockerLayer.cs +++ b/src/Microsoft.ComponentDetection.Contracts/BcdeModels/DockerLayer.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts.BcdeModels; public class DockerLayer diff --git a/src/Microsoft.ComponentDetection.Contracts/BcdeModels/LayerMappedLinuxComponents.cs b/src/Microsoft.ComponentDetection.Contracts/BcdeModels/LayerMappedLinuxComponents.cs index 5be08b9a7..678edb8ef 100644 --- a/src/Microsoft.ComponentDetection.Contracts/BcdeModels/LayerMappedLinuxComponents.cs +++ b/src/Microsoft.ComponentDetection.Contracts/BcdeModels/LayerMappedLinuxComponents.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts.BcdeModels; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Contracts/BcdeModels/ScanResult.cs b/src/Microsoft.ComponentDetection.Contracts/BcdeModels/ScanResult.cs index 75da3ec61..2fb431ff8 100644 --- a/src/Microsoft.ComponentDetection.Contracts/BcdeModels/ScanResult.cs +++ b/src/Microsoft.ComponentDetection.Contracts/BcdeModels/ScanResult.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts.BcdeModels; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Contracts/BcdeModels/ScannedComponent.cs b/src/Microsoft.ComponentDetection.Contracts/BcdeModels/ScannedComponent.cs index f39649195..ff208383b 100644 --- a/src/Microsoft.ComponentDetection.Contracts/BcdeModels/ScannedComponent.cs +++ b/src/Microsoft.ComponentDetection.Contracts/BcdeModels/ScannedComponent.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts.BcdeModels; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Contracts/BcdeModels/TypedComponentConverter.cs b/src/Microsoft.ComponentDetection.Contracts/BcdeModels/TypedComponentConverter.cs index 537d599d0..003b8b1c1 100644 --- a/src/Microsoft.ComponentDetection.Contracts/BcdeModels/TypedComponentConverter.cs +++ b/src/Microsoft.ComponentDetection.Contracts/BcdeModels/TypedComponentConverter.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts.BcdeModels; using System; diff --git a/src/Microsoft.ComponentDetection.Contracts/ConcurrentHashSet.cs b/src/Microsoft.ComponentDetection.Contracts/ConcurrentHashSet.cs index 32dd55291..9c8063909 100644 --- a/src/Microsoft.ComponentDetection.Contracts/ConcurrentHashSet.cs +++ b/src/Microsoft.ComponentDetection.Contracts/ConcurrentHashSet.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts; using System.Collections; diff --git a/src/Microsoft.ComponentDetection.Contracts/DetectedComponent.cs b/src/Microsoft.ComponentDetection.Contracts/DetectedComponent.cs index e42043bb2..50c551231 100644 --- a/src/Microsoft.ComponentDetection.Contracts/DetectedComponent.cs +++ b/src/Microsoft.ComponentDetection.Contracts/DetectedComponent.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Contracts/DetectorClass.cs b/src/Microsoft.ComponentDetection.Contracts/DetectorClass.cs index becfa4f9f..d67123ffd 100644 --- a/src/Microsoft.ComponentDetection.Contracts/DetectorClass.cs +++ b/src/Microsoft.ComponentDetection.Contracts/DetectorClass.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts; /// Class of detector, the names of which are converted into categories for all default detectors. diff --git a/src/Microsoft.ComponentDetection.Contracts/DockerReference.cs b/src/Microsoft.ComponentDetection.Contracts/DockerReference.cs index 2cd88d2df..044a3bbfd 100644 --- a/src/Microsoft.ComponentDetection.Contracts/DockerReference.cs +++ b/src/Microsoft.ComponentDetection.Contracts/DockerReference.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts; public enum DockerReferenceKind diff --git a/src/Microsoft.ComponentDetection.Contracts/FileComponentDetector.cs b/src/Microsoft.ComponentDetection.Contracts/FileComponentDetector.cs index cb24dd944..7669726d4 100644 --- a/src/Microsoft.ComponentDetection.Contracts/FileComponentDetector.cs +++ b/src/Microsoft.ComponentDetection.Contracts/FileComponentDetector.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts; using System; diff --git a/src/Microsoft.ComponentDetection.Contracts/FileComponentDetectorWithCleanup.cs b/src/Microsoft.ComponentDetection.Contracts/FileComponentDetectorWithCleanup.cs index 0c230e4ca..32ce18fc6 100644 --- a/src/Microsoft.ComponentDetection.Contracts/FileComponentDetectorWithCleanup.cs +++ b/src/Microsoft.ComponentDetection.Contracts/FileComponentDetectorWithCleanup.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts; using System; diff --git a/src/Microsoft.ComponentDetection.Contracts/ICommandLineInvocationService.cs b/src/Microsoft.ComponentDetection.Contracts/ICommandLineInvocationService.cs index 634cb6fb9..e4a55f1c4 100644 --- a/src/Microsoft.ComponentDetection.Contracts/ICommandLineInvocationService.cs +++ b/src/Microsoft.ComponentDetection.Contracts/ICommandLineInvocationService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts; using System; diff --git a/src/Microsoft.ComponentDetection.Contracts/IComponentDetector.cs b/src/Microsoft.ComponentDetection.Contracts/IComponentDetector.cs index d38a85b47..8f0a0b7e0 100644 --- a/src/Microsoft.ComponentDetection.Contracts/IComponentDetector.cs +++ b/src/Microsoft.ComponentDetection.Contracts/IComponentDetector.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Contracts/IComponentRecorder.cs b/src/Microsoft.ComponentDetection.Contracts/IComponentRecorder.cs index a0ee3ecfe..cd4d54708 100644 --- a/src/Microsoft.ComponentDetection.Contracts/IComponentRecorder.cs +++ b/src/Microsoft.ComponentDetection.Contracts/IComponentRecorder.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts; using System; diff --git a/src/Microsoft.ComponentDetection.Contracts/IComponentStream.cs b/src/Microsoft.ComponentDetection.Contracts/IComponentStream.cs index c5abf722c..c1ccc02b0 100644 --- a/src/Microsoft.ComponentDetection.Contracts/IComponentStream.cs +++ b/src/Microsoft.ComponentDetection.Contracts/IComponentStream.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts; using System.IO; diff --git a/src/Microsoft.ComponentDetection.Contracts/IComponentStreamEnumerableFactory.cs b/src/Microsoft.ComponentDetection.Contracts/IComponentStreamEnumerableFactory.cs index 9f317442b..1c5627ef9 100644 --- a/src/Microsoft.ComponentDetection.Contracts/IComponentStreamEnumerableFactory.cs +++ b/src/Microsoft.ComponentDetection.Contracts/IComponentStreamEnumerableFactory.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts; using System; diff --git a/src/Microsoft.ComponentDetection.Contracts/IDirectoryUtilityService.cs b/src/Microsoft.ComponentDetection.Contracts/IDirectoryUtilityService.cs index 6f7be0a72..bdd909495 100644 --- a/src/Microsoft.ComponentDetection.Contracts/IDirectoryUtilityService.cs +++ b/src/Microsoft.ComponentDetection.Contracts/IDirectoryUtilityService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Contracts/IDockerService.cs b/src/Microsoft.ComponentDetection.Contracts/IDockerService.cs index b2382dc3b..4f9a35313 100644 --- a/src/Microsoft.ComponentDetection.Contracts/IDockerService.cs +++ b/src/Microsoft.ComponentDetection.Contracts/IDockerService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Contracts/IEnvironmentVariableService.cs b/src/Microsoft.ComponentDetection.Contracts/IEnvironmentVariableService.cs index 36918258d..9a7573544 100644 --- a/src/Microsoft.ComponentDetection.Contracts/IEnvironmentVariableService.cs +++ b/src/Microsoft.ComponentDetection.Contracts/IEnvironmentVariableService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Contracts/IFileUtilityService.cs b/src/Microsoft.ComponentDetection.Contracts/IFileUtilityService.cs index b04b2274b..6dbf071eb 100644 --- a/src/Microsoft.ComponentDetection.Contracts/IFileUtilityService.cs +++ b/src/Microsoft.ComponentDetection.Contracts/IFileUtilityService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts; using System.IO; diff --git a/src/Microsoft.ComponentDetection.Contracts/IObservableDirectoryWalkerFactory.cs b/src/Microsoft.ComponentDetection.Contracts/IObservableDirectoryWalkerFactory.cs index 45a06fbc7..9cedf4445 100644 --- a/src/Microsoft.ComponentDetection.Contracts/IObservableDirectoryWalkerFactory.cs +++ b/src/Microsoft.ComponentDetection.Contracts/IObservableDirectoryWalkerFactory.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts; using System; diff --git a/src/Microsoft.ComponentDetection.Contracts/IPathUtilityService.cs b/src/Microsoft.ComponentDetection.Contracts/IPathUtilityService.cs index 2608720d6..8115fee40 100644 --- a/src/Microsoft.ComponentDetection.Contracts/IPathUtilityService.cs +++ b/src/Microsoft.ComponentDetection.Contracts/IPathUtilityService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts; /// diff --git a/src/Microsoft.ComponentDetection.Contracts/IndividualDetectorScanResult.cs b/src/Microsoft.ComponentDetection.Contracts/IndividualDetectorScanResult.cs index b6a34e28a..fb6121f5b 100644 --- a/src/Microsoft.ComponentDetection.Contracts/IndividualDetectorScanResult.cs +++ b/src/Microsoft.ComponentDetection.Contracts/IndividualDetectorScanResult.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Contracts/Internal/NpmAuthor.cs b/src/Microsoft.ComponentDetection.Contracts/Internal/NpmAuthor.cs index 7dd6ab3b5..4c4d578ff 100644 --- a/src/Microsoft.ComponentDetection.Contracts/Internal/NpmAuthor.cs +++ b/src/Microsoft.ComponentDetection.Contracts/Internal/NpmAuthor.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts.Internal; using System; diff --git a/src/Microsoft.ComponentDetection.Contracts/Internal/ProcessRequest.cs b/src/Microsoft.ComponentDetection.Contracts/Internal/ProcessRequest.cs index 1a727f802..20cfd1c46 100644 --- a/src/Microsoft.ComponentDetection.Contracts/Internal/ProcessRequest.cs +++ b/src/Microsoft.ComponentDetection.Contracts/Internal/ProcessRequest.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts.Internal; public class ProcessRequest diff --git a/src/Microsoft.ComponentDetection.Contracts/KillSwitchConfiguration.cs b/src/Microsoft.ComponentDetection.Contracts/KillSwitchConfiguration.cs index 107539ec8..a4fe5ade5 100644 --- a/src/Microsoft.ComponentDetection.Contracts/KillSwitchConfiguration.cs +++ b/src/Microsoft.ComponentDetection.Contracts/KillSwitchConfiguration.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts; /// diff --git a/src/Microsoft.ComponentDetection.Contracts/ProcessingResultCode.cs b/src/Microsoft.ComponentDetection.Contracts/ProcessingResultCode.cs index 9836d635f..02dfd8797 100644 --- a/src/Microsoft.ComponentDetection.Contracts/ProcessingResultCode.cs +++ b/src/Microsoft.ComponentDetection.Contracts/ProcessingResultCode.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts; /// Code used to communicate the state of a scan after completion. diff --git a/src/Microsoft.ComponentDetection.Contracts/ScanRequest.cs b/src/Microsoft.ComponentDetection.Contracts/ScanRequest.cs index 6f9ea3857..1c4e53fac 100644 --- a/src/Microsoft.ComponentDetection.Contracts/ScanRequest.cs +++ b/src/Microsoft.ComponentDetection.Contracts/ScanRequest.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/CargoComponent.cs b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/CargoComponent.cs index a59c95e88..3137601e4 100644 --- a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/CargoComponent.cs +++ b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/CargoComponent.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts.TypedComponent; using Newtonsoft.Json; diff --git a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/ComponentType.cs b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/ComponentType.cs index 31b245d59..ec324cc09 100644 --- a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/ComponentType.cs +++ b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/ComponentType.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts.TypedComponent; using System.Runtime.Serialization; diff --git a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/ConanComponent.cs b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/ConanComponent.cs index 9c26e66b4..a480d3eda 100644 --- a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/ConanComponent.cs +++ b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/ConanComponent.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts.TypedComponent; using PackageUrl; diff --git a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/CondaComponent.cs b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/CondaComponent.cs index 6d46f111d..ec4e0dc07 100644 --- a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/CondaComponent.cs +++ b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/CondaComponent.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts.TypedComponent; public class CondaComponent : TypedComponent diff --git a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/DockerImageComponent.cs b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/DockerImageComponent.cs index 69c6ea7be..e89b45428 100644 --- a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/DockerImageComponent.cs +++ b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/DockerImageComponent.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts.TypedComponent; public class DockerImageComponent : TypedComponent diff --git a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/DockerReferenceComponent.cs b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/DockerReferenceComponent.cs index 224087152..ea76ec893 100644 --- a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/DockerReferenceComponent.cs +++ b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/DockerReferenceComponent.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts.TypedComponent; public class DockerReferenceComponent : TypedComponent diff --git a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/DotNetComponent.cs b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/DotNetComponent.cs index c3f9dc611..99b49f5af 100644 --- a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/DotNetComponent.cs +++ b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/DotNetComponent.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts.TypedComponent; using System; diff --git a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/GitComponent.cs b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/GitComponent.cs index 2ed88e3e1..3e9b10d61 100644 --- a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/GitComponent.cs +++ b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/GitComponent.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts.TypedComponent; using System; diff --git a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/GoComponent.cs b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/GoComponent.cs index e09fc32e9..749396f87 100644 --- a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/GoComponent.cs +++ b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/GoComponent.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts.TypedComponent; using System; diff --git a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/LinuxComponent.cs b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/LinuxComponent.cs index 239c89854..7ec336364 100644 --- a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/LinuxComponent.cs +++ b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/LinuxComponent.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts.TypedComponent; using System; diff --git a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/MavenComponent.cs b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/MavenComponent.cs index 75ed72c5b..0d863f2e4 100644 --- a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/MavenComponent.cs +++ b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/MavenComponent.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts.TypedComponent; using PackageUrl; diff --git a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/NpmComponent.cs b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/NpmComponent.cs index 67bec60f5..6715d6ce4 100644 --- a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/NpmComponent.cs +++ b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/NpmComponent.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts.TypedComponent; using Microsoft.ComponentDetection.Contracts.Internal; diff --git a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/NugetComponent.cs b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/NugetComponent.cs index 4c1e578e8..9e716d391 100644 --- a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/NugetComponent.cs +++ b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/NugetComponent.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts.TypedComponent; using PackageUrl; diff --git a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/OtherComponent.cs b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/OtherComponent.cs index e76b3cb72..68f6483c5 100644 --- a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/OtherComponent.cs +++ b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/OtherComponent.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts.TypedComponent; using System; diff --git a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/PipComponent.cs b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/PipComponent.cs index 7efe80901..5858fb7c2 100644 --- a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/PipComponent.cs +++ b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/PipComponent.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts.TypedComponent; using System.Diagnostics.CodeAnalysis; diff --git a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/PodComponent.cs b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/PodComponent.cs index bb690a782..64ae8681e 100644 --- a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/PodComponent.cs +++ b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/PodComponent.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts.TypedComponent; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/RubyGemsComponent.cs b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/RubyGemsComponent.cs index a02657203..1c6ce94f9 100644 --- a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/RubyGemsComponent.cs +++ b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/RubyGemsComponent.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts.TypedComponent; using PackageUrl; diff --git a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/SpdxComponent.cs b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/SpdxComponent.cs index 5d00c5198..79ab31ea1 100644 --- a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/SpdxComponent.cs +++ b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/SpdxComponent.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts.TypedComponent; using System; diff --git a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/SwiftComponent.cs b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/SwiftComponent.cs index 2203574fe..dc57554fc 100644 --- a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/SwiftComponent.cs +++ b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/SwiftComponent.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts.TypedComponent; using System; diff --git a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/TypedComponent.cs b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/TypedComponent.cs index 23d9d4313..6b0489ab1 100644 --- a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/TypedComponent.cs +++ b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/TypedComponent.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts.TypedComponent; using System; diff --git a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/VcpkgComponent.cs b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/VcpkgComponent.cs index e62457650..27c6c7f11 100644 --- a/src/Microsoft.ComponentDetection.Contracts/TypedComponent/VcpkgComponent.cs +++ b/src/Microsoft.ComponentDetection.Contracts/TypedComponent/VcpkgComponent.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts.TypedComponent; using PackageUrl; diff --git a/src/Microsoft.ComponentDetection.Detectors/cocoapods/PodComponentDetector.cs b/src/Microsoft.ComponentDetection.Detectors/cocoapods/PodComponentDetector.cs index 491a3a0ce..cf83f4a7d 100644 --- a/src/Microsoft.ComponentDetection.Detectors/cocoapods/PodComponentDetector.cs +++ b/src/Microsoft.ComponentDetection.Detectors/cocoapods/PodComponentDetector.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.CocoaPods; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/conan/ConanLockComponentDetector.cs b/src/Microsoft.ComponentDetection.Detectors/conan/ConanLockComponentDetector.cs index 21d622d50..b5a0a6b83 100644 --- a/src/Microsoft.ComponentDetection.Detectors/conan/ConanLockComponentDetector.cs +++ b/src/Microsoft.ComponentDetection.Detectors/conan/ConanLockComponentDetector.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Conan; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/conan/Contracts/ConanLock.cs b/src/Microsoft.ComponentDetection.Detectors/conan/Contracts/ConanLock.cs index 8617dfdcd..b9fa91c6b 100644 --- a/src/Microsoft.ComponentDetection.Detectors/conan/Contracts/ConanLock.cs +++ b/src/Microsoft.ComponentDetection.Detectors/conan/Contracts/ConanLock.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Conan.Contracts; using System.Text.Json.Serialization; diff --git a/src/Microsoft.ComponentDetection.Detectors/conan/Contracts/ConanLockGraph.cs b/src/Microsoft.ComponentDetection.Detectors/conan/Contracts/ConanLockGraph.cs index e3a79d987..83620fd05 100644 --- a/src/Microsoft.ComponentDetection.Detectors/conan/Contracts/ConanLockGraph.cs +++ b/src/Microsoft.ComponentDetection.Detectors/conan/Contracts/ConanLockGraph.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Conan.Contracts; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/conan/Contracts/ConanLockNode.cs b/src/Microsoft.ComponentDetection.Detectors/conan/Contracts/ConanLockNode.cs index 7975a1606..59607137b 100644 --- a/src/Microsoft.ComponentDetection.Detectors/conan/Contracts/ConanLockNode.cs +++ b/src/Microsoft.ComponentDetection.Detectors/conan/Contracts/ConanLockNode.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Conan.Contracts; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/conda/CondaDependencyResolver.cs b/src/Microsoft.ComponentDetection.Detectors/conda/CondaDependencyResolver.cs index 64a442fc7..c84637640 100644 --- a/src/Microsoft.ComponentDetection.Detectors/conda/CondaDependencyResolver.cs +++ b/src/Microsoft.ComponentDetection.Detectors/conda/CondaDependencyResolver.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.CondaLock; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/conda/CondaLockComponentDetector.cs b/src/Microsoft.ComponentDetection.Detectors/conda/CondaLockComponentDetector.cs index 6a5ab362f..bb643e741 100644 --- a/src/Microsoft.ComponentDetection.Detectors/conda/CondaLockComponentDetector.cs +++ b/src/Microsoft.ComponentDetection.Detectors/conda/CondaLockComponentDetector.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Poetry; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/conda/Contracts/CondaLock.cs b/src/Microsoft.ComponentDetection.Detectors/conda/Contracts/CondaLock.cs index ad9995f27..06e37fb1a 100644 --- a/src/Microsoft.ComponentDetection.Detectors/conda/Contracts/CondaLock.cs +++ b/src/Microsoft.ComponentDetection.Detectors/conda/Contracts/CondaLock.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.CondaLock.Contracts; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/conda/Contracts/CondaMetadata.cs b/src/Microsoft.ComponentDetection.Detectors/conda/Contracts/CondaMetadata.cs index aa7803193..c519bbb30 100644 --- a/src/Microsoft.ComponentDetection.Detectors/conda/Contracts/CondaMetadata.cs +++ b/src/Microsoft.ComponentDetection.Detectors/conda/Contracts/CondaMetadata.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.CondaLock.Contracts; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/conda/Contracts/CondaPackage.cs b/src/Microsoft.ComponentDetection.Detectors/conda/Contracts/CondaPackage.cs index 43bee7d15..c9dd4b55f 100644 --- a/src/Microsoft.ComponentDetection.Detectors/conda/Contracts/CondaPackage.cs +++ b/src/Microsoft.ComponentDetection.Detectors/conda/Contracts/CondaPackage.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.CondaLock.Contracts; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/dockerfile/DockerfileComponentDetector.cs b/src/Microsoft.ComponentDetection.Detectors/dockerfile/DockerfileComponentDetector.cs index 7826a382c..d1d19f3a9 100644 --- a/src/Microsoft.ComponentDetection.Detectors/dockerfile/DockerfileComponentDetector.cs +++ b/src/Microsoft.ComponentDetection.Detectors/dockerfile/DockerfileComponentDetector.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Dockerfile; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/go/GoComponentDetector.cs b/src/Microsoft.ComponentDetection.Detectors/go/GoComponentDetector.cs index 6451738bb..620c309c3 100644 --- a/src/Microsoft.ComponentDetection.Detectors/go/GoComponentDetector.cs +++ b/src/Microsoft.ComponentDetection.Detectors/go/GoComponentDetector.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Go; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/go/Parsers/GoCLIParser.cs b/src/Microsoft.ComponentDetection.Detectors/go/Parsers/GoCLIParser.cs index 28aa36862..a088ced7b 100644 --- a/src/Microsoft.ComponentDetection.Detectors/go/Parsers/GoCLIParser.cs +++ b/src/Microsoft.ComponentDetection.Detectors/go/Parsers/GoCLIParser.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Go; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/go/Parsers/GoModParser.cs b/src/Microsoft.ComponentDetection.Detectors/go/Parsers/GoModParser.cs index 27ed96bf1..2c3afee0b 100644 --- a/src/Microsoft.ComponentDetection.Detectors/go/Parsers/GoModParser.cs +++ b/src/Microsoft.ComponentDetection.Detectors/go/Parsers/GoModParser.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Go; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/go/Parsers/GoParserFactory.cs b/src/Microsoft.ComponentDetection.Detectors/go/Parsers/GoParserFactory.cs index 8ea9315ae..336107d84 100644 --- a/src/Microsoft.ComponentDetection.Detectors/go/Parsers/GoParserFactory.cs +++ b/src/Microsoft.ComponentDetection.Detectors/go/Parsers/GoParserFactory.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Go; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/go/Parsers/GoParserType.cs b/src/Microsoft.ComponentDetection.Detectors/go/Parsers/GoParserType.cs index d758ba953..6c7435677 100644 --- a/src/Microsoft.ComponentDetection.Detectors/go/Parsers/GoParserType.cs +++ b/src/Microsoft.ComponentDetection.Detectors/go/Parsers/GoParserType.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Go; public enum GoParserType diff --git a/src/Microsoft.ComponentDetection.Detectors/go/Parsers/GoSumParser.cs b/src/Microsoft.ComponentDetection.Detectors/go/Parsers/GoSumParser.cs index 02b53ebed..0b7229f27 100644 --- a/src/Microsoft.ComponentDetection.Detectors/go/Parsers/GoSumParser.cs +++ b/src/Microsoft.ComponentDetection.Detectors/go/Parsers/GoSumParser.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Go; using System.IO; diff --git a/src/Microsoft.ComponentDetection.Detectors/go/Parsers/IGoParser.cs b/src/Microsoft.ComponentDetection.Detectors/go/Parsers/IGoParser.cs index 9477e2047..36ce27164 100644 --- a/src/Microsoft.ComponentDetection.Detectors/go/Parsers/IGoParser.cs +++ b/src/Microsoft.ComponentDetection.Detectors/go/Parsers/IGoParser.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Go; using System.Threading.Tasks; diff --git a/src/Microsoft.ComponentDetection.Detectors/go/Parsers/IGoParserFactory.cs b/src/Microsoft.ComponentDetection.Detectors/go/Parsers/IGoParserFactory.cs index 01d13dc5a..c9a6203a5 100644 --- a/src/Microsoft.ComponentDetection.Detectors/go/Parsers/IGoParserFactory.cs +++ b/src/Microsoft.ComponentDetection.Detectors/go/Parsers/IGoParserFactory.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Go; using Microsoft.Extensions.Logging; diff --git a/src/Microsoft.ComponentDetection.Detectors/go/Utils/GoDependencyGraphUtility.cs b/src/Microsoft.ComponentDetection.Detectors/go/Utils/GoDependencyGraphUtility.cs index 36bb13a34..721b50611 100644 --- a/src/Microsoft.ComponentDetection.Detectors/go/Utils/GoDependencyGraphUtility.cs +++ b/src/Microsoft.ComponentDetection.Detectors/go/Utils/GoDependencyGraphUtility.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Go; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/go/Utils/GoDetectorUtils.cs b/src/Microsoft.ComponentDetection.Detectors/go/Utils/GoDetectorUtils.cs index ba90234ca..ca5797565 100644 --- a/src/Microsoft.ComponentDetection.Detectors/go/Utils/GoDetectorUtils.cs +++ b/src/Microsoft.ComponentDetection.Detectors/go/Utils/GoDetectorUtils.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Go; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/gradle/GradleComponentDetector.cs b/src/Microsoft.ComponentDetection.Detectors/gradle/GradleComponentDetector.cs index f01f9f946..1d1da2124 100644 --- a/src/Microsoft.ComponentDetection.Detectors/gradle/GradleComponentDetector.cs +++ b/src/Microsoft.ComponentDetection.Detectors/gradle/GradleComponentDetector.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Gradle; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/ivy/IvyDetector.cs b/src/Microsoft.ComponentDetection.Detectors/ivy/IvyDetector.cs index a18097927..7df6b09a1 100644 --- a/src/Microsoft.ComponentDetection.Detectors/ivy/IvyDetector.cs +++ b/src/Microsoft.ComponentDetection.Detectors/ivy/IvyDetector.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Ivy; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/linux/Contracts/ImageScanningResult.cs b/src/Microsoft.ComponentDetection.Detectors/linux/Contracts/ImageScanningResult.cs index 5fbc56b88..0d0d71c34 100644 --- a/src/Microsoft.ComponentDetection.Detectors/linux/Contracts/ImageScanningResult.cs +++ b/src/Microsoft.ComponentDetection.Detectors/linux/Contracts/ImageScanningResult.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Linux.Contracts; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/linux/Contracts/SyftOutput.cs b/src/Microsoft.ComponentDetection.Detectors/linux/Contracts/SyftOutput.cs index c57168d18..8f5556188 100644 --- a/src/Microsoft.ComponentDetection.Detectors/linux/Contracts/SyftOutput.cs +++ b/src/Microsoft.ComponentDetection.Detectors/linux/Contracts/SyftOutput.cs @@ -1,3 +1,5 @@ +#nullable disable + // Take schema from https://github.com/anchore/syft/tree/main/schema/json. // Match version to tag used i.e. https://github.com/anchore/syft/blob/v0.16.1/internal/constants.go#L9 // Can convert JSON Schema to C# using quicktype.io. diff --git a/src/Microsoft.ComponentDetection.Detectors/linux/Exceptions/MissingContainerDetailException.cs b/src/Microsoft.ComponentDetection.Detectors/linux/Exceptions/MissingContainerDetailException.cs index 0b85170a8..ea605816f 100644 --- a/src/Microsoft.ComponentDetection.Detectors/linux/Exceptions/MissingContainerDetailException.cs +++ b/src/Microsoft.ComponentDetection.Detectors/linux/Exceptions/MissingContainerDetailException.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Linux.Exceptions; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/linux/ILinuxScanner.cs b/src/Microsoft.ComponentDetection.Detectors/linux/ILinuxScanner.cs index 5b3e3ef9e..107bc5832 100644 --- a/src/Microsoft.ComponentDetection.Detectors/linux/ILinuxScanner.cs +++ b/src/Microsoft.ComponentDetection.Detectors/linux/ILinuxScanner.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Linux; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/linux/LinuxContainerDetector.cs b/src/Microsoft.ComponentDetection.Detectors/linux/LinuxContainerDetector.cs index 51c3483f3..1a98791a0 100644 --- a/src/Microsoft.ComponentDetection.Detectors/linux/LinuxContainerDetector.cs +++ b/src/Microsoft.ComponentDetection.Detectors/linux/LinuxContainerDetector.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Linux; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/linux/LinuxScanner.cs b/src/Microsoft.ComponentDetection.Detectors/linux/LinuxScanner.cs index db770fb0d..79d83ecda 100644 --- a/src/Microsoft.ComponentDetection.Detectors/linux/LinuxScanner.cs +++ b/src/Microsoft.ComponentDetection.Detectors/linux/LinuxScanner.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Linux; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/maven/GraphNode.cs b/src/Microsoft.ComponentDetection.Detectors/maven/GraphNode.cs index 0355d203f..0b7ca3ada 100644 --- a/src/Microsoft.ComponentDetection.Detectors/maven/GraphNode.cs +++ b/src/Microsoft.ComponentDetection.Detectors/maven/GraphNode.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Maven; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/maven/IMavenCommandService.cs b/src/Microsoft.ComponentDetection.Detectors/maven/IMavenCommandService.cs index 8eeb33a42..ba5f3fe48 100644 --- a/src/Microsoft.ComponentDetection.Detectors/maven/IMavenCommandService.cs +++ b/src/Microsoft.ComponentDetection.Detectors/maven/IMavenCommandService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Maven; using System.Threading; diff --git a/src/Microsoft.ComponentDetection.Detectors/maven/IMavenStyleDependencyGraphParserService.cs b/src/Microsoft.ComponentDetection.Detectors/maven/IMavenStyleDependencyGraphParserService.cs index 7c14ed2fb..6e5c39699 100644 --- a/src/Microsoft.ComponentDetection.Detectors/maven/IMavenStyleDependencyGraphParserService.cs +++ b/src/Microsoft.ComponentDetection.Detectors/maven/IMavenStyleDependencyGraphParserService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Maven; using Microsoft.ComponentDetection.Contracts; diff --git a/src/Microsoft.ComponentDetection.Detectors/maven/MavenCommandService.cs b/src/Microsoft.ComponentDetection.Detectors/maven/MavenCommandService.cs index 6d075656a..2e75bd43f 100644 --- a/src/Microsoft.ComponentDetection.Detectors/maven/MavenCommandService.cs +++ b/src/Microsoft.ComponentDetection.Detectors/maven/MavenCommandService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Maven; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/maven/MavenParsingUtilities.cs b/src/Microsoft.ComponentDetection.Detectors/maven/MavenParsingUtilities.cs index cd4127fa6..168e6b300 100644 --- a/src/Microsoft.ComponentDetection.Detectors/maven/MavenParsingUtilities.cs +++ b/src/Microsoft.ComponentDetection.Detectors/maven/MavenParsingUtilities.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Maven; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/maven/MavenStyleDependencyGraphParser.cs b/src/Microsoft.ComponentDetection.Detectors/maven/MavenStyleDependencyGraphParser.cs index 3883e03da..a33c4eeb3 100644 --- a/src/Microsoft.ComponentDetection.Detectors/maven/MavenStyleDependencyGraphParser.cs +++ b/src/Microsoft.ComponentDetection.Detectors/maven/MavenStyleDependencyGraphParser.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Maven; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/maven/MavenStyleDependencyGraphParserService.cs b/src/Microsoft.ComponentDetection.Detectors/maven/MavenStyleDependencyGraphParserService.cs index 06632ef39..885d99ea5 100644 --- a/src/Microsoft.ComponentDetection.Detectors/maven/MavenStyleDependencyGraphParserService.cs +++ b/src/Microsoft.ComponentDetection.Detectors/maven/MavenStyleDependencyGraphParserService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Maven; using Microsoft.ComponentDetection.Contracts; diff --git a/src/Microsoft.ComponentDetection.Detectors/maven/MvnCliComponentDetector.cs b/src/Microsoft.ComponentDetection.Detectors/maven/MvnCliComponentDetector.cs index 871f9c7e9..a93f5c6b2 100644 --- a/src/Microsoft.ComponentDetection.Detectors/maven/MvnCliComponentDetector.cs +++ b/src/Microsoft.ComponentDetection.Detectors/maven/MvnCliComponentDetector.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Maven; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/npm/NpmComponentDetector.cs b/src/Microsoft.ComponentDetection.Detectors/npm/NpmComponentDetector.cs index 0a89b6f2e..7b5036fef 100644 --- a/src/Microsoft.ComponentDetection.Detectors/npm/NpmComponentDetector.cs +++ b/src/Microsoft.ComponentDetection.Detectors/npm/NpmComponentDetector.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Npm; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/npm/NpmComponentDetectorWithRoots.cs b/src/Microsoft.ComponentDetection.Detectors/npm/NpmComponentDetectorWithRoots.cs index f38d47144..fbbc09525 100644 --- a/src/Microsoft.ComponentDetection.Detectors/npm/NpmComponentDetectorWithRoots.cs +++ b/src/Microsoft.ComponentDetection.Detectors/npm/NpmComponentDetectorWithRoots.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Npm; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/npm/NpmComponentUtilities.cs b/src/Microsoft.ComponentDetection.Detectors/npm/NpmComponentUtilities.cs index 328ad5728..12effe1f3 100644 --- a/src/Microsoft.ComponentDetection.Detectors/npm/NpmComponentUtilities.cs +++ b/src/Microsoft.ComponentDetection.Detectors/npm/NpmComponentUtilities.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Npm; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/npm/NpmLockfile3Detector.cs b/src/Microsoft.ComponentDetection.Detectors/npm/NpmLockfile3Detector.cs index 239fd939f..d0b842e12 100644 --- a/src/Microsoft.ComponentDetection.Detectors/npm/NpmLockfile3Detector.cs +++ b/src/Microsoft.ComponentDetection.Detectors/npm/NpmLockfile3Detector.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Npm; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/npm/NpmLockfileDetectorBase.cs b/src/Microsoft.ComponentDetection.Detectors/npm/NpmLockfileDetectorBase.cs index 2d367ce5a..690b13172 100644 --- a/src/Microsoft.ComponentDetection.Detectors/npm/NpmLockfileDetectorBase.cs +++ b/src/Microsoft.ComponentDetection.Detectors/npm/NpmLockfileDetectorBase.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Npm; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.cs b/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.cs index cf63a0793..6dd5443df 100644 --- a/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.cs +++ b/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.NuGet; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.net461.cs b/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.net461.cs index 0d9214e5f..70db4cdda 100644 --- a/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.net461.cs +++ b/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.net461.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.NuGet; using static global::NuGet.Frameworks.FrameworkConstants.CommonFrameworks; diff --git a/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.net5.0.cs b/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.net5.0.cs index e74724949..ebd79450d 100644 --- a/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.net5.0.cs +++ b/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.net5.0.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.NuGet; using static global::NuGet.Frameworks.FrameworkConstants.CommonFrameworks; diff --git a/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.net6.0.cs b/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.net6.0.cs index cdbd31dc8..eabb334eb 100644 --- a/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.net6.0.cs +++ b/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.net6.0.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.NuGet; using static global::NuGet.Frameworks.FrameworkConstants.CommonFrameworks; diff --git a/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.net7.0.cs b/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.net7.0.cs index 4e8d49af3..db647da92 100644 --- a/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.net7.0.cs +++ b/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.net7.0.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.NuGet; using static global::NuGet.Frameworks.FrameworkConstants.CommonFrameworks; diff --git a/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.net8.0.cs b/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.net8.0.cs index f329bcdf7..22ec3588e 100644 --- a/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.net8.0.cs +++ b/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.net8.0.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.NuGet; using static global::NuGet.Frameworks.FrameworkConstants.CommonFrameworks; diff --git a/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.net9.0.cs b/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.net9.0.cs index b0fcc77ab..15c0a7c15 100644 --- a/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.net9.0.cs +++ b/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.net9.0.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.NuGet; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.netcoreapp2.0.cs b/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.netcoreapp2.0.cs index 69272e1ad..8875610fa 100644 --- a/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.netcoreapp2.0.cs +++ b/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.netcoreapp2.0.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.NuGet; using static global::NuGet.Frameworks.FrameworkConstants.CommonFrameworks; diff --git a/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.netcoreapp2.1.cs b/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.netcoreapp2.1.cs index 295432fc0..a6d3624ed 100644 --- a/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.netcoreapp2.1.cs +++ b/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.netcoreapp2.1.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.NuGet; using static global::NuGet.Frameworks.FrameworkConstants.CommonFrameworks; diff --git a/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.netcoreapp2.2.cs b/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.netcoreapp2.2.cs index a3a28741f..b43f83640 100644 --- a/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.netcoreapp2.2.cs +++ b/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.netcoreapp2.2.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.NuGet; using static global::NuGet.Frameworks.FrameworkConstants.CommonFrameworks; diff --git a/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.netcoreapp3.0.cs b/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.netcoreapp3.0.cs index 88c02187d..e79f611ce 100644 --- a/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.netcoreapp3.0.cs +++ b/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.netcoreapp3.0.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.NuGet; using static global::NuGet.Frameworks.FrameworkConstants.CommonFrameworks; diff --git a/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.netcoreapp3.1.cs b/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.netcoreapp3.1.cs index 9824a956d..8381c3cee 100644 --- a/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.netcoreapp3.1.cs +++ b/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.netcoreapp3.1.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.NuGet; using static global::NuGet.Frameworks.FrameworkConstants.CommonFrameworks; diff --git a/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.netstandard2.0.cs b/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.netstandard2.0.cs index 9588b4864..bb96e974b 100644 --- a/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.netstandard2.0.cs +++ b/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.netstandard2.0.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.NuGet; using static global::NuGet.Frameworks.FrameworkConstants.CommonFrameworks; diff --git a/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.netstandard2.1.cs b/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.netstandard2.1.cs index c6caffe2e..1e5ccc5a2 100644 --- a/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.netstandard2.1.cs +++ b/src/Microsoft.ComponentDetection.Detectors/nuget/FrameworkPackages/FrameworkPackages.netstandard2.1.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.NuGet; using static global::NuGet.Frameworks.FrameworkConstants.CommonFrameworks; diff --git a/src/Microsoft.ComponentDetection.Detectors/nuget/NuGetComponentDetector.cs b/src/Microsoft.ComponentDetection.Detectors/nuget/NuGetComponentDetector.cs index f852b43f8..c4ccac918 100644 --- a/src/Microsoft.ComponentDetection.Detectors/nuget/NuGetComponentDetector.cs +++ b/src/Microsoft.ComponentDetection.Detectors/nuget/NuGetComponentDetector.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.NuGet; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/nuget/NuGetNuspecUtilities.cs b/src/Microsoft.ComponentDetection.Detectors/nuget/NuGetNuspecUtilities.cs index cff3b98bd..4bc40111a 100644 --- a/src/Microsoft.ComponentDetection.Detectors/nuget/NuGetNuspecUtilities.cs +++ b/src/Microsoft.ComponentDetection.Detectors/nuget/NuGetNuspecUtilities.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.NuGet; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/nuget/NuGetPackagesConfigDetector.cs b/src/Microsoft.ComponentDetection.Detectors/nuget/NuGetPackagesConfigDetector.cs index ef7979304..8dfc06e5c 100644 --- a/src/Microsoft.ComponentDetection.Detectors/nuget/NuGetPackagesConfigDetector.cs +++ b/src/Microsoft.ComponentDetection.Detectors/nuget/NuGetPackagesConfigDetector.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.NuGet; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/nuget/NuGetProjectModelProjectCentricComponentDetector.cs b/src/Microsoft.ComponentDetection.Detectors/nuget/NuGetProjectModelProjectCentricComponentDetector.cs index f71a59966..068283dd4 100644 --- a/src/Microsoft.ComponentDetection.Detectors/nuget/NuGetProjectModelProjectCentricComponentDetector.cs +++ b/src/Microsoft.ComponentDetection.Detectors/nuget/NuGetProjectModelProjectCentricComponentDetector.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.NuGet; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/IPipCommandService.cs b/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/IPipCommandService.cs index 287b3c729..4976e2c50 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/IPipCommandService.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/IPipCommandService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pip; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/IPythonCommandService.cs b/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/IPythonCommandService.cs index 44a09d302..0f8ed2ef0 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/IPythonCommandService.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/IPythonCommandService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pip; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/IPythonResolver.cs b/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/IPythonResolver.cs index a1a3a62b2..02d1a8182 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/IPythonResolver.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/IPythonResolver.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pip; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/ISimplePyPiClient.cs b/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/ISimplePyPiClient.cs index 2a0899b4d..523523ae9 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/ISimplePyPiClient.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/ISimplePyPiClient.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pip; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/ISimplePythonResolver.cs b/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/ISimplePythonResolver.cs index 321f7ea04..30edc3d19 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/ISimplePythonResolver.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/ISimplePythonResolver.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pip; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PipDependencySpecification.cs b/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PipDependencySpecification.cs index e1093cb54..0fd941d75 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PipDependencySpecification.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PipDependencySpecification.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pip; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PipGraphNode.cs b/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PipGraphNode.cs index c08576ad8..57e1c6429 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PipGraphNode.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PipGraphNode.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pip; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PipInstallationMetadata.cs b/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PipInstallationMetadata.cs index 0b14bfb71..2248f5083 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PipInstallationMetadata.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PipInstallationMetadata.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pip; using Newtonsoft.Json; diff --git a/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PipInstallationReport.cs b/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PipInstallationReport.cs index 480fa6a78..9a1a2cc64 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PipInstallationReport.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PipInstallationReport.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pip; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PipInstallationReportItem.cs b/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PipInstallationReportItem.cs index 01deec8ca..a86a2350c 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PipInstallationReportItem.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PipInstallationReportItem.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pip; using Newtonsoft.Json; diff --git a/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PipReportGraphNode.cs b/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PipReportGraphNode.cs index 690e44268..867b5121a 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PipReportGraphNode.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PipReportGraphNode.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pip; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PythonProject.cs b/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PythonProject.cs index c79f657cd..1cf4006f7 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PythonProject.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PythonProject.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pip; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PythonProjectInfo.cs b/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PythonProjectInfo.cs index 8ea15ba73..ea295c18c 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PythonProjectInfo.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PythonProjectInfo.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pip; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PythonProjectRelease.cs b/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PythonProjectRelease.cs index 968ce43f5..9fa21f05a 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PythonProjectRelease.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PythonProjectRelease.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pip; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PythonResolverState.cs b/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PythonResolverState.cs index adae76e70..9d4f054f5 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PythonResolverState.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PythonResolverState.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pip; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PythonVersion.cs b/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PythonVersion.cs index 8564a6f99..ce69b95b9 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PythonVersion.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pip/Contracts/PythonVersion.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pip; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/pip/IPyPiClient.cs b/src/Microsoft.ComponentDetection.Detectors/pip/IPyPiClient.cs index 8a3a23cd4..29b89122a 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pip/IPyPiClient.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pip/IPyPiClient.cs @@ -1,3 +1,4 @@ +#nullable disable using System; using System.Collections.Generic; using System.IO; diff --git a/src/Microsoft.ComponentDetection.Detectors/pip/PipCommandService.cs b/src/Microsoft.ComponentDetection.Detectors/pip/PipCommandService.cs index db246bb57..8d96944b5 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pip/PipCommandService.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pip/PipCommandService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pip; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/pip/PipComponentDetector.cs b/src/Microsoft.ComponentDetection.Detectors/pip/PipComponentDetector.cs index 46cc33dec..7d834c93d 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pip/PipComponentDetector.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pip/PipComponentDetector.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pip; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/pip/PipReportComponentDetector.cs b/src/Microsoft.ComponentDetection.Detectors/pip/PipReportComponentDetector.cs index 6a29cdef0..a7214fcf7 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pip/PipReportComponentDetector.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pip/PipReportComponentDetector.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pip; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/pip/PipReportUtilities.cs b/src/Microsoft.ComponentDetection.Detectors/pip/PipReportUtilities.cs index f108cf5da..1495f752f 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pip/PipReportUtilities.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pip/PipReportUtilities.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pip; using System.Linq; diff --git a/src/Microsoft.ComponentDetection.Detectors/pip/PythonCommandService.cs b/src/Microsoft.ComponentDetection.Detectors/pip/PythonCommandService.cs index 8e0890ed3..962003f9c 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pip/PythonCommandService.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pip/PythonCommandService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pip; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/pip/PythonNotFoundException.cs b/src/Microsoft.ComponentDetection.Detectors/pip/PythonNotFoundException.cs index 1f1aa0ed5..d9af366de 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pip/PythonNotFoundException.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pip/PythonNotFoundException.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pip; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/pip/PythonResolver.cs b/src/Microsoft.ComponentDetection.Detectors/pip/PythonResolver.cs index 225355445..1dd7c34f2 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pip/PythonResolver.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pip/PythonResolver.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pip; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/pip/PythonResolverBase.cs b/src/Microsoft.ComponentDetection.Detectors/pip/PythonResolverBase.cs index efc5aa5e8..fe44081c0 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pip/PythonResolverBase.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pip/PythonResolverBase.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pip; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/pip/PythonVersionComparer.cs b/src/Microsoft.ComponentDetection.Detectors/pip/PythonVersionComparer.cs index 5695db49f..a9df4f4cf 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pip/PythonVersionComparer.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pip/PythonVersionComparer.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pip; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/pip/PythonVersionUtilities.cs b/src/Microsoft.ComponentDetection.Detectors/pip/PythonVersionUtilities.cs index 020b1225f..ede50da9b 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pip/PythonVersionUtilities.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pip/PythonVersionUtilities.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pip; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/pip/SharedPipUtilities.cs b/src/Microsoft.ComponentDetection.Detectors/pip/SharedPipUtilities.cs index 05ae5334e..8ff7918ff 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pip/SharedPipUtilities.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pip/SharedPipUtilities.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pip; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/pip/SimplePipComponentDetector.cs b/src/Microsoft.ComponentDetection.Detectors/pip/SimplePipComponentDetector.cs index 0d697cedb..a1f048cc8 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pip/SimplePipComponentDetector.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pip/SimplePipComponentDetector.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pip; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/pip/SimplePypiClient.cs b/src/Microsoft.ComponentDetection.Detectors/pip/SimplePypiClient.cs index 5b786ebf3..52be242f9 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pip/SimplePypiClient.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pip/SimplePypiClient.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pip; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/pip/SimplePypiProject.cs b/src/Microsoft.ComponentDetection.Detectors/pip/SimplePypiProject.cs index f9d42ac11..9227c230c 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pip/SimplePypiProject.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pip/SimplePypiProject.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pip; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/pip/SimplePypiProjectRelease.cs b/src/Microsoft.ComponentDetection.Detectors/pip/SimplePypiProjectRelease.cs index a5a5f2089..81940ad75 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pip/SimplePypiProjectRelease.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pip/SimplePypiProjectRelease.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pip; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/pip/SimplePythonResolver.cs b/src/Microsoft.ComponentDetection.Detectors/pip/SimplePythonResolver.cs index 5cda7b22a..6a6f6c5ed 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pip/SimplePythonResolver.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pip/SimplePythonResolver.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pip; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/pnpm/Contracts/Package.cs b/src/Microsoft.ComponentDetection.Detectors/pnpm/Contracts/Package.cs index 174a3561a..5fb589a23 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pnpm/Contracts/Package.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pnpm/Contracts/Package.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pnpm; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/pnpm/Contracts/PnpmYaml.cs b/src/Microsoft.ComponentDetection.Detectors/pnpm/Contracts/PnpmYaml.cs index 8ce9c4e56..541a7b000 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pnpm/Contracts/PnpmYaml.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pnpm/Contracts/PnpmYaml.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pnpm; using YamlDotNet.Serialization; diff --git a/src/Microsoft.ComponentDetection.Detectors/pnpm/Contracts/PnpmYamlV5.cs b/src/Microsoft.ComponentDetection.Detectors/pnpm/Contracts/PnpmYamlV5.cs index d9fbe9a6f..9dcd0f9dc 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pnpm/Contracts/PnpmYamlV5.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pnpm/Contracts/PnpmYamlV5.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pnpm; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/pnpm/Contracts/V6/PnpmHasDependenciesV6.cs b/src/Microsoft.ComponentDetection.Detectors/pnpm/Contracts/V6/PnpmHasDependenciesV6.cs index c1fd6891d..f53ce309f 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pnpm/Contracts/V6/PnpmHasDependenciesV6.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pnpm/Contracts/V6/PnpmHasDependenciesV6.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pnpm; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/pnpm/Contracts/V6/PnpmYamlV6.cs b/src/Microsoft.ComponentDetection.Detectors/pnpm/Contracts/V6/PnpmYamlV6.cs index f71768081..a0b6e80ff 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pnpm/Contracts/V6/PnpmYamlV6.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pnpm/Contracts/V6/PnpmYamlV6.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pnpm; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/pnpm/Contracts/V6/PnpmYamlV6Dependency.cs b/src/Microsoft.ComponentDetection.Detectors/pnpm/Contracts/V6/PnpmYamlV6Dependency.cs index 0d1ffd506..c931ba8e8 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pnpm/Contracts/V6/PnpmYamlV6Dependency.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pnpm/Contracts/V6/PnpmYamlV6Dependency.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pnpm; using YamlDotNet.Serialization; diff --git a/src/Microsoft.ComponentDetection.Detectors/pnpm/Contracts/V9/PnpmHasDependenciesV9.cs b/src/Microsoft.ComponentDetection.Detectors/pnpm/Contracts/V9/PnpmHasDependenciesV9.cs index ebb91a305..d087a16b5 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pnpm/Contracts/V9/PnpmHasDependenciesV9.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pnpm/Contracts/V9/PnpmHasDependenciesV9.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pnpm; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/pnpm/Contracts/V9/PnpmYamlV9.cs b/src/Microsoft.ComponentDetection.Detectors/pnpm/Contracts/V9/PnpmYamlV9.cs index 44e077ee2..34a20a34a 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pnpm/Contracts/V9/PnpmYamlV9.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pnpm/Contracts/V9/PnpmYamlV9.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pnpm; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/pnpm/Contracts/V9/PnpmYamlV9Dependency.cs b/src/Microsoft.ComponentDetection.Detectors/pnpm/Contracts/V9/PnpmYamlV9Dependency.cs index eb7c35e07..5722cd9d1 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pnpm/Contracts/V9/PnpmYamlV9Dependency.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pnpm/Contracts/V9/PnpmYamlV9Dependency.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pnpm; using YamlDotNet.Serialization; diff --git a/src/Microsoft.ComponentDetection.Detectors/pnpm/IPnpmDetector.cs b/src/Microsoft.ComponentDetection.Detectors/pnpm/IPnpmDetector.cs index cc1b96f20..bc10e9b86 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pnpm/IPnpmDetector.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pnpm/IPnpmDetector.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pnpm; using Microsoft.ComponentDetection.Contracts; diff --git a/src/Microsoft.ComponentDetection.Detectors/pnpm/ParsingUtilities/PnpmParsingUtilitiesBase.cs b/src/Microsoft.ComponentDetection.Detectors/pnpm/ParsingUtilities/PnpmParsingUtilitiesBase.cs index d25355c0a..c94b88a61 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pnpm/ParsingUtilities/PnpmParsingUtilitiesBase.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pnpm/ParsingUtilities/PnpmParsingUtilitiesBase.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pnpm; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/pnpm/ParsingUtilities/PnpmParsingUtilitiesFactory.cs b/src/Microsoft.ComponentDetection.Detectors/pnpm/ParsingUtilities/PnpmParsingUtilitiesFactory.cs index 4e0c015bf..f4e4ddd7c 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pnpm/ParsingUtilities/PnpmParsingUtilitiesFactory.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pnpm/ParsingUtilities/PnpmParsingUtilitiesFactory.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pnpm; using System.IO; diff --git a/src/Microsoft.ComponentDetection.Detectors/pnpm/ParsingUtilities/PnpmV5ParsingUtilities.cs b/src/Microsoft.ComponentDetection.Detectors/pnpm/ParsingUtilities/PnpmV5ParsingUtilities.cs index c94c17cb9..87b850e62 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pnpm/ParsingUtilities/PnpmV5ParsingUtilities.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pnpm/ParsingUtilities/PnpmV5ParsingUtilities.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pnpm; using System.Linq; diff --git a/src/Microsoft.ComponentDetection.Detectors/pnpm/ParsingUtilities/PnpmV6ParsingUtilities.cs b/src/Microsoft.ComponentDetection.Detectors/pnpm/ParsingUtilities/PnpmV6ParsingUtilities.cs index d4cfe2e70..9e8712944 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pnpm/ParsingUtilities/PnpmV6ParsingUtilities.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pnpm/ParsingUtilities/PnpmV6ParsingUtilities.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pnpm; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/pnpm/ParsingUtilities/PnpmV9ParsingUtilities.cs b/src/Microsoft.ComponentDetection.Detectors/pnpm/ParsingUtilities/PnpmV9ParsingUtilities.cs index 5f2918a34..f08447c86 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pnpm/ParsingUtilities/PnpmV9ParsingUtilities.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pnpm/ParsingUtilities/PnpmV9ParsingUtilities.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pnpm; using Microsoft.ComponentDetection.Contracts; diff --git a/src/Microsoft.ComponentDetection.Detectors/pnpm/Pnpm5Detector.cs b/src/Microsoft.ComponentDetection.Detectors/pnpm/Pnpm5Detector.cs index 46273a00e..6b34bcdd1 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pnpm/Pnpm5Detector.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pnpm/Pnpm5Detector.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pnpm; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/pnpm/Pnpm6Detector.cs b/src/Microsoft.ComponentDetection.Detectors/pnpm/Pnpm6Detector.cs index 98513fc6a..d915c6dea 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pnpm/Pnpm6Detector.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pnpm/Pnpm6Detector.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pnpm; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/pnpm/Pnpm9Detector.cs b/src/Microsoft.ComponentDetection.Detectors/pnpm/Pnpm9Detector.cs index 1a662ba10..a275c6c3d 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pnpm/Pnpm9Detector.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pnpm/Pnpm9Detector.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pnpm; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/pnpm/PnpmComponentDetectorFactory.cs b/src/Microsoft.ComponentDetection.Detectors/pnpm/PnpmComponentDetectorFactory.cs index 5261921f1..8ed3c7f5b 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pnpm/PnpmComponentDetectorFactory.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pnpm/PnpmComponentDetectorFactory.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Pnpm; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/poetry/Contracts/PoetryLock.cs b/src/Microsoft.ComponentDetection.Detectors/poetry/Contracts/PoetryLock.cs index 389d9d906..679f65918 100644 --- a/src/Microsoft.ComponentDetection.Detectors/poetry/Contracts/PoetryLock.cs +++ b/src/Microsoft.ComponentDetection.Detectors/poetry/Contracts/PoetryLock.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Poetry.Contracts; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/poetry/Contracts/PoetryPackage.cs b/src/Microsoft.ComponentDetection.Detectors/poetry/Contracts/PoetryPackage.cs index d7ddff134..9c5ca94d7 100644 --- a/src/Microsoft.ComponentDetection.Detectors/poetry/Contracts/PoetryPackage.cs +++ b/src/Microsoft.ComponentDetection.Detectors/poetry/Contracts/PoetryPackage.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Poetry.Contracts; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/poetry/Contracts/PoetrySource.cs b/src/Microsoft.ComponentDetection.Detectors/poetry/Contracts/PoetrySource.cs index 379275f50..146673bde 100644 --- a/src/Microsoft.ComponentDetection.Detectors/poetry/Contracts/PoetrySource.cs +++ b/src/Microsoft.ComponentDetection.Detectors/poetry/Contracts/PoetrySource.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Poetry.Contracts; using System.Runtime.Serialization; diff --git a/src/Microsoft.ComponentDetection.Detectors/poetry/PoetryComponentDetector.cs b/src/Microsoft.ComponentDetection.Detectors/poetry/PoetryComponentDetector.cs index 946f1caee..1be702461 100644 --- a/src/Microsoft.ComponentDetection.Detectors/poetry/PoetryComponentDetector.cs +++ b/src/Microsoft.ComponentDetection.Detectors/poetry/PoetryComponentDetector.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Poetry; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/ruby/RubyComponentDetector.cs b/src/Microsoft.ComponentDetection.Detectors/ruby/RubyComponentDetector.cs index b2021dfb5..93d9b7f82 100644 --- a/src/Microsoft.ComponentDetection.Detectors/ruby/RubyComponentDetector.cs +++ b/src/Microsoft.ComponentDetection.Detectors/ruby/RubyComponentDetector.cs @@ -1,3 +1,5 @@ +#nullable disable + // Ruby detection highlights and todos: // // Dependencies are "fuzzy versions": @@ -24,7 +26,6 @@ // There is a possibility to use manual root detection instead of automatic: // Gemfile.lock comes with a section called "Dependencies", in the section are listed the dependencies that the user specified in the Gemfile, // is necessary to investigate if this section is a new adition or always has been there. - namespace Microsoft.ComponentDetection.Detectors.Ruby; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/rust/CargoDependencyData.cs b/src/Microsoft.ComponentDetection.Detectors/rust/CargoDependencyData.cs index 44dd43f51..2f645cc78 100644 --- a/src/Microsoft.ComponentDetection.Detectors/rust/CargoDependencyData.cs +++ b/src/Microsoft.ComponentDetection.Detectors/rust/CargoDependencyData.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Rust; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/rust/Contracts/CargoLock.cs b/src/Microsoft.ComponentDetection.Detectors/rust/Contracts/CargoLock.cs index 39338f91b..3a8045421 100644 --- a/src/Microsoft.ComponentDetection.Detectors/rust/Contracts/CargoLock.cs +++ b/src/Microsoft.ComponentDetection.Detectors/rust/Contracts/CargoLock.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Rust.Contracts; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/rust/Contracts/CargoPackage.cs b/src/Microsoft.ComponentDetection.Detectors/rust/Contracts/CargoPackage.cs index e2558a275..60a432c2e 100644 --- a/src/Microsoft.ComponentDetection.Detectors/rust/Contracts/CargoPackage.cs +++ b/src/Microsoft.ComponentDetection.Detectors/rust/Contracts/CargoPackage.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Rust.Contracts; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/rust/Contracts/CargoSbom.cs b/src/Microsoft.ComponentDetection.Detectors/rust/Contracts/CargoSbom.cs index f674c0536..96c092193 100644 --- a/src/Microsoft.ComponentDetection.Detectors/rust/Contracts/CargoSbom.cs +++ b/src/Microsoft.ComponentDetection.Detectors/rust/Contracts/CargoSbom.cs @@ -1,5 +1,6 @@ -// Schema for Cargo SBOM pre-cursor files (*.cargo-sbom.json) +#nullable disable +// Schema for Cargo SBOM pre-cursor files (*.cargo-sbom.json) namespace Microsoft.ComponentDetection.Detectors.Rust.Sbom.Contracts; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/rust/Contracts/CargoToml.cs b/src/Microsoft.ComponentDetection.Detectors/rust/Contracts/CargoToml.cs index 845cb25bf..9329d6364 100644 --- a/src/Microsoft.ComponentDetection.Detectors/rust/Contracts/CargoToml.cs +++ b/src/Microsoft.ComponentDetection.Detectors/rust/Contracts/CargoToml.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Rust.Contracts; using System.Runtime.Serialization; diff --git a/src/Microsoft.ComponentDetection.Detectors/rust/DependencySpecification.cs b/src/Microsoft.ComponentDetection.Detectors/rust/DependencySpecification.cs index 200ac50b5..ead23c3b6 100644 --- a/src/Microsoft.ComponentDetection.Detectors/rust/DependencySpecification.cs +++ b/src/Microsoft.ComponentDetection.Detectors/rust/DependencySpecification.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Rust; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/rust/InvalidRustTomlFileException.cs b/src/Microsoft.ComponentDetection.Detectors/rust/InvalidRustTomlFileException.cs index 126fe5163..13973c528 100644 --- a/src/Microsoft.ComponentDetection.Detectors/rust/InvalidRustTomlFileException.cs +++ b/src/Microsoft.ComponentDetection.Detectors/rust/InvalidRustTomlFileException.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Rust; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/rust/RustCliDetector.cs b/src/Microsoft.ComponentDetection.Detectors/rust/RustCliDetector.cs index 276dc79fb..e948b5a39 100644 --- a/src/Microsoft.ComponentDetection.Detectors/rust/RustCliDetector.cs +++ b/src/Microsoft.ComponentDetection.Detectors/rust/RustCliDetector.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Rust; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/rust/RustCrateDetector.cs b/src/Microsoft.ComponentDetection.Detectors/rust/RustCrateDetector.cs index 779435caf..3727f733a 100644 --- a/src/Microsoft.ComponentDetection.Detectors/rust/RustCrateDetector.cs +++ b/src/Microsoft.ComponentDetection.Detectors/rust/RustCrateDetector.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Rust; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/rust/RustSbomDetector.cs b/src/Microsoft.ComponentDetection.Detectors/rust/RustSbomDetector.cs index 507b15e7e..01c0e9995 100644 --- a/src/Microsoft.ComponentDetection.Detectors/rust/RustSbomDetector.cs +++ b/src/Microsoft.ComponentDetection.Detectors/rust/RustSbomDetector.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Rust; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/spdx/Spdx22ComponentDetector.cs b/src/Microsoft.ComponentDetection.Detectors/spdx/Spdx22ComponentDetector.cs index df181e696..ee53ccc8e 100644 --- a/src/Microsoft.ComponentDetection.Detectors/spdx/Spdx22ComponentDetector.cs +++ b/src/Microsoft.ComponentDetection.Detectors/spdx/Spdx22ComponentDetector.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Spdx; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/swiftpm/Contracts/SwiftResolvedFile.cs b/src/Microsoft.ComponentDetection.Detectors/swiftpm/Contracts/SwiftResolvedFile.cs index 5d7bf529c..69c3e907b 100644 --- a/src/Microsoft.ComponentDetection.Detectors/swiftpm/Contracts/SwiftResolvedFile.cs +++ b/src/Microsoft.ComponentDetection.Detectors/swiftpm/Contracts/SwiftResolvedFile.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts.TypedComponent; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/swiftpm/SwiftResolvedComponentDetector.cs b/src/Microsoft.ComponentDetection.Detectors/swiftpm/SwiftResolvedComponentDetector.cs index eaa6becbd..ce6f4986c 100644 --- a/src/Microsoft.ComponentDetection.Detectors/swiftpm/SwiftResolvedComponentDetector.cs +++ b/src/Microsoft.ComponentDetection.Detectors/swiftpm/SwiftResolvedComponentDetector.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Swift; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/vcpkg/Contracts/Annotation.cs b/src/Microsoft.ComponentDetection.Detectors/vcpkg/Contracts/Annotation.cs index 0391d8983..073e2a6ab 100644 --- a/src/Microsoft.ComponentDetection.Detectors/vcpkg/Contracts/Annotation.cs +++ b/src/Microsoft.ComponentDetection.Detectors/vcpkg/Contracts/Annotation.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Vcpkg.Contracts; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/vcpkg/Contracts/ManifestInfo.cs b/src/Microsoft.ComponentDetection.Detectors/vcpkg/Contracts/ManifestInfo.cs index b5512c1b0..adc0798b0 100644 --- a/src/Microsoft.ComponentDetection.Detectors/vcpkg/Contracts/ManifestInfo.cs +++ b/src/Microsoft.ComponentDetection.Detectors/vcpkg/Contracts/ManifestInfo.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Vcpkg.Contracts; using Newtonsoft.Json; diff --git a/src/Microsoft.ComponentDetection.Detectors/vcpkg/Contracts/Package.cs b/src/Microsoft.ComponentDetection.Detectors/vcpkg/Contracts/Package.cs index a3db14e70..1c33c5148 100644 --- a/src/Microsoft.ComponentDetection.Detectors/vcpkg/Contracts/Package.cs +++ b/src/Microsoft.ComponentDetection.Detectors/vcpkg/Contracts/Package.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Vcpkg.Contracts; public class Package diff --git a/src/Microsoft.ComponentDetection.Detectors/vcpkg/Contracts/VcpkgSBOM.cs b/src/Microsoft.ComponentDetection.Detectors/vcpkg/Contracts/VcpkgSBOM.cs index b8305563b..1eef00945 100644 --- a/src/Microsoft.ComponentDetection.Detectors/vcpkg/Contracts/VcpkgSBOM.cs +++ b/src/Microsoft.ComponentDetection.Detectors/vcpkg/Contracts/VcpkgSBOM.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Vcpkg.Contracts; /// diff --git a/src/Microsoft.ComponentDetection.Detectors/vcpkg/VcpkgComponentDetector.cs b/src/Microsoft.ComponentDetection.Detectors/vcpkg/VcpkgComponentDetector.cs index 96988f925..59bc7f07a 100644 --- a/src/Microsoft.ComponentDetection.Detectors/vcpkg/VcpkgComponentDetector.cs +++ b/src/Microsoft.ComponentDetection.Detectors/vcpkg/VcpkgComponentDetector.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Vcpkg; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/yarn/Contracts/YarnBerryDependencyMeta.cs b/src/Microsoft.ComponentDetection.Detectors/yarn/Contracts/YarnBerryDependencyMeta.cs index b6431540d..0b8ca4fbd 100644 --- a/src/Microsoft.ComponentDetection.Detectors/yarn/Contracts/YarnBerryDependencyMeta.cs +++ b/src/Microsoft.ComponentDetection.Detectors/yarn/Contracts/YarnBerryDependencyMeta.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Yarn.Contracts; using YamlDotNet.Serialization; diff --git a/src/Microsoft.ComponentDetection.Detectors/yarn/Contracts/YarnBerryLockfile.cs b/src/Microsoft.ComponentDetection.Detectors/yarn/Contracts/YarnBerryLockfile.cs index b5d49bfc4..ec85bf709 100644 --- a/src/Microsoft.ComponentDetection.Detectors/yarn/Contracts/YarnBerryLockfile.cs +++ b/src/Microsoft.ComponentDetection.Detectors/yarn/Contracts/YarnBerryLockfile.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Yarn.Contracts; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/yarn/Contracts/YarnBerryLockfileMetadata.cs b/src/Microsoft.ComponentDetection.Detectors/yarn/Contracts/YarnBerryLockfileMetadata.cs index ebdebdaee..e4f43f208 100644 --- a/src/Microsoft.ComponentDetection.Detectors/yarn/Contracts/YarnBerryLockfileMetadata.cs +++ b/src/Microsoft.ComponentDetection.Detectors/yarn/Contracts/YarnBerryLockfileMetadata.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Yarn.Contracts; using YamlDotNet.Serialization; diff --git a/src/Microsoft.ComponentDetection.Detectors/yarn/Contracts/YarnBerryPeerDependencyMeta.cs b/src/Microsoft.ComponentDetection.Detectors/yarn/Contracts/YarnBerryPeerDependencyMeta.cs index dea8f6e2c..85e35607a 100644 --- a/src/Microsoft.ComponentDetection.Detectors/yarn/Contracts/YarnBerryPeerDependencyMeta.cs +++ b/src/Microsoft.ComponentDetection.Detectors/yarn/Contracts/YarnBerryPeerDependencyMeta.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Yarn.Contracts; using YamlDotNet.Serialization; diff --git a/src/Microsoft.ComponentDetection.Detectors/yarn/Contracts/YarnBerryTypeConverter.cs b/src/Microsoft.ComponentDetection.Detectors/yarn/Contracts/YarnBerryTypeConverter.cs index 16192a994..6665ad033 100644 --- a/src/Microsoft.ComponentDetection.Detectors/yarn/Contracts/YarnBerryTypeConverter.cs +++ b/src/Microsoft.ComponentDetection.Detectors/yarn/Contracts/YarnBerryTypeConverter.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Yarn.Contracts; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/yarn/IYarnLockFileFactory.cs b/src/Microsoft.ComponentDetection.Detectors/yarn/IYarnLockFileFactory.cs index 350e47e3e..7d11ff7c8 100644 --- a/src/Microsoft.ComponentDetection.Detectors/yarn/IYarnLockFileFactory.cs +++ b/src/Microsoft.ComponentDetection.Detectors/yarn/IYarnLockFileFactory.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Yarn; using System.IO; diff --git a/src/Microsoft.ComponentDetection.Detectors/yarn/IYarnLockParser.cs b/src/Microsoft.ComponentDetection.Detectors/yarn/IYarnLockParser.cs index c3fc92958..5ffeb907a 100644 --- a/src/Microsoft.ComponentDetection.Detectors/yarn/IYarnLockParser.cs +++ b/src/Microsoft.ComponentDetection.Detectors/yarn/IYarnLockParser.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Yarn; using Microsoft.ComponentDetection.Contracts; diff --git a/src/Microsoft.ComponentDetection.Detectors/yarn/InvalidYarnLockFileException.cs b/src/Microsoft.ComponentDetection.Detectors/yarn/InvalidYarnLockFileException.cs index 5795f4646..f23e8fc54 100644 --- a/src/Microsoft.ComponentDetection.Detectors/yarn/InvalidYarnLockFileException.cs +++ b/src/Microsoft.ComponentDetection.Detectors/yarn/InvalidYarnLockFileException.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Yarn; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/yarn/Parsers/IYarnBlockFile.cs b/src/Microsoft.ComponentDetection.Detectors/yarn/Parsers/IYarnBlockFile.cs index 69fb79dbc..aad314920 100644 --- a/src/Microsoft.ComponentDetection.Detectors/yarn/Parsers/IYarnBlockFile.cs +++ b/src/Microsoft.ComponentDetection.Detectors/yarn/Parsers/IYarnBlockFile.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Yarn.Parsers; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/yarn/Parsers/YarnBlock.cs b/src/Microsoft.ComponentDetection.Detectors/yarn/Parsers/YarnBlock.cs index 49c422075..eb7001f2c 100644 --- a/src/Microsoft.ComponentDetection.Detectors/yarn/Parsers/YarnBlock.cs +++ b/src/Microsoft.ComponentDetection.Detectors/yarn/Parsers/YarnBlock.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Yarn.Parsers; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/yarn/Parsers/YarnBlockFile.cs b/src/Microsoft.ComponentDetection.Detectors/yarn/Parsers/YarnBlockFile.cs index dcfe8dc54..c7dd0e0b0 100644 --- a/src/Microsoft.ComponentDetection.Detectors/yarn/Parsers/YarnBlockFile.cs +++ b/src/Microsoft.ComponentDetection.Detectors/yarn/Parsers/YarnBlockFile.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Yarn.Parsers; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/yarn/Parsers/YarnLockParser.cs b/src/Microsoft.ComponentDetection.Detectors/yarn/Parsers/YarnLockParser.cs index eb5bfc77e..e1e0cd665 100644 --- a/src/Microsoft.ComponentDetection.Detectors/yarn/Parsers/YarnLockParser.cs +++ b/src/Microsoft.ComponentDetection.Detectors/yarn/Parsers/YarnLockParser.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Yarn.Parsers; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/yarn/YarnDependency.cs b/src/Microsoft.ComponentDetection.Detectors/yarn/YarnDependency.cs index 780afaa21..4ad3636c0 100644 --- a/src/Microsoft.ComponentDetection.Detectors/yarn/YarnDependency.cs +++ b/src/Microsoft.ComponentDetection.Detectors/yarn/YarnDependency.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Yarn; public class YarnDependency diff --git a/src/Microsoft.ComponentDetection.Detectors/yarn/YarnEntry.cs b/src/Microsoft.ComponentDetection.Detectors/yarn/YarnEntry.cs index e758cd658..ce1a3c49a 100644 --- a/src/Microsoft.ComponentDetection.Detectors/yarn/YarnEntry.cs +++ b/src/Microsoft.ComponentDetection.Detectors/yarn/YarnEntry.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Yarn; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/yarn/YarnLockComponentDetector.cs b/src/Microsoft.ComponentDetection.Detectors/yarn/YarnLockComponentDetector.cs index 3a6d937bf..5f743585c 100644 --- a/src/Microsoft.ComponentDetection.Detectors/yarn/YarnLockComponentDetector.cs +++ b/src/Microsoft.ComponentDetection.Detectors/yarn/YarnLockComponentDetector.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Yarn; using System; diff --git a/src/Microsoft.ComponentDetection.Detectors/yarn/YarnLockFile.cs b/src/Microsoft.ComponentDetection.Detectors/yarn/YarnLockFile.cs index 73dd7cf59..d336b0df9 100644 --- a/src/Microsoft.ComponentDetection.Detectors/yarn/YarnLockFile.cs +++ b/src/Microsoft.ComponentDetection.Detectors/yarn/YarnLockFile.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Yarn; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/yarn/YarnLockFileFactory.cs b/src/Microsoft.ComponentDetection.Detectors/yarn/YarnLockFileFactory.cs index c122eec79..e764c8fdd 100644 --- a/src/Microsoft.ComponentDetection.Detectors/yarn/YarnLockFileFactory.cs +++ b/src/Microsoft.ComponentDetection.Detectors/yarn/YarnLockFileFactory.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Yarn; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/yarn/YarnLockVersion.cs b/src/Microsoft.ComponentDetection.Detectors/yarn/YarnLockVersion.cs index ec1f997a6..637ad88ac 100644 --- a/src/Microsoft.ComponentDetection.Detectors/yarn/YarnLockVersion.cs +++ b/src/Microsoft.ComponentDetection.Detectors/yarn/YarnLockVersion.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Yarn; public enum YarnLockVersion diff --git a/src/Microsoft.ComponentDetection.Orchestrator/ArgumentHelper.cs b/src/Microsoft.ComponentDetection.Orchestrator/ArgumentHelper.cs index bbf0afe8a..4a71ef8e4 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/ArgumentHelper.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/ArgumentHelper.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Commands/BaseSettings.cs b/src/Microsoft.ComponentDetection.Orchestrator/Commands/BaseSettings.cs index eec348e92..d50572264 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Commands/BaseSettings.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Commands/BaseSettings.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Commands; using System; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Commands/Interceptor.cs b/src/Microsoft.ComponentDetection.Orchestrator/Commands/Interceptor.cs index c48f60d3e..3c8ffd42c 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Commands/Interceptor.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Commands/Interceptor.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Commands; using System; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Commands/ListDetectorsCommand.cs b/src/Microsoft.ComponentDetection.Orchestrator/Commands/ListDetectorsCommand.cs index c2b24e730..20b333781 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Commands/ListDetectorsCommand.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Commands/ListDetectorsCommand.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Commands; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Commands/ListDetectorsSettings.cs b/src/Microsoft.ComponentDetection.Orchestrator/Commands/ListDetectorsSettings.cs index 4877364f3..e450f2231 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Commands/ListDetectorsSettings.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Commands/ListDetectorsSettings.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Commands; /// diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Commands/ScanCommand.cs b/src/Microsoft.ComponentDetection.Orchestrator/Commands/ScanCommand.cs index e2d7d39e0..251e99b32 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Commands/ScanCommand.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Commands/ScanCommand.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Commands; using System; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Commands/ScanSettings.cs b/src/Microsoft.ComponentDetection.Orchestrator/Commands/ScanSettings.cs index d180c236e..0d027470e 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Commands/ScanSettings.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Commands/ScanSettings.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Commands; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/DetectorRestrictions.cs b/src/Microsoft.ComponentDetection.Orchestrator/DetectorRestrictions.cs index 51d59cb14..9bb0ef820 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/DetectorRestrictions.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/DetectorRestrictions.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/DetectorRunResult.cs b/src/Microsoft.ComponentDetection.Orchestrator/DetectorRunResult.cs index 539dec49b..ae6a4724a 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/DetectorRunResult.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/DetectorRunResult.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator; using System; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Exceptions/InvalidDetectorCategoriesException.cs b/src/Microsoft.ComponentDetection.Orchestrator/Exceptions/InvalidDetectorCategoriesException.cs index deadd7f74..5efc69439 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Exceptions/InvalidDetectorCategoriesException.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Exceptions/InvalidDetectorCategoriesException.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Exceptions; using System; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Exceptions/InvalidDetectorFilterException.cs b/src/Microsoft.ComponentDetection.Orchestrator/Exceptions/InvalidDetectorFilterException.cs index b5f58680d..3494a3aa9 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Exceptions/InvalidDetectorFilterException.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Exceptions/InvalidDetectorFilterException.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Exceptions; using System; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/IExperimentConfiguration.cs b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/IExperimentConfiguration.cs index d5d01d803..3cfc5c0b5 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/IExperimentConfiguration.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/IExperimentConfiguration.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Experiments.Configs; using System.Threading.Tasks; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/RustSbomVsCliExperiment.cs b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/RustSbomVsCliExperiment.cs index 08ebb1b35..d924c3248 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/RustSbomVsCliExperiment.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/RustSbomVsCliExperiment.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Experiments.Configs; using Microsoft.ComponentDetection.Contracts; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/RustSbomVsCrateExperiment.cs b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/RustSbomVsCrateExperiment.cs index 4801ff2f7..cfa2fb1d6 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/RustSbomVsCrateExperiment.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/RustSbomVsCrateExperiment.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Experiments.Configs; using Microsoft.ComponentDetection.Contracts; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/SimplePipExperiment.cs b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/SimplePipExperiment.cs index 4661823f2..4f02754fa 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/SimplePipExperiment.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/SimplePipExperiment.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Experiments.Configs; using Microsoft.ComponentDetection.Contracts; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/UvLockDetectorExperiment.cs b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/UvLockDetectorExperiment.cs index c5053e4d8..ce8a3a882 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/UvLockDetectorExperiment.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/UvLockDetectorExperiment.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Experiments.Configs; using Microsoft.ComponentDetection.Contracts; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/DefaultExperimentProcessor.cs b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/DefaultExperimentProcessor.cs index 7172d786f..1c532fe8a 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/DefaultExperimentProcessor.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/DefaultExperimentProcessor.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Experiments; using System; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/DetectorExperiments.cs b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/DetectorExperiments.cs index 10561cd28..1b4d60b24 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/DetectorExperiments.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/DetectorExperiments.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Experiments; using System; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/ExperimentComponentComparer.cs b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/ExperimentComponentComparer.cs index d5d18682f..ea4f4dcdd 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/ExperimentComponentComparer.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/ExperimentComponentComparer.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Experiments; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/ExperimentService.cs b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/ExperimentService.cs index d21433ba8..4468199f0 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/ExperimentService.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/ExperimentService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Experiments; using System; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/IExperimentProcessor.cs b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/IExperimentProcessor.cs index 90430c980..efe5ff7bd 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/IExperimentProcessor.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/IExperimentProcessor.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Experiments; using System.Threading.Tasks; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/IExperimentService.cs b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/IExperimentService.cs index 5f4d5e2a1..2eed3264f 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/IExperimentService.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/IExperimentService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Experiments; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Models/ExperimentComponent.cs b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Models/ExperimentComponent.cs index 8ba4a4d66..d9124a7b2 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Models/ExperimentComponent.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Models/ExperimentComponent.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Experiments.Models; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Models/ExperimentDiff.cs b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Models/ExperimentDiff.cs index 16d9eafc0..ad9ddf229 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Models/ExperimentDiff.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Models/ExperimentDiff.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Experiments.Models; using System; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Models/ExperimentResults.cs b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Models/ExperimentResults.cs index d66df5e24..51afd5dea 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Models/ExperimentResults.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Models/ExperimentResults.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Experiments.Models; using System; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Extensions/CommaDelimitedConverter.cs b/src/Microsoft.ComponentDetection.Orchestrator/Extensions/CommaDelimitedConverter.cs index e616de4e3..c8f0a3770 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Extensions/CommaDelimitedConverter.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Extensions/CommaDelimitedConverter.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Extensions; using System; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Extensions/KeyValueDelimitedConverter.cs b/src/Microsoft.ComponentDetection.Orchestrator/Extensions/KeyValueDelimitedConverter.cs index f1ac7c281..b39585367 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Extensions/KeyValueDelimitedConverter.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Extensions/KeyValueDelimitedConverter.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Extensions; using System; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Extensions/SemicolonDelimitedConverter.cs b/src/Microsoft.ComponentDetection.Orchestrator/Extensions/SemicolonDelimitedConverter.cs index e382d26bd..d2294c8f3 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Extensions/SemicolonDelimitedConverter.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Extensions/SemicolonDelimitedConverter.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Extensions; using System; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Extensions/ServiceCollectionExtensions.cs b/src/Microsoft.ComponentDetection.Orchestrator/Extensions/ServiceCollectionExtensions.cs index dedf38dc3..a71056f21 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Extensions/ServiceCollectionExtensions.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Extensions/ServiceCollectionExtensions.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Extensions; using Microsoft.ComponentDetection.Common; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Extensions/TypeRegistrar.cs b/src/Microsoft.ComponentDetection.Orchestrator/Extensions/TypeRegistrar.cs index 79299a74a..e9bcc8995 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Extensions/TypeRegistrar.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Extensions/TypeRegistrar.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Extensions; using System; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Extensions/TypeResolver.cs b/src/Microsoft.ComponentDetection.Orchestrator/Extensions/TypeResolver.cs index 90630207e..f3d8cdff6 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Extensions/TypeResolver.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Extensions/TypeResolver.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Extensions; using System; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/IArgumentHelper.cs b/src/Microsoft.ComponentDetection.Orchestrator/IArgumentHelper.cs index 587b8a27c..f05c6c567 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/IArgumentHelper.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/IArgumentHelper.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator; using CommandLine; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/LoggingEnricher.cs b/src/Microsoft.ComponentDetection.Orchestrator/LoggingEnricher.cs index 23a9574d2..3b1d153e0 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/LoggingEnricher.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/LoggingEnricher.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator; using Serilog.Core; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Services/DetectorProcessingResult.cs b/src/Microsoft.ComponentDetection.Orchestrator/Services/DetectorProcessingResult.cs index b77fad272..95271845a 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Services/DetectorProcessingResult.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Services/DetectorProcessingResult.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Services; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Services/DetectorProcessingService.cs b/src/Microsoft.ComponentDetection.Orchestrator/Services/DetectorProcessingService.cs index 248c401d1..35ca61c5a 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Services/DetectorProcessingService.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Services/DetectorProcessingService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Services; using System; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Services/DetectorRestrictionService.cs b/src/Microsoft.ComponentDetection.Orchestrator/Services/DetectorRestrictionService.cs index 958a5668d..61e08778e 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Services/DetectorRestrictionService.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Services/DetectorRestrictionService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Services; using System; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Services/GraphTranslation/DefaultGraphTranslationService.cs b/src/Microsoft.ComponentDetection.Orchestrator/Services/GraphTranslation/DefaultGraphTranslationService.cs index 788b76181..179c9303d 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Services/GraphTranslation/DefaultGraphTranslationService.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Services/GraphTranslation/DefaultGraphTranslationService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Services.GraphTranslation; using System; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Services/GraphTranslation/GraphTranslationUtility.cs b/src/Microsoft.ComponentDetection.Orchestrator/Services/GraphTranslation/GraphTranslationUtility.cs index 8259f2626..824153edf 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Services/GraphTranslation/GraphTranslationUtility.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Services/GraphTranslation/GraphTranslationUtility.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Services.GraphTranslation; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Services/GraphTranslation/IGraphTranslationService.cs b/src/Microsoft.ComponentDetection.Orchestrator/Services/GraphTranslation/IGraphTranslationService.cs index 96457c260..84e647037 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Services/GraphTranslation/IGraphTranslationService.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Services/GraphTranslation/IGraphTranslationService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Services.GraphTranslation; using Microsoft.ComponentDetection.Contracts.BcdeModels; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Services/IDetectorProcessingService.cs b/src/Microsoft.ComponentDetection.Orchestrator/Services/IDetectorProcessingService.cs index 748b676ad..86d0836f3 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Services/IDetectorProcessingService.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Services/IDetectorProcessingService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Services; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Services/IDetectorRestrictionService.cs b/src/Microsoft.ComponentDetection.Orchestrator/Services/IDetectorRestrictionService.cs index e3f788381..cf8ec8e4d 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Services/IDetectorRestrictionService.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Services/IDetectorRestrictionService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Services; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Services/IScanExecutionService.cs b/src/Microsoft.ComponentDetection.Orchestrator/Services/IScanExecutionService.cs index 6132b0628..9758a5f51 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Services/IScanExecutionService.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Services/IScanExecutionService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Services; using System.Threading.Tasks; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Services/ScanExecutionService.cs b/src/Microsoft.ComponentDetection.Orchestrator/Services/ScanExecutionService.cs index 94ef6f64b..0d9407f1a 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Services/ScanExecutionService.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Services/ScanExecutionService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Services; using System; diff --git a/src/Microsoft.ComponentDetection/Program.cs b/src/Microsoft.ComponentDetection/Program.cs index 1b044ad3e..842d3cbad 100644 --- a/src/Microsoft.ComponentDetection/Program.cs +++ b/src/Microsoft.ComponentDetection/Program.cs @@ -1,3 +1,4 @@ +#nullable disable using System; using System.Diagnostics; using System.Linq; diff --git a/test/Microsoft.ComponentDetection.Common.Tests/AsyncExceptionTests.cs b/test/Microsoft.ComponentDetection.Common.Tests/AsyncExceptionTests.cs index 82e323e97..5765be9c5 100644 --- a/test/Microsoft.ComponentDetection.Common.Tests/AsyncExceptionTests.cs +++ b/test/Microsoft.ComponentDetection.Common.Tests/AsyncExceptionTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Common.Tests/BaseDetectionTelemetryRecordTests.cs b/test/Microsoft.ComponentDetection.Common.Tests/BaseDetectionTelemetryRecordTests.cs index baa81598e..0ebf1a095 100644 --- a/test/Microsoft.ComponentDetection.Common.Tests/BaseDetectionTelemetryRecordTests.cs +++ b/test/Microsoft.ComponentDetection.Common.Tests/BaseDetectionTelemetryRecordTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Common.Tests/CommandLineInvocationServiceTests.cs b/test/Microsoft.ComponentDetection.Common.Tests/CommandLineInvocationServiceTests.cs index b12b05af7..7d2d35f29 100644 --- a/test/Microsoft.ComponentDetection.Common.Tests/CommandLineInvocationServiceTests.cs +++ b/test/Microsoft.ComponentDetection.Common.Tests/CommandLineInvocationServiceTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Common.Tests/ComponentRecorderTests.cs b/test/Microsoft.ComponentDetection.Common.Tests/ComponentRecorderTests.cs index 0df33869d..de1d8b923 100644 --- a/test/Microsoft.ComponentDetection.Common.Tests/ComponentRecorderTests.cs +++ b/test/Microsoft.ComponentDetection.Common.Tests/ComponentRecorderTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Common.Tests/ComponentStreamEnumerableTests.cs b/test/Microsoft.ComponentDetection.Common.Tests/ComponentStreamEnumerableTests.cs index 38f0a2cc4..fb8d9445a 100644 --- a/test/Microsoft.ComponentDetection.Common.Tests/ComponentStreamEnumerableTests.cs +++ b/test/Microsoft.ComponentDetection.Common.Tests/ComponentStreamEnumerableTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Common.Tests/ConsoleWritingServiceTests.cs b/test/Microsoft.ComponentDetection.Common.Tests/ConsoleWritingServiceTests.cs index 6ff4bb842..42b6312f7 100644 --- a/test/Microsoft.ComponentDetection.Common.Tests/ConsoleWritingServiceTests.cs +++ b/test/Microsoft.ComponentDetection.Common.Tests/ConsoleWritingServiceTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Common.Tests/DependencyGraphTests.cs b/test/Microsoft.ComponentDetection.Common.Tests/DependencyGraphTests.cs index 334a92ff5..5d8e01c2f 100644 --- a/test/Microsoft.ComponentDetection.Common.Tests/DependencyGraphTests.cs +++ b/test/Microsoft.ComponentDetection.Common.Tests/DependencyGraphTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Common.Tests/DependencyScopeComparerTests.cs b/test/Microsoft.ComponentDetection.Common.Tests/DependencyScopeComparerTests.cs index e90809327..aea40ef58 100644 --- a/test/Microsoft.ComponentDetection.Common.Tests/DependencyScopeComparerTests.cs +++ b/test/Microsoft.ComponentDetection.Common.Tests/DependencyScopeComparerTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Tests; using FluentAssertions; diff --git a/test/Microsoft.ComponentDetection.Common.Tests/DirectoryUtilityServiceTests.cs b/test/Microsoft.ComponentDetection.Common.Tests/DirectoryUtilityServiceTests.cs index bc5baf7e6..7ae3ebfcf 100644 --- a/test/Microsoft.ComponentDetection.Common.Tests/DirectoryUtilityServiceTests.cs +++ b/test/Microsoft.ComponentDetection.Common.Tests/DirectoryUtilityServiceTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Tests; using System.IO; diff --git a/test/Microsoft.ComponentDetection.Common.Tests/DockerReferenceUtilityTests.cs b/test/Microsoft.ComponentDetection.Common.Tests/DockerReferenceUtilityTests.cs index 044cefde3..019e19b8c 100644 --- a/test/Microsoft.ComponentDetection.Common.Tests/DockerReferenceUtilityTests.cs +++ b/test/Microsoft.ComponentDetection.Common.Tests/DockerReferenceUtilityTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Common.Tests/DockerServiceTests.cs b/test/Microsoft.ComponentDetection.Common.Tests/DockerServiceTests.cs index b203be826..b3da66030 100644 --- a/test/Microsoft.ComponentDetection.Common.Tests/DockerServiceTests.cs +++ b/test/Microsoft.ComponentDetection.Common.Tests/DockerServiceTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Common.Tests/EnvironmentVariableServiceTests.cs b/test/Microsoft.ComponentDetection.Common.Tests/EnvironmentVariableServiceTests.cs index ef7ad8ba9..962ed04c9 100644 --- a/test/Microsoft.ComponentDetection.Common.Tests/EnvironmentVariableServiceTests.cs +++ b/test/Microsoft.ComponentDetection.Common.Tests/EnvironmentVariableServiceTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Common.Tests/FileEnumerationTests.cs b/test/Microsoft.ComponentDetection.Common.Tests/FileEnumerationTests.cs index ed88ef6af..7c287e705 100644 --- a/test/Microsoft.ComponentDetection.Common.Tests/FileEnumerationTests.cs +++ b/test/Microsoft.ComponentDetection.Common.Tests/FileEnumerationTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Common.Tests/FileUtilityServiceTests.cs b/test/Microsoft.ComponentDetection.Common.Tests/FileUtilityServiceTests.cs index fc02cea77..9bca5a828 100644 --- a/test/Microsoft.ComponentDetection.Common.Tests/FileUtilityServiceTests.cs +++ b/test/Microsoft.ComponentDetection.Common.Tests/FileUtilityServiceTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Tests; using System.IO; diff --git a/test/Microsoft.ComponentDetection.Common.Tests/FileWritingServiceTests.cs b/test/Microsoft.ComponentDetection.Common.Tests/FileWritingServiceTests.cs index eb0965c89..b16e58809 100644 --- a/test/Microsoft.ComponentDetection.Common.Tests/FileWritingServiceTests.cs +++ b/test/Microsoft.ComponentDetection.Common.Tests/FileWritingServiceTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Common.Tests/LazyComponentStreamTests.cs b/test/Microsoft.ComponentDetection.Common.Tests/LazyComponentStreamTests.cs index fd5feba30..2e5a6730b 100644 --- a/test/Microsoft.ComponentDetection.Common.Tests/LazyComponentStreamTests.cs +++ b/test/Microsoft.ComponentDetection.Common.Tests/LazyComponentStreamTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Tests; using System.IO; diff --git a/test/Microsoft.ComponentDetection.Common.Tests/PathUtilityServiceTests.cs b/test/Microsoft.ComponentDetection.Common.Tests/PathUtilityServiceTests.cs index 4f38b2ba4..a2a964eda 100644 --- a/test/Microsoft.ComponentDetection.Common.Tests/PathUtilityServiceTests.cs +++ b/test/Microsoft.ComponentDetection.Common.Tests/PathUtilityServiceTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Tests; using FluentAssertions; diff --git a/test/Microsoft.ComponentDetection.Common.Tests/PatternMatchingUtilityTests.cs b/test/Microsoft.ComponentDetection.Common.Tests/PatternMatchingUtilityTests.cs index 4779fdaff..21e51ba04 100644 --- a/test/Microsoft.ComponentDetection.Common.Tests/PatternMatchingUtilityTests.cs +++ b/test/Microsoft.ComponentDetection.Common.Tests/PatternMatchingUtilityTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Tests; using FluentAssertions; diff --git a/test/Microsoft.ComponentDetection.Common.Tests/SafeFileEnumerableTests.cs b/test/Microsoft.ComponentDetection.Common.Tests/SafeFileEnumerableTests.cs index 1579128ca..e4ce8b159 100644 --- a/test/Microsoft.ComponentDetection.Common.Tests/SafeFileEnumerableTests.cs +++ b/test/Microsoft.ComponentDetection.Common.Tests/SafeFileEnumerableTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Common.Tests/StringUtilitiesTests.cs b/test/Microsoft.ComponentDetection.Common.Tests/StringUtilitiesTests.cs index 62d8bd708..6b538186c 100644 --- a/test/Microsoft.ComponentDetection.Common.Tests/StringUtilitiesTests.cs +++ b/test/Microsoft.ComponentDetection.Common.Tests/StringUtilitiesTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Tests; using FluentAssertions; diff --git a/test/Microsoft.ComponentDetection.Common.Tests/TabularStringFormatTests.cs b/test/Microsoft.ComponentDetection.Common.Tests/TabularStringFormatTests.cs index 8d08dbb65..75307ad6e 100644 --- a/test/Microsoft.ComponentDetection.Common.Tests/TabularStringFormatTests.cs +++ b/test/Microsoft.ComponentDetection.Common.Tests/TabularStringFormatTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Contracts.Tests/DetectedComponentTests.cs b/test/Microsoft.ComponentDetection.Contracts.Tests/DetectedComponentTests.cs index 823442d07..e74805a50 100644 --- a/test/Microsoft.ComponentDetection.Contracts.Tests/DetectedComponentTests.cs +++ b/test/Microsoft.ComponentDetection.Contracts.Tests/DetectedComponentTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts.Tests; using FluentAssertions; diff --git a/test/Microsoft.ComponentDetection.Contracts.Tests/FileComponentDetectorWithCleanupTests.cs b/test/Microsoft.ComponentDetection.Contracts.Tests/FileComponentDetectorWithCleanupTests.cs index 116b8f62e..415fccaba 100644 --- a/test/Microsoft.ComponentDetection.Contracts.Tests/FileComponentDetectorWithCleanupTests.cs +++ b/test/Microsoft.ComponentDetection.Contracts.Tests/FileComponentDetectorWithCleanupTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Contracts.Tests/PurlGenerationTests.cs b/test/Microsoft.ComponentDetection.Contracts.Tests/PurlGenerationTests.cs index a0834f7b7..6ea681884 100644 --- a/test/Microsoft.ComponentDetection.Contracts.Tests/PurlGenerationTests.cs +++ b/test/Microsoft.ComponentDetection.Contracts.Tests/PurlGenerationTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts.Tests; using FluentAssertions; diff --git a/test/Microsoft.ComponentDetection.Contracts.Tests/ScanResultSerializationTests.cs b/test/Microsoft.ComponentDetection.Contracts.Tests/ScanResultSerializationTests.cs index c5e99c779..5019427a9 100644 --- a/test/Microsoft.ComponentDetection.Contracts.Tests/ScanResultSerializationTests.cs +++ b/test/Microsoft.ComponentDetection.Contracts.Tests/ScanResultSerializationTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts.Tests; using System.Linq; diff --git a/test/Microsoft.ComponentDetection.Contracts.Tests/TypedComponentSerializationTests.cs b/test/Microsoft.ComponentDetection.Contracts.Tests/TypedComponentSerializationTests.cs index 27c3fb981..308e84326 100644 --- a/test/Microsoft.ComponentDetection.Contracts.Tests/TypedComponentSerializationTests.cs +++ b/test/Microsoft.ComponentDetection.Contracts.Tests/TypedComponentSerializationTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Contracts.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/ComponentDetectorTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/ComponentDetectorTests.cs index 7543d7e46..c08f8f6b4 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/ComponentDetectorTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/ComponentDetectorTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System.Collections.Generic; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/ConanLockComponentDetectorTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/ConanLockComponentDetectorTests.cs index b509188d6..ba005c22a 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/ConanLockComponentDetectorTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/ConanLockComponentDetectorTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/CondaLockComponentDetectorTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/CondaLockComponentDetectorTests.cs index d404fd56b..548da76ed 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/CondaLockComponentDetectorTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/CondaLockComponentDetectorTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System.Collections.Generic; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/DotNetComponentDetectorTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/DotNetComponentDetectorTests.cs index 3aae504a7..dbb161e18 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/DotNetComponentDetectorTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/DotNetComponentDetectorTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/GoComponentDetectorTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/GoComponentDetectorTests.cs index eec1a69b6..f9084bb6c 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/GoComponentDetectorTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/GoComponentDetectorTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/GoComponentTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/GoComponentTests.cs index 2075ae463..2ab4eb1a2 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/GoComponentTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/GoComponentTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/GradleComponentDetectorTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/GradleComponentDetectorTests.cs index 2a70a4673..e4778dc43 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/GradleComponentDetectorTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/GradleComponentDetectorTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/GradleTestUtilities.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/GradleTestUtilities.cs index ab22f15f7..b9eaf91db 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/GradleTestUtilities.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/GradleTestUtilities.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System.Collections.Generic; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/IvyDetectorTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/IvyDetectorTests.cs index 077c209cd..78d228ca5 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/IvyDetectorTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/IvyDetectorTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/LinuxContainerDetectorTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/LinuxContainerDetectorTests.cs index 94c2287fb..a8b7741a5 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/LinuxContainerDetectorTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/LinuxContainerDetectorTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/LinuxScannerTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/LinuxScannerTests.cs index 2c352dfc2..f643779f0 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/LinuxScannerTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/LinuxScannerTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System.Collections.Generic; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/MavenCommandServiceTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/MavenCommandServiceTests.cs index 216230036..5a365ff67 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/MavenCommandServiceTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/MavenCommandServiceTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/MavenParsingUtilitiesTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/MavenParsingUtilitiesTests.cs index 5c7791fc9..eaeae5184 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/MavenParsingUtilitiesTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/MavenParsingUtilitiesTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using FluentAssertions; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/MavenStyleDependencyGraphParserTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/MavenStyleDependencyGraphParserTests.cs index 7612f5cd6..f431f3dd6 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/MavenStyleDependencyGraphParserTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/MavenStyleDependencyGraphParserTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System.IO; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/MavenTestUtilities.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/MavenTestUtilities.cs index 38d6c9a36..b0136070d 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/MavenTestUtilities.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/MavenTestUtilities.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; public static class MavenTestUtilities diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/Mocks/TestResources.Designer.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/Mocks/TestResources.Designer.cs index 86a1ac657..bc3d3bc9c 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/Mocks/TestResources.Designer.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/Mocks/TestResources.Designer.cs @@ -1,3 +1,4 @@ +#nullable disable //------------------------------------------------------------------------------ // // This code was generated by a tool. diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/MvnCliDetectorTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/MvnCliDetectorTests.cs index 7adf0feed..b87d4c1bf 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/MvnCliDetectorTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/MvnCliDetectorTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/NpmDetectorTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/NpmDetectorTests.cs index 6ad1c5a36..6028dcd37 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/NpmDetectorTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/NpmDetectorTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System.Collections.Generic; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/NpmDetectorWithRootsTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/NpmDetectorWithRootsTests.cs index 547654da8..2c9a7afa3 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/NpmDetectorWithRootsTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/NpmDetectorWithRootsTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/NpmLockfile3DetectorTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/NpmLockfile3DetectorTests.cs index 61b08d35d..9147a0659 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/NpmLockfile3DetectorTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/NpmLockfile3DetectorTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/NpmTestUtilities.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/NpmTestUtilities.cs index 9fb3c81f1..314e8036c 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/NpmTestUtilities.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/NpmTestUtilities.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/NpmUtilitiesTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/NpmUtilitiesTests.cs index 580a970c2..76de6f74f 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/NpmUtilitiesTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/NpmUtilitiesTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System.Linq; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/NuGetComponentDetectorTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/NuGetComponentDetectorTests.cs index c58d74bc2..b2abeca29 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/NuGetComponentDetectorTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/NuGetComponentDetectorTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/NuGetNuspecUtilitiesTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/NuGetNuspecUtilitiesTests.cs index 81a3c85f0..779646feb 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/NuGetNuspecUtilitiesTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/NuGetNuspecUtilitiesTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/NuGetProjectModelProjectCentricComponentDetectorTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/NuGetProjectModelProjectCentricComponentDetectorTests.cs index 0915ff14d..5400098eb 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/NuGetProjectModelProjectCentricComponentDetectorTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/NuGetProjectModelProjectCentricComponentDetectorTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/NugetTestUtilities.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/NugetTestUtilities.cs index 913aae839..57f6f0cfe 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/NugetTestUtilities.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/NugetTestUtilities.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System.IO; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/PipCommandServiceTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/PipCommandServiceTests.cs index 60b39f926..b997f5e73 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/PipCommandServiceTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/PipCommandServiceTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/PipComponentDetectorTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/PipComponentDetectorTests.cs index 944e47c33..a2ab0aea9 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/PipComponentDetectorTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/PipComponentDetectorTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/PipDependencySpecifierTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/PipDependencySpecifierTests.cs index b9340e8cb..65631ef60 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/PipDependencySpecifierTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/PipDependencySpecifierTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System.Collections.Generic; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/PipReportComponentDetectorTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/PipReportComponentDetectorTests.cs index e0a212d95..1ca9d3b95 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/PipReportComponentDetectorTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/PipReportComponentDetectorTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/PipReportUtilitiesTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/PipReportUtilitiesTests.cs index a8cfcdfe9..1e32c47bd 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/PipReportUtilitiesTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/PipReportUtilitiesTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using FluentAssertions; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/PipResolverTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/PipResolverTests.cs index 9dcb19972..77f076a71 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/PipResolverTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/PipResolverTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/PnpmDetectorTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/PnpmDetectorTests.cs index afc17655e..6d73adf26 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/PnpmDetectorTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/PnpmDetectorTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System.Collections.Generic; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/PnpmParsingUtilitiesTest.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/PnpmParsingUtilitiesTest.cs index 6f87db271..7418f1420 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/PnpmParsingUtilitiesTest.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/PnpmParsingUtilitiesTest.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/PodDetectorTest.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/PodDetectorTest.cs index 82142065a..236525465 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/PodDetectorTest.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/PodDetectorTest.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/PoetryComponentDetectorTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/PoetryComponentDetectorTests.cs index 155e28582..4fa5ffdf4 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/PoetryComponentDetectorTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/PoetryComponentDetectorTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System.Collections.Generic; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/PyPiClientTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/PyPiClientTests.cs index 08529c4e5..a3e985db1 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/PyPiClientTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/PyPiClientTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/PythonCommandServiceTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/PythonCommandServiceTests.cs index 6bcc357a5..8b7e80318 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/PythonCommandServiceTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/PythonCommandServiceTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/PythonVersionTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/PythonVersionTests.cs index 3b57b6fbd..ee6e6d42b 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/PythonVersionTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/PythonVersionTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/RubyDetectorTest.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/RubyDetectorTest.cs index b35379bd8..9f19698f1 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/RubyDetectorTest.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/RubyDetectorTest.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System.Collections.Generic; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/RustCliDetectorTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/RustCliDetectorTests.cs index 790a4801b..d1215f19e 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/RustCliDetectorTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/RustCliDetectorTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/RustCrateDetectorTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/RustCrateDetectorTests.cs index 07e7abdc8..621beac70 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/RustCrateDetectorTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/RustCrateDetectorTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/RustDependencySpecifierTest.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/RustDependencySpecifierTest.cs index 54e79451a..b351cc1d9 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/RustDependencySpecifierTest.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/RustDependencySpecifierTest.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System.Collections.Generic; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/RustSbomDetectorTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/RustSbomDetectorTests.cs index 7e01e2cf6..fd1e5d12d 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/RustSbomDetectorTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/RustSbomDetectorTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System.Collections.Generic; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/SPDX22ComponentDetectorTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/SPDX22ComponentDetectorTests.cs index eccbd4194..8fff778aa 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/SPDX22ComponentDetectorTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/SPDX22ComponentDetectorTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/SimplePipComponentDetectorTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/SimplePipComponentDetectorTests.cs index fb0505129..88bdebd4b 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/SimplePipComponentDetectorTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/SimplePipComponentDetectorTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/SimplePypiClientTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/SimplePypiClientTests.cs index f46ccb74d..aded6521c 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/SimplePypiClientTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/SimplePypiClientTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/SimplePythonResolverTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/SimplePythonResolverTests.cs index 71201aa8d..7f8455fce 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/SimplePythonResolverTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/SimplePythonResolverTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/SwiftComponentTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/SwiftComponentTests.cs index 09a13274a..deea1d699 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/SwiftComponentTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/SwiftComponentTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests.Swift; using System; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/SwiftResolvedDetectorTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/SwiftResolvedDetectorTests.cs index 6cfb54f78..58707bd26 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/SwiftResolvedDetectorTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/SwiftResolvedDetectorTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests.Swift; using System; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/Utilities/ComponentRecorderTestUtilities.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/Utilities/ComponentRecorderTestUtilities.cs index bcd189b9c..e8f3e5ccb 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/Utilities/ComponentRecorderTestUtilities.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/Utilities/ComponentRecorderTestUtilities.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests.Utilities; using System; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/Utilities/EnumerableStringComparer.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/Utilities/EnumerableStringComparer.cs index e2b79a14b..fa1d68bdc 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/Utilities/EnumerableStringComparer.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/Utilities/EnumerableStringComparer.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests.Utilities; using System.Collections.Generic; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/Utilities/TestUtilityExtensions.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/Utilities/TestUtilityExtensions.cs index 63569435e..8cbdb1978 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/Utilities/TestUtilityExtensions.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/Utilities/TestUtilityExtensions.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests.Utilities; using System; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/UvLockDetectorTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/UvLockDetectorTests.cs index 19cf0cc7a..8d7beb290 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/UvLockDetectorTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/UvLockDetectorTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/UvLockTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/UvLockTests.cs index fea14df3d..ad7f6a773 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/UvLockTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/UvLockTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests { using System; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/VcpkgComponentDetectorTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/VcpkgComponentDetectorTests.cs index 246a56132..a44e94977 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/VcpkgComponentDetectorTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/VcpkgComponentDetectorTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/Yarn/YarnBerryTypeConverterTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/Yarn/YarnBerryTypeConverterTests.cs index 2638b05b0..4f5f67b3f 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/Yarn/YarnBerryTypeConverterTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/Yarn/YarnBerryTypeConverterTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests.Yarn; using FluentAssertions; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/YarnBlockFileTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/YarnBlockFileTests.cs index 868db27cd..718086ccf 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/YarnBlockFileTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/YarnBlockFileTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/YarnLockDetectorTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/YarnLockDetectorTests.cs index e8d1cd7ed..5582180e8 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/YarnLockDetectorTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/YarnLockDetectorTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/YarnParserTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/YarnParserTests.cs index f4e835406..648e76e0a 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/YarnParserTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/YarnParserTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/YarnTestUtilities.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/YarnTestUtilities.cs index 7a0a56a1d..f5fa5f3da 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/YarnTestUtilities.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/YarnTestUtilities.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests; using System.IO; diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/nuget/NuGetPackagesConfigDetectorTests.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/nuget/NuGetPackagesConfigDetectorTests.cs index 29281a1cb..7bf067106 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/nuget/NuGetPackagesConfigDetectorTests.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/nuget/NuGetPackagesConfigDetectorTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Tests.NuGet; using System.Threading.Tasks; diff --git a/test/Microsoft.ComponentDetection.Orchestrator.Tests/Commands/BaseSettingsTests.cs b/test/Microsoft.ComponentDetection.Orchestrator.Tests/Commands/BaseSettingsTests.cs index 0c129fe0a..d25bcb887 100644 --- a/test/Microsoft.ComponentDetection.Orchestrator.Tests/Commands/BaseSettingsTests.cs +++ b/test/Microsoft.ComponentDetection.Orchestrator.Tests/Commands/BaseSettingsTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Tests.Commands; using System.IO; diff --git a/test/Microsoft.ComponentDetection.Orchestrator.Tests/Commands/InterceptorTests.cs b/test/Microsoft.ComponentDetection.Orchestrator.Tests/Commands/InterceptorTests.cs index ef1f2f8fb..4205b2246 100644 --- a/test/Microsoft.ComponentDetection.Orchestrator.Tests/Commands/InterceptorTests.cs +++ b/test/Microsoft.ComponentDetection.Orchestrator.Tests/Commands/InterceptorTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Tests.Commands; using System.Collections.Generic; diff --git a/test/Microsoft.ComponentDetection.Orchestrator.Tests/Commands/ListDetectorCommandTests.cs b/test/Microsoft.ComponentDetection.Orchestrator.Tests/Commands/ListDetectorCommandTests.cs index 3a0749062..cc880845d 100644 --- a/test/Microsoft.ComponentDetection.Orchestrator.Tests/Commands/ListDetectorCommandTests.cs +++ b/test/Microsoft.ComponentDetection.Orchestrator.Tests/Commands/ListDetectorCommandTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Tests.Commands; using System.Collections.Generic; diff --git a/test/Microsoft.ComponentDetection.Orchestrator.Tests/Commands/ScanCommandTests.cs b/test/Microsoft.ComponentDetection.Orchestrator.Tests/Commands/ScanCommandTests.cs index c2c8f7154..5c81058ed 100644 --- a/test/Microsoft.ComponentDetection.Orchestrator.Tests/Commands/ScanCommandTests.cs +++ b/test/Microsoft.ComponentDetection.Orchestrator.Tests/Commands/ScanCommandTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Tests.Commands; using System; diff --git a/test/Microsoft.ComponentDetection.Orchestrator.Tests/Commands/ScanSettingsTests.cs b/test/Microsoft.ComponentDetection.Orchestrator.Tests/Commands/ScanSettingsTests.cs index 495cd9c2b..68032c2b1 100644 --- a/test/Microsoft.ComponentDetection.Orchestrator.Tests/Commands/ScanSettingsTests.cs +++ b/test/Microsoft.ComponentDetection.Orchestrator.Tests/Commands/ScanSettingsTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Tests.Commands; using System.IO; diff --git a/test/Microsoft.ComponentDetection.Orchestrator.Tests/Experiments/DefaultExperimentProcessorTests.cs b/test/Microsoft.ComponentDetection.Orchestrator.Tests/Experiments/DefaultExperimentProcessorTests.cs index 139e1b0a3..0c3af5a91 100644 --- a/test/Microsoft.ComponentDetection.Orchestrator.Tests/Experiments/DefaultExperimentProcessorTests.cs +++ b/test/Microsoft.ComponentDetection.Orchestrator.Tests/Experiments/DefaultExperimentProcessorTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Tests.Experiments; using System.Text.Json; diff --git a/test/Microsoft.ComponentDetection.Orchestrator.Tests/Experiments/ExperimentConfigTests.cs b/test/Microsoft.ComponentDetection.Orchestrator.Tests/Experiments/ExperimentConfigTests.cs index b2d06a9ad..58f2b6c41 100644 --- a/test/Microsoft.ComponentDetection.Orchestrator.Tests/Experiments/ExperimentConfigTests.cs +++ b/test/Microsoft.ComponentDetection.Orchestrator.Tests/Experiments/ExperimentConfigTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Tests.Experiments; using System.Collections.Generic; diff --git a/test/Microsoft.ComponentDetection.Orchestrator.Tests/Experiments/ExperimentDiffTests.cs b/test/Microsoft.ComponentDetection.Orchestrator.Tests/Experiments/ExperimentDiffTests.cs index d5d2c4dec..541c38f62 100644 --- a/test/Microsoft.ComponentDetection.Orchestrator.Tests/Experiments/ExperimentDiffTests.cs +++ b/test/Microsoft.ComponentDetection.Orchestrator.Tests/Experiments/ExperimentDiffTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Tests.Experiments; using System.Linq; diff --git a/test/Microsoft.ComponentDetection.Orchestrator.Tests/Experiments/ExperimentResultsTests.cs b/test/Microsoft.ComponentDetection.Orchestrator.Tests/Experiments/ExperimentResultsTests.cs index c9a610e15..c96b14b97 100644 --- a/test/Microsoft.ComponentDetection.Orchestrator.Tests/Experiments/ExperimentResultsTests.cs +++ b/test/Microsoft.ComponentDetection.Orchestrator.Tests/Experiments/ExperimentResultsTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Tests.Experiments; using System.Linq; diff --git a/test/Microsoft.ComponentDetection.Orchestrator.Tests/Experiments/ExperimentServiceTests.cs b/test/Microsoft.ComponentDetection.Orchestrator.Tests/Experiments/ExperimentServiceTests.cs index 5921ef039..d379721a6 100644 --- a/test/Microsoft.ComponentDetection.Orchestrator.Tests/Experiments/ExperimentServiceTests.cs +++ b/test/Microsoft.ComponentDetection.Orchestrator.Tests/Experiments/ExperimentServiceTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Tests.Experiments; using System; diff --git a/test/Microsoft.ComponentDetection.Orchestrator.Tests/Experiments/ExperimentTestUtils.cs b/test/Microsoft.ComponentDetection.Orchestrator.Tests/Experiments/ExperimentTestUtils.cs index 3c9f489d1..76166273f 100644 --- a/test/Microsoft.ComponentDetection.Orchestrator.Tests/Experiments/ExperimentTestUtils.cs +++ b/test/Microsoft.ComponentDetection.Orchestrator.Tests/Experiments/ExperimentTestUtils.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Tests.Experiments; using System; diff --git a/test/Microsoft.ComponentDetection.Orchestrator.Tests/Experiments/UvLockDetectorExperimentTests.cs b/test/Microsoft.ComponentDetection.Orchestrator.Tests/Experiments/UvLockDetectorExperimentTests.cs index a3d78c9b9..68d9fd4c9 100644 --- a/test/Microsoft.ComponentDetection.Orchestrator.Tests/Experiments/UvLockDetectorExperimentTests.cs +++ b/test/Microsoft.ComponentDetection.Orchestrator.Tests/Experiments/UvLockDetectorExperimentTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Tests.Experiments; using FluentAssertions; diff --git a/test/Microsoft.ComponentDetection.Orchestrator.Tests/Extensions/CommaDelimitedConverterTests.cs b/test/Microsoft.ComponentDetection.Orchestrator.Tests/Extensions/CommaDelimitedConverterTests.cs index e1f5daf86..2e02a14e9 100644 --- a/test/Microsoft.ComponentDetection.Orchestrator.Tests/Extensions/CommaDelimitedConverterTests.cs +++ b/test/Microsoft.ComponentDetection.Orchestrator.Tests/Extensions/CommaDelimitedConverterTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Tests.Extensions; using System; diff --git a/test/Microsoft.ComponentDetection.Orchestrator.Tests/Extensions/KeyValueDelimitedConverterTests.cs b/test/Microsoft.ComponentDetection.Orchestrator.Tests/Extensions/KeyValueDelimitedConverterTests.cs index f71c9d64b..413631877 100644 --- a/test/Microsoft.ComponentDetection.Orchestrator.Tests/Extensions/KeyValueDelimitedConverterTests.cs +++ b/test/Microsoft.ComponentDetection.Orchestrator.Tests/Extensions/KeyValueDelimitedConverterTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Tests.Extensions; using System; diff --git a/test/Microsoft.ComponentDetection.Orchestrator.Tests/Extensions/SemicolonDelimitedConverterTests.cs b/test/Microsoft.ComponentDetection.Orchestrator.Tests/Extensions/SemicolonDelimitedConverterTests.cs index 38b577d5e..f65c9418d 100644 --- a/test/Microsoft.ComponentDetection.Orchestrator.Tests/Extensions/SemicolonDelimitedConverterTests.cs +++ b/test/Microsoft.ComponentDetection.Orchestrator.Tests/Extensions/SemicolonDelimitedConverterTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Tests.Extensions; using System; diff --git a/test/Microsoft.ComponentDetection.Orchestrator.Tests/Extensions/TypeRegistrarTests.cs b/test/Microsoft.ComponentDetection.Orchestrator.Tests/Extensions/TypeRegistrarTests.cs index e965f573b..46d5487e8 100644 --- a/test/Microsoft.ComponentDetection.Orchestrator.Tests/Extensions/TypeRegistrarTests.cs +++ b/test/Microsoft.ComponentDetection.Orchestrator.Tests/Extensions/TypeRegistrarTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Tests.Extensions; using System; diff --git a/test/Microsoft.ComponentDetection.Orchestrator.Tests/GraphTranslationUtilityTests.cs b/test/Microsoft.ComponentDetection.Orchestrator.Tests/GraphTranslationUtilityTests.cs index 69cc459ce..53dd7debb 100644 --- a/test/Microsoft.ComponentDetection.Orchestrator.Tests/GraphTranslationUtilityTests.cs +++ b/test/Microsoft.ComponentDetection.Orchestrator.Tests/GraphTranslationUtilityTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Tests; using System.Collections.Generic; diff --git a/test/Microsoft.ComponentDetection.Orchestrator.Tests/LoggingEnricherTests.cs b/test/Microsoft.ComponentDetection.Orchestrator.Tests/LoggingEnricherTests.cs index 7de2e67a2..18f61aeba 100644 --- a/test/Microsoft.ComponentDetection.Orchestrator.Tests/LoggingEnricherTests.cs +++ b/test/Microsoft.ComponentDetection.Orchestrator.Tests/LoggingEnricherTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.Orchestrator.Tests/Services/BcdeScanExecutionServiceTests.cs b/test/Microsoft.ComponentDetection.Orchestrator.Tests/Services/BcdeScanExecutionServiceTests.cs index b07d88b8c..df0cf522b 100644 --- a/test/Microsoft.ComponentDetection.Orchestrator.Tests/Services/BcdeScanExecutionServiceTests.cs +++ b/test/Microsoft.ComponentDetection.Orchestrator.Tests/Services/BcdeScanExecutionServiceTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Tests.Services; using System; diff --git a/test/Microsoft.ComponentDetection.Orchestrator.Tests/Services/DefaultGraphTranslationServiceTests.cs b/test/Microsoft.ComponentDetection.Orchestrator.Tests/Services/DefaultGraphTranslationServiceTests.cs index 6979806f8..d390068a8 100644 --- a/test/Microsoft.ComponentDetection.Orchestrator.Tests/Services/DefaultGraphTranslationServiceTests.cs +++ b/test/Microsoft.ComponentDetection.Orchestrator.Tests/Services/DefaultGraphTranslationServiceTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Tests.Services; using System.Collections.Generic; diff --git a/test/Microsoft.ComponentDetection.Orchestrator.Tests/Services/DetectorProcessingServiceTests.cs b/test/Microsoft.ComponentDetection.Orchestrator.Tests/Services/DetectorProcessingServiceTests.cs index f01fe6692..1f322d257 100644 --- a/test/Microsoft.ComponentDetection.Orchestrator.Tests/Services/DetectorProcessingServiceTests.cs +++ b/test/Microsoft.ComponentDetection.Orchestrator.Tests/Services/DetectorProcessingServiceTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Tests.Services; using System; diff --git a/test/Microsoft.ComponentDetection.Orchestrator.Tests/Services/DetectorRestrictionServiceTests.cs b/test/Microsoft.ComponentDetection.Orchestrator.Tests/Services/DetectorRestrictionServiceTests.cs index 4a5355508..686537f37 100644 --- a/test/Microsoft.ComponentDetection.Orchestrator.Tests/Services/DetectorRestrictionServiceTests.cs +++ b/test/Microsoft.ComponentDetection.Orchestrator.Tests/Services/DetectorRestrictionServiceTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Tests.Services; using System; diff --git a/test/Microsoft.ComponentDetection.Orchestrator.Tests/TelemetryHelper.cs b/test/Microsoft.ComponentDetection.Orchestrator.Tests/TelemetryHelper.cs index 25a474db8..e34474d13 100644 --- a/test/Microsoft.ComponentDetection.Orchestrator.Tests/TelemetryHelper.cs +++ b/test/Microsoft.ComponentDetection.Orchestrator.Tests/TelemetryHelper.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Tests; using System; diff --git a/test/Microsoft.ComponentDetection.TestsUtilities/Attributes/SkipTestIfNotWindowsAttribute.cs b/test/Microsoft.ComponentDetection.TestsUtilities/Attributes/SkipTestIfNotWindowsAttribute.cs index 26289d9b2..0bd6f759f 100644 --- a/test/Microsoft.ComponentDetection.TestsUtilities/Attributes/SkipTestIfNotWindowsAttribute.cs +++ b/test/Microsoft.ComponentDetection.TestsUtilities/Attributes/SkipTestIfNotWindowsAttribute.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.TestsUtilities; using System.Runtime.InteropServices; diff --git a/test/Microsoft.ComponentDetection.TestsUtilities/Attributes/SkipTestOnWindowsAttribute.cs b/test/Microsoft.ComponentDetection.TestsUtilities/Attributes/SkipTestOnWindowsAttribute.cs index 5a335a938..a19f7154b 100644 --- a/test/Microsoft.ComponentDetection.TestsUtilities/Attributes/SkipTestOnWindowsAttribute.cs +++ b/test/Microsoft.ComponentDetection.TestsUtilities/Attributes/SkipTestOnWindowsAttribute.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.TestsUtilities; using System.Runtime.InteropServices; diff --git a/test/Microsoft.ComponentDetection.TestsUtilities/BaseDetectorTest.cs b/test/Microsoft.ComponentDetection.TestsUtilities/BaseDetectorTest.cs index ad3439c6f..9d08e8a23 100644 --- a/test/Microsoft.ComponentDetection.TestsUtilities/BaseDetectorTest.cs +++ b/test/Microsoft.ComponentDetection.TestsUtilities/BaseDetectorTest.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.TestsUtilities; using Microsoft.ComponentDetection.Contracts; diff --git a/test/Microsoft.ComponentDetection.TestsUtilities/DetectorTestUtilityBuilder.cs b/test/Microsoft.ComponentDetection.TestsUtilities/DetectorTestUtilityBuilder.cs index 51f05705c..1dc9f1b69 100644 --- a/test/Microsoft.ComponentDetection.TestsUtilities/DetectorTestUtilityBuilder.cs +++ b/test/Microsoft.ComponentDetection.TestsUtilities/DetectorTestUtilityBuilder.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.TestsUtilities; using System; diff --git a/test/Microsoft.ComponentDetection.TestsUtilities/EnumerableStringComparer.cs b/test/Microsoft.ComponentDetection.TestsUtilities/EnumerableStringComparer.cs index 69b93ec45..ab0ca53b3 100644 --- a/test/Microsoft.ComponentDetection.TestsUtilities/EnumerableStringComparer.cs +++ b/test/Microsoft.ComponentDetection.TestsUtilities/EnumerableStringComparer.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.TestsUtilities; using System.Collections.Generic; diff --git a/test/Microsoft.ComponentDetection.TestsUtilities/ExtensionMethods.cs b/test/Microsoft.ComponentDetection.TestsUtilities/ExtensionMethods.cs index 51265f10c..7ad45b619 100644 --- a/test/Microsoft.ComponentDetection.TestsUtilities/ExtensionMethods.cs +++ b/test/Microsoft.ComponentDetection.TestsUtilities/ExtensionMethods.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.TestsUtilities; using System; diff --git a/test/Microsoft.ComponentDetection.VerificationTests/ComponentDetectionIntegrationTests.cs b/test/Microsoft.ComponentDetection.VerificationTests/ComponentDetectionIntegrationTests.cs index 8dda90017..61e08f35d 100644 --- a/test/Microsoft.ComponentDetection.VerificationTests/ComponentDetectionIntegrationTests.cs +++ b/test/Microsoft.ComponentDetection.VerificationTests/ComponentDetectionIntegrationTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.VerificationTests; using System; diff --git a/test/Microsoft.ComponentDetection.VerificationTests/JsonSchemaTests.cs b/test/Microsoft.ComponentDetection.VerificationTests/JsonSchemaTests.cs index 2b34d6792..308db20d9 100644 --- a/test/Microsoft.ComponentDetection.VerificationTests/JsonSchemaTests.cs +++ b/test/Microsoft.ComponentDetection.VerificationTests/JsonSchemaTests.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.VerificationTests; using System; From e9ff160c02ae3ced79cf2e0fea7c1090bbd27565 Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Tue, 14 Oct 2025 09:06:04 -0600 Subject: [PATCH 2/5] removed some #nullable --- src/Microsoft.ComponentDetection.Common/AsyncExecution.cs | 1 - src/Microsoft.ComponentDetection.Common/Column.cs | 1 - src/Microsoft.ComponentDetection.Common/ComponentStream.cs | 1 - .../ComponentStreamEnumerable.cs | 1 - .../ComponentStreamEnumerableFactory.cs | 1 - .../ConsoleWritingService.cs | 1 - .../DependencyScopeComparer.cs | 1 - src/Microsoft.ComponentDetection.Common/DirectoryItemFacade.cs | 1 - .../DirectoryItemFacadeOptimized.cs | 1 - .../DirectoryUtilityService.cs | 1 - .../DockerReference/DigestUtility.cs | 2 +- .../DockerReference/DockerReferenceException.cs | 1 - .../DockerReference/DockerReferenceUtility.cs | 1 - .../DockerReference/DockerRegex.cs | 1 - src/Microsoft.ComponentDetection.Common/DockerService.cs | 1 - .../EnvironmentVariableService.cs | 1 - .../Exceptions/InvalidUserInputException.cs | 1 - src/Microsoft.ComponentDetection.Common/FileUtilityService.cs | 1 - src/Microsoft.ComponentDetection.Common/FileWritingService.cs | 1 - .../IConsoleWritingService.cs | 1 - src/Microsoft.ComponentDetection.Common/IFileWritingService.cs | 1 - .../ISafeFileEnumerableFactory.cs | 1 - src/Microsoft.ComponentDetection.Common/LazyComponentStream.cs | 1 - src/Microsoft.ComponentDetection.Common/MatchedFile.cs | 1 - src/Microsoft.ComponentDetection.Common/PathUtilityService.cs | 1 - .../PatternMatchingUtility.cs | 1 - src/Microsoft.ComponentDetection.Common/Resources.Designer.cs | 2 +- .../SafeFileEnumerableFactory.cs | 1 - src/Microsoft.ComponentDetection.Common/ScanType.cs | 1 - .../Telemetry/Attributes/MetricAttribute.cs | 1 - .../Telemetry/CommandLineTelemetryService.cs | 1 - .../Telemetry/ITelemetryService.cs | 1 - .../Telemetry/Records/BaseDetectionTelemetryRecord.cs | 1 - .../Telemetry/Records/BcdeExecutionTelemetryRecord.cs | 1 - .../Telemetry/Records/CommandLineInvocationTelemetryRecord.cs | 1 - .../Telemetry/Records/DependencyGraphTranslationRecord.cs | 2 +- .../Telemetry/Records/DetectedComponentScopeRecord.cs | 2 +- .../Telemetry/Records/DetectorExecutionTelemetryRecord.cs | 1 - .../Records/DockerServiceImageExistsLocallyTelemetryRecord.cs | 1 - .../Records/DockerServiceInspectImageTelemetryRecord.cs | 1 - .../Records/DockerServiceSystemInfoTelemetryRecord.cs | 1 - .../Telemetry/Records/DockerServiceTelemetryRecord.cs | 1 - .../Records/DockerServiceTryPullImageTelemetryRecord.cs | 1 - .../Telemetry/Records/FailedParsingFileRecord.cs | 2 +- .../Telemetry/Records/GoGraphTelemetryRecord.cs | 1 - .../Telemetry/Records/GoReplaceTelemetryRecord.cs | 1 - .../Telemetry/Records/IDetectionTelemetryRecord.cs | 1 - .../Telemetry/Records/InvalidParseVersionTelemetryRecord.cs | 2 +- .../Records/LinuxContainerDetectorImageDetectionFailed.cs | 2 +- .../Telemetry/Records/LinuxContainerDetectorLayerAwareness.cs | 2 +- .../LinuxContainerDetectorMissingRepoNameAndTagRecord.cs | 2 +- .../Telemetry/Records/LinuxContainerDetectorMissingVersion.cs | 2 +- .../Telemetry/Records/LinuxContainerDetectorTimeout.cs | 1 - .../Telemetry/Records/LinuxContainerDetectorUnsupportedOs.cs | 1 - .../Telemetry/Records/LinuxScannerSyftTelemetryRecord.cs | 1 - .../Telemetry/Records/LinuxScannerTelemetryRecord.cs | 1 - .../Telemetry/Records/LoadComponentDetectorsTelemetryRecord.cs | 1 - .../Telemetry/Records/NuGetProjectAssetsTelemetryRecord.cs | 1 - .../Telemetry/Records/PipReportFailureTelemetryRecord.cs | 1 - .../Telemetry/Records/PipReportSkipTelemetryRecord.cs | 1 - .../Telemetry/Records/PipReportTypeTelemetryRecord.cs | 1 - .../Telemetry/Records/PyPiCacheTelemetryRecord.cs | 1 - .../Telemetry/Records/PypiFailureTelemetryRecord.cs | 1 - .../Telemetry/Records/PypiMaxRetriesReachedTelemetryRecord.cs | 1 - .../Telemetry/Records/PypiRetryTelemetryRecord.cs | 1 - .../Telemetry/Records/RustCrateDetectorTelemetryRecord.cs | 1 - .../Telemetry/Records/RustGraphTelemetryRecord.cs | 1 - .../Telemetry/Records/SimplePypiCacheTelemetryRecord.cs | 1 - .../Telemetry/TelemetryConstants.cs | 1 - .../Telemetry/TelemetryMode.cs | 1 - .../Telemetry/TelemetryRelay.cs | 1 - .../Utilities/StringUtilities.cs | 2 +- src/Microsoft.ComponentDetection.Common/WarnOnAlertSeverity.cs | 1 - .../IEnvironmentVariableService.cs | 1 - .../ruby/RubyComponentDetector.cs | 2 -- .../swiftpm/Contracts/SwiftResolvedFile.cs | 2 +- .../swiftpm/SwiftResolvedComponentDetector.cs | 3 +-- .../ArgumentHelper.cs | 1 - .../Commands/BaseSettings.cs | 1 - .../Commands/Interceptor.cs | 1 - .../Commands/ListDetectorsCommand.cs | 1 - .../Commands/ListDetectorsSettings.cs | 1 - .../Commands/ScanCommand.cs | 1 - .../Commands/ScanSettings.cs | 1 - .../DetectorRestrictions.cs | 1 - .../DetectorRunResult.cs | 1 - .../Experiments/Configs/IExperimentConfiguration.cs | 1 - .../Experiments/Configs/RustSbomVsCliExperiment.cs | 1 - .../Experiments/Configs/RustSbomVsCrateExperiment.cs | 1 - .../Experiments/Configs/SimplePipExperiment.cs | 1 - .../Experiments/Configs/UvLockDetectorExperiment.cs | 1 - .../Experiments/DefaultExperimentProcessor.cs | 1 - .../Experiments/DetectorExperiments.cs | 1 - .../Experiments/ExperimentComponentComparer.cs | 1 - .../Experiments/ExperimentService.cs | 1 - .../Experiments/IExperimentProcessor.cs | 1 - .../Extensions/SemicolonDelimitedConverter.cs | 1 - .../Extensions/ServiceCollectionExtensions.cs | 1 - .../Extensions/TypeRegistrar.cs | 1 - .../IArgumentHelper.cs | 1 - .../LoggingEnricher.cs | 1 - .../Services/DetectorProcessingResult.cs | 1 - .../Services/DetectorProcessingService.cs | 1 - .../Services/DetectorRestrictionService.cs | 1 - .../GraphTranslation/DefaultGraphTranslationService.cs | 1 - .../Services/GraphTranslation/GraphTranslationUtility.cs | 1 - .../Services/GraphTranslation/IGraphTranslationService.cs | 1 - .../Services/IDetectorProcessingService.cs | 1 - .../Services/IDetectorRestrictionService.cs | 1 - .../Services/IScanExecutionService.cs | 1 - .../Services/ScanExecutionService.cs | 1 - src/Microsoft.ComponentDetection/Program.cs | 1 - 112 files changed, 13 insertions(+), 114 deletions(-) diff --git a/src/Microsoft.ComponentDetection.Common/AsyncExecution.cs b/src/Microsoft.ComponentDetection.Common/AsyncExecution.cs index e881afc94..c0728eec5 100644 --- a/src/Microsoft.ComponentDetection.Common/AsyncExecution.cs +++ b/src/Microsoft.ComponentDetection.Common/AsyncExecution.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common; using System; diff --git a/src/Microsoft.ComponentDetection.Common/Column.cs b/src/Microsoft.ComponentDetection.Common/Column.cs index d55f00044..4ce0cac20 100644 --- a/src/Microsoft.ComponentDetection.Common/Column.cs +++ b/src/Microsoft.ComponentDetection.Common/Column.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common; public class Column diff --git a/src/Microsoft.ComponentDetection.Common/ComponentStream.cs b/src/Microsoft.ComponentDetection.Common/ComponentStream.cs index 9d6530253..8c18db628 100644 --- a/src/Microsoft.ComponentDetection.Common/ComponentStream.cs +++ b/src/Microsoft.ComponentDetection.Common/ComponentStream.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common; using System.IO; diff --git a/src/Microsoft.ComponentDetection.Common/ComponentStreamEnumerable.cs b/src/Microsoft.ComponentDetection.Common/ComponentStreamEnumerable.cs index 2e3787bfd..ade05d0e7 100644 --- a/src/Microsoft.ComponentDetection.Common/ComponentStreamEnumerable.cs +++ b/src/Microsoft.ComponentDetection.Common/ComponentStreamEnumerable.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common; using System; diff --git a/src/Microsoft.ComponentDetection.Common/ComponentStreamEnumerableFactory.cs b/src/Microsoft.ComponentDetection.Common/ComponentStreamEnumerableFactory.cs index f895ff0c6..318394f23 100644 --- a/src/Microsoft.ComponentDetection.Common/ComponentStreamEnumerableFactory.cs +++ b/src/Microsoft.ComponentDetection.Common/ComponentStreamEnumerableFactory.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common; using System; diff --git a/src/Microsoft.ComponentDetection.Common/ConsoleWritingService.cs b/src/Microsoft.ComponentDetection.Common/ConsoleWritingService.cs index d0971c4ff..1edec9fb4 100644 --- a/src/Microsoft.ComponentDetection.Common/ConsoleWritingService.cs +++ b/src/Microsoft.ComponentDetection.Common/ConsoleWritingService.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common; using System; diff --git a/src/Microsoft.ComponentDetection.Common/DependencyScopeComparer.cs b/src/Microsoft.ComponentDetection.Common/DependencyScopeComparer.cs index 2dd3cb35f..79a0090a2 100644 --- a/src/Microsoft.ComponentDetection.Common/DependencyScopeComparer.cs +++ b/src/Microsoft.ComponentDetection.Common/DependencyScopeComparer.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common; using Microsoft.ComponentDetection.Contracts.BcdeModels; diff --git a/src/Microsoft.ComponentDetection.Common/DirectoryItemFacade.cs b/src/Microsoft.ComponentDetection.Common/DirectoryItemFacade.cs index e06863526..06dc41159 100644 --- a/src/Microsoft.ComponentDetection.Common/DirectoryItemFacade.cs +++ b/src/Microsoft.ComponentDetection.Common/DirectoryItemFacade.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Common/DirectoryItemFacadeOptimized.cs b/src/Microsoft.ComponentDetection.Common/DirectoryItemFacadeOptimized.cs index 85925b957..3dec36a80 100644 --- a/src/Microsoft.ComponentDetection.Common/DirectoryItemFacadeOptimized.cs +++ b/src/Microsoft.ComponentDetection.Common/DirectoryItemFacadeOptimized.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Common/DirectoryUtilityService.cs b/src/Microsoft.ComponentDetection.Common/DirectoryUtilityService.cs index 1c6f9c5ba..f0ae8f9b9 100644 --- a/src/Microsoft.ComponentDetection.Common/DirectoryUtilityService.cs +++ b/src/Microsoft.ComponentDetection.Common/DirectoryUtilityService.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Common/DockerReference/DigestUtility.cs b/src/Microsoft.ComponentDetection.Common/DockerReference/DigestUtility.cs index e24b71f23..fb3b75d7c 100644 --- a/src/Microsoft.ComponentDetection.Common/DockerReference/DigestUtility.cs +++ b/src/Microsoft.ComponentDetection.Common/DockerReference/DigestUtility.cs @@ -1,5 +1,5 @@ #nullable disable -namespace Microsoft.ComponentDetection.Common; +namespace Microsoft.ComponentDetection.Common.DockerReference; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Common/DockerReference/DockerReferenceException.cs b/src/Microsoft.ComponentDetection.Common/DockerReference/DockerReferenceException.cs index fae0fcb3d..07341d336 100644 --- a/src/Microsoft.ComponentDetection.Common/DockerReference/DockerReferenceException.cs +++ b/src/Microsoft.ComponentDetection.Common/DockerReference/DockerReferenceException.cs @@ -1,4 +1,3 @@ -#nullable disable #pragma warning disable SA1402 namespace Microsoft.ComponentDetection.Common; diff --git a/src/Microsoft.ComponentDetection.Common/DockerReference/DockerReferenceUtility.cs b/src/Microsoft.ComponentDetection.Common/DockerReference/DockerReferenceUtility.cs index 3688e44f0..715dfec40 100644 --- a/src/Microsoft.ComponentDetection.Common/DockerReference/DockerReferenceUtility.cs +++ b/src/Microsoft.ComponentDetection.Common/DockerReference/DockerReferenceUtility.cs @@ -1,5 +1,4 @@ #nullable disable - // transcribed from https://github.com/containers/image/blob/c1a5f92d0ebbf9e0bf187b3353dd400472b388eb/docker/reference/reference.go // Package reference provides a general type to represent any way of referencing images within the registry. diff --git a/src/Microsoft.ComponentDetection.Common/DockerReference/DockerRegex.cs b/src/Microsoft.ComponentDetection.Common/DockerReference/DockerRegex.cs index 1c0e85175..4e9af5a68 100644 --- a/src/Microsoft.ComponentDetection.Common/DockerReference/DockerRegex.cs +++ b/src/Microsoft.ComponentDetection.Common/DockerReference/DockerRegex.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common; using System.Linq; diff --git a/src/Microsoft.ComponentDetection.Common/DockerService.cs b/src/Microsoft.ComponentDetection.Common/DockerService.cs index d9b47e05b..a93f82eb8 100644 --- a/src/Microsoft.ComponentDetection.Common/DockerService.cs +++ b/src/Microsoft.ComponentDetection.Common/DockerService.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common; using System; diff --git a/src/Microsoft.ComponentDetection.Common/EnvironmentVariableService.cs b/src/Microsoft.ComponentDetection.Common/EnvironmentVariableService.cs index 188efb667..7ce1bed86 100644 --- a/src/Microsoft.ComponentDetection.Common/EnvironmentVariableService.cs +++ b/src/Microsoft.ComponentDetection.Common/EnvironmentVariableService.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common; using System; diff --git a/src/Microsoft.ComponentDetection.Common/Exceptions/InvalidUserInputException.cs b/src/Microsoft.ComponentDetection.Common/Exceptions/InvalidUserInputException.cs index 2b8a2cced..2e2db7bf3 100644 --- a/src/Microsoft.ComponentDetection.Common/Exceptions/InvalidUserInputException.cs +++ b/src/Microsoft.ComponentDetection.Common/Exceptions/InvalidUserInputException.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common.Exceptions; using System; diff --git a/src/Microsoft.ComponentDetection.Common/FileUtilityService.cs b/src/Microsoft.ComponentDetection.Common/FileUtilityService.cs index 6fc7857b5..af6ed4d2d 100644 --- a/src/Microsoft.ComponentDetection.Common/FileUtilityService.cs +++ b/src/Microsoft.ComponentDetection.Common/FileUtilityService.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Common/FileWritingService.cs b/src/Microsoft.ComponentDetection.Common/FileWritingService.cs index 0aff9fb7d..1c7f1aa7f 100644 --- a/src/Microsoft.ComponentDetection.Common/FileWritingService.cs +++ b/src/Microsoft.ComponentDetection.Common/FileWritingService.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common; using System; diff --git a/src/Microsoft.ComponentDetection.Common/IConsoleWritingService.cs b/src/Microsoft.ComponentDetection.Common/IConsoleWritingService.cs index a60ee2095..83d706346 100644 --- a/src/Microsoft.ComponentDetection.Common/IConsoleWritingService.cs +++ b/src/Microsoft.ComponentDetection.Common/IConsoleWritingService.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common; public interface IConsoleWritingService diff --git a/src/Microsoft.ComponentDetection.Common/IFileWritingService.cs b/src/Microsoft.ComponentDetection.Common/IFileWritingService.cs index ec62a3822..f192086a3 100644 --- a/src/Microsoft.ComponentDetection.Common/IFileWritingService.cs +++ b/src/Microsoft.ComponentDetection.Common/IFileWritingService.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common; using System; diff --git a/src/Microsoft.ComponentDetection.Common/ISafeFileEnumerableFactory.cs b/src/Microsoft.ComponentDetection.Common/ISafeFileEnumerableFactory.cs index df2a11aca..5cd277f43 100644 --- a/src/Microsoft.ComponentDetection.Common/ISafeFileEnumerableFactory.cs +++ b/src/Microsoft.ComponentDetection.Common/ISafeFileEnumerableFactory.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Common/LazyComponentStream.cs b/src/Microsoft.ComponentDetection.Common/LazyComponentStream.cs index d8f3cd81d..2a5f81b2b 100644 --- a/src/Microsoft.ComponentDetection.Common/LazyComponentStream.cs +++ b/src/Microsoft.ComponentDetection.Common/LazyComponentStream.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common; using System; diff --git a/src/Microsoft.ComponentDetection.Common/MatchedFile.cs b/src/Microsoft.ComponentDetection.Common/MatchedFile.cs index 1308692e7..8b8b6cc60 100644 --- a/src/Microsoft.ComponentDetection.Common/MatchedFile.cs +++ b/src/Microsoft.ComponentDetection.Common/MatchedFile.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common; using System.IO; diff --git a/src/Microsoft.ComponentDetection.Common/PathUtilityService.cs b/src/Microsoft.ComponentDetection.Common/PathUtilityService.cs index 27df98217..006d62e77 100644 --- a/src/Microsoft.ComponentDetection.Common/PathUtilityService.cs +++ b/src/Microsoft.ComponentDetection.Common/PathUtilityService.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common; using System; diff --git a/src/Microsoft.ComponentDetection.Common/PatternMatchingUtility.cs b/src/Microsoft.ComponentDetection.Common/PatternMatchingUtility.cs index 884e79375..d188a0956 100644 --- a/src/Microsoft.ComponentDetection.Common/PatternMatchingUtility.cs +++ b/src/Microsoft.ComponentDetection.Common/PatternMatchingUtility.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common; using System; diff --git a/src/Microsoft.ComponentDetection.Common/Resources.Designer.cs b/src/Microsoft.ComponentDetection.Common/Resources.Designer.cs index 303952038..82ed20a1b 100644 --- a/src/Microsoft.ComponentDetection.Common/Resources.Designer.cs +++ b/src/Microsoft.ComponentDetection.Common/Resources.Designer.cs @@ -79,4 +79,4 @@ internal static string MissingNodeInDependencyGraph { } } } -} +} \ No newline at end of file diff --git a/src/Microsoft.ComponentDetection.Common/SafeFileEnumerableFactory.cs b/src/Microsoft.ComponentDetection.Common/SafeFileEnumerableFactory.cs index 64344c123..6e67c065f 100644 --- a/src/Microsoft.ComponentDetection.Common/SafeFileEnumerableFactory.cs +++ b/src/Microsoft.ComponentDetection.Common/SafeFileEnumerableFactory.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Common/ScanType.cs b/src/Microsoft.ComponentDetection.Common/ScanType.cs index 4dcb1e506..b3a2d696e 100644 --- a/src/Microsoft.ComponentDetection.Common/ScanType.cs +++ b/src/Microsoft.ComponentDetection.Common/ScanType.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common; public enum ScanType diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Attributes/MetricAttribute.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Attributes/MetricAttribute.cs index 630e93244..e6ee53a22 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Attributes/MetricAttribute.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Attributes/MetricAttribute.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Attributes; using System; diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/CommandLineTelemetryService.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/CommandLineTelemetryService.cs index 3b85058f6..7fc21dc22 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/CommandLineTelemetryService.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/CommandLineTelemetryService.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry; using System; diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/ITelemetryService.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/ITelemetryService.cs index cfa8910fb..370c13d43 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/ITelemetryService.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/ITelemetryService.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry; using Microsoft.ComponentDetection.Common.Telemetry.Records; diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/BaseDetectionTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/BaseDetectionTelemetryRecord.cs index ce6689bb7..be3402694 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/BaseDetectionTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/BaseDetectionTelemetryRecord.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; using System; diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/BcdeExecutionTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/BcdeExecutionTelemetryRecord.cs index 348586980..69aefc6a9 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/BcdeExecutionTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/BcdeExecutionTelemetryRecord.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; using System; diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/CommandLineInvocationTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/CommandLineInvocationTelemetryRecord.cs index d44ae611a..e4745f7f5 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/CommandLineInvocationTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/CommandLineInvocationTelemetryRecord.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; using System; diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DependencyGraphTranslationRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DependencyGraphTranslationRecord.cs index 4c662f2a4..b8a77b672 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DependencyGraphTranslationRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DependencyGraphTranslationRecord.cs @@ -12,4 +12,4 @@ public class DependencyGraphTranslationRecord : BaseDetectionTelemetryRecord public TimeSpan? TimeToAddRoots { get; set; } public TimeSpan? TimeToAddAncestors { get; set; } -} +} \ No newline at end of file diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DetectedComponentScopeRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DetectedComponentScopeRecord.cs index e279d81d7..e98f6ff5f 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DetectedComponentScopeRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DetectedComponentScopeRecord.cs @@ -14,4 +14,4 @@ public void IncrementProvidedScopeCount() { this.MavenProvidedScopeCount++; } -} +} \ No newline at end of file diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DetectorExecutionTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DetectorExecutionTelemetryRecord.cs index c1e42c084..cbed3d3bc 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DetectorExecutionTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DetectorExecutionTelemetryRecord.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class DetectorExecutionTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceImageExistsLocallyTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceImageExistsLocallyTelemetryRecord.cs index 33d02afb2..7b268e40d 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceImageExistsLocallyTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceImageExistsLocallyTelemetryRecord.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class DockerServiceImageExistsLocallyTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceInspectImageTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceInspectImageTelemetryRecord.cs index 0fdf66ad2..19720ee36 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceInspectImageTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceInspectImageTelemetryRecord.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class DockerServiceInspectImageTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceSystemInfoTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceSystemInfoTelemetryRecord.cs index 6a6b6a33e..be32db82c 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceSystemInfoTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceSystemInfoTelemetryRecord.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class DockerServiceSystemInfoTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceTelemetryRecord.cs index c87f4594b..45ff09424 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceTelemetryRecord.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class DockerServiceTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceTryPullImageTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceTryPullImageTelemetryRecord.cs index a0bc47b3e..999127263 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceTryPullImageTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceTryPullImageTelemetryRecord.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class DockerServiceTryPullImageTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/FailedParsingFileRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/FailedParsingFileRecord.cs index 8dbc7985f..85350370c 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/FailedParsingFileRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/FailedParsingFileRecord.cs @@ -12,4 +12,4 @@ public class FailedParsingFileRecord : BaseDetectionTelemetryRecord public string ExceptionMessage { get; set; } public string StackTrace { get; set; } -} +} \ No newline at end of file diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/GoGraphTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/GoGraphTelemetryRecord.cs index 2a6f25cd2..46bf7b628 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/GoGraphTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/GoGraphTelemetryRecord.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class GoGraphTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/GoReplaceTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/GoReplaceTelemetryRecord.cs index ce96c1b7e..2edbd9684 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/GoReplaceTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/GoReplaceTelemetryRecord.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class GoReplaceTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/IDetectionTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/IDetectionTelemetryRecord.cs index 79488d66d..2056aff14 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/IDetectionTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/IDetectionTelemetryRecord.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; using System; diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/InvalidParseVersionTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/InvalidParseVersionTelemetryRecord.cs index 22f5cc906..03b75bf3d 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/InvalidParseVersionTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/InvalidParseVersionTelemetryRecord.cs @@ -12,4 +12,4 @@ public class InvalidParseVersionTelemetryRecord : BaseDetectionTelemetryRecord public string Version { get; set; } public string MaxVersion { get; set; } -} +} \ No newline at end of file diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorImageDetectionFailed.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorImageDetectionFailed.cs index ba9a15a90..209641afa 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorImageDetectionFailed.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorImageDetectionFailed.cs @@ -12,4 +12,4 @@ public class LinuxContainerDetectorImageDetectionFailed : BaseDetectionTelemetry public string ExceptionType { get; set; } public string StackTrace { get; set; } -} +} \ No newline at end of file diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorLayerAwareness.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorLayerAwareness.cs index dc464c56d..407a475a0 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorLayerAwareness.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorLayerAwareness.cs @@ -14,4 +14,4 @@ public class LinuxContainerDetectorLayerAwareness : BaseDetectionTelemetryRecord public int? LayerCount { get; set; } public string BaseImageLayerMessage { get; set; } -} +} \ No newline at end of file diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorMissingRepoNameAndTagRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorMissingRepoNameAndTagRecord.cs index c92ac0451..854223693 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorMissingRepoNameAndTagRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorMissingRepoNameAndTagRecord.cs @@ -4,4 +4,4 @@ namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class LinuxContainerDetectorMissingRepoNameAndTagRecord : BaseDetectionTelemetryRecord { public override string RecordName => "MissingRepoNameAndTag"; -} +} \ No newline at end of file diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorMissingVersion.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorMissingVersion.cs index 965ecfe36..51f1d239a 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorMissingVersion.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorMissingVersion.cs @@ -10,4 +10,4 @@ public class LinuxContainerDetectorMissingVersion : BaseDetectionTelemetryRecord public string Release { get; set; } public string[] PackageNames { get; set; } -} +} \ No newline at end of file diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorTimeout.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorTimeout.cs index 12477828a..4e91d6122 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorTimeout.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorTimeout.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class LinuxContainerDetectorTimeout : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorUnsupportedOs.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorUnsupportedOs.cs index 50d6ad352..59b61bd0c 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorUnsupportedOs.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorUnsupportedOs.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class LinuxContainerDetectorUnsupportedOs : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxScannerSyftTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxScannerSyftTelemetryRecord.cs index 676bd7be6..2adf58b42 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxScannerSyftTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxScannerSyftTelemetryRecord.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class LinuxScannerSyftTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxScannerTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxScannerTelemetryRecord.cs index 647d4bea5..b5d7ab5de 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxScannerTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxScannerTelemetryRecord.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class LinuxScannerTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LoadComponentDetectorsTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LoadComponentDetectorsTelemetryRecord.cs index 829286bf4..019ac304c 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LoadComponentDetectorsTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LoadComponentDetectorsTelemetryRecord.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class LoadComponentDetectorsTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/NuGetProjectAssetsTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/NuGetProjectAssetsTelemetryRecord.cs index a5ed51bbd..3759a402e 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/NuGetProjectAssetsTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/NuGetProjectAssetsTelemetryRecord.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; using System; diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PipReportFailureTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PipReportFailureTelemetryRecord.cs index 2206f2a1b..3f2a72d58 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PipReportFailureTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PipReportFailureTelemetryRecord.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class PipReportFailureTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PipReportSkipTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PipReportSkipTelemetryRecord.cs index 69c3092bf..845439b2a 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PipReportSkipTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PipReportSkipTelemetryRecord.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class PipReportSkipTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PipReportTypeTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PipReportTypeTelemetryRecord.cs index 2b1c6b8a8..ed5afee8e 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PipReportTypeTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PipReportTypeTelemetryRecord.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class PipReportTypeTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PyPiCacheTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PyPiCacheTelemetryRecord.cs index c5d01ad1f..ff0a5920e 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PyPiCacheTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PyPiCacheTelemetryRecord.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class PypiCacheTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PypiFailureTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PypiFailureTelemetryRecord.cs index 528011ffc..834d02d1d 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PypiFailureTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PypiFailureTelemetryRecord.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; using System.Net; diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PypiMaxRetriesReachedTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PypiMaxRetriesReachedTelemetryRecord.cs index b403aa1b9..e49973c54 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PypiMaxRetriesReachedTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PypiMaxRetriesReachedTelemetryRecord.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class PypiMaxRetriesReachedTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PypiRetryTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PypiRetryTelemetryRecord.cs index 8e1b1aca2..d60d18a07 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PypiRetryTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PypiRetryTelemetryRecord.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; using System.Net; diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/RustCrateDetectorTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/RustCrateDetectorTelemetryRecord.cs index dd0bc62a8..9ee6ef2c9 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/RustCrateDetectorTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/RustCrateDetectorTelemetryRecord.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class RustCrateDetectorTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/RustGraphTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/RustGraphTelemetryRecord.cs index 32e2ad0ad..92d92ef53 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/RustGraphTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/RustGraphTelemetryRecord.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class RustGraphTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/SimplePypiCacheTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/SimplePypiCacheTelemetryRecord.cs index 02117bc74..b615b82d7 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/SimplePypiCacheTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/SimplePypiCacheTelemetryRecord.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class SimplePypiCacheTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/TelemetryConstants.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/TelemetryConstants.cs index de3606180..1ba306666 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/TelemetryConstants.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/TelemetryConstants.cs @@ -1,4 +1,3 @@ -#nullable disable using System; using System.Runtime.CompilerServices; diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/TelemetryMode.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/TelemetryMode.cs index 30510ac7c..f68cc6702 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/TelemetryMode.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/TelemetryMode.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry; public enum TelemetryMode diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/TelemetryRelay.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/TelemetryRelay.cs index 39eb29d87..f5b3326d8 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/TelemetryRelay.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/TelemetryRelay.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry; using System; diff --git a/src/Microsoft.ComponentDetection.Common/Utilities/StringUtilities.cs b/src/Microsoft.ComponentDetection.Common/Utilities/StringUtilities.cs index 878e0c140..649f84cb7 100644 --- a/src/Microsoft.ComponentDetection.Common/Utilities/StringUtilities.cs +++ b/src/Microsoft.ComponentDetection.Common/Utilities/StringUtilities.cs @@ -1,5 +1,5 @@ #nullable disable -namespace Microsoft.ComponentDetection.Common; +namespace Microsoft.ComponentDetection.Common.Utilities; using System; using System.Text.RegularExpressions; diff --git a/src/Microsoft.ComponentDetection.Common/WarnOnAlertSeverity.cs b/src/Microsoft.ComponentDetection.Common/WarnOnAlertSeverity.cs index 77b524136..a66601bf0 100644 --- a/src/Microsoft.ComponentDetection.Common/WarnOnAlertSeverity.cs +++ b/src/Microsoft.ComponentDetection.Common/WarnOnAlertSeverity.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Common; public enum WarnOnAlertSeverity diff --git a/src/Microsoft.ComponentDetection.Contracts/IEnvironmentVariableService.cs b/src/Microsoft.ComponentDetection.Contracts/IEnvironmentVariableService.cs index 9a7573544..36918258d 100644 --- a/src/Microsoft.ComponentDetection.Contracts/IEnvironmentVariableService.cs +++ b/src/Microsoft.ComponentDetection.Contracts/IEnvironmentVariableService.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Contracts; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Detectors/ruby/RubyComponentDetector.cs b/src/Microsoft.ComponentDetection.Detectors/ruby/RubyComponentDetector.cs index 93d9b7f82..bda382044 100644 --- a/src/Microsoft.ComponentDetection.Detectors/ruby/RubyComponentDetector.cs +++ b/src/Microsoft.ComponentDetection.Detectors/ruby/RubyComponentDetector.cs @@ -1,5 +1,3 @@ -#nullable disable - // Ruby detection highlights and todos: // // Dependencies are "fuzzy versions": diff --git a/src/Microsoft.ComponentDetection.Detectors/swiftpm/Contracts/SwiftResolvedFile.cs b/src/Microsoft.ComponentDetection.Detectors/swiftpm/Contracts/SwiftResolvedFile.cs index 69c3e907b..9c85788e0 100644 --- a/src/Microsoft.ComponentDetection.Detectors/swiftpm/Contracts/SwiftResolvedFile.cs +++ b/src/Microsoft.ComponentDetection.Detectors/swiftpm/Contracts/SwiftResolvedFile.cs @@ -1,5 +1,5 @@ #nullable disable -namespace Microsoft.ComponentDetection.Contracts.TypedComponent; +namespace Microsoft.ComponentDetection.Detectors.SwiftPM.Contracts; using System.Collections.Generic; using Newtonsoft.Json; diff --git a/src/Microsoft.ComponentDetection.Detectors/swiftpm/SwiftResolvedComponentDetector.cs b/src/Microsoft.ComponentDetection.Detectors/swiftpm/SwiftResolvedComponentDetector.cs index ce6f4986c..04c5fd82e 100644 --- a/src/Microsoft.ComponentDetection.Detectors/swiftpm/SwiftResolvedComponentDetector.cs +++ b/src/Microsoft.ComponentDetection.Detectors/swiftpm/SwiftResolvedComponentDetector.cs @@ -1,5 +1,4 @@ -#nullable disable -namespace Microsoft.ComponentDetection.Detectors.Swift; +namespace Microsoft.ComponentDetection.Detectors.SwiftPM; using System; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/ArgumentHelper.cs b/src/Microsoft.ComponentDetection.Orchestrator/ArgumentHelper.cs index 4a71ef8e4..bbf0afe8a 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/ArgumentHelper.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/ArgumentHelper.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Orchestrator; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Commands/BaseSettings.cs b/src/Microsoft.ComponentDetection.Orchestrator/Commands/BaseSettings.cs index d50572264..eec348e92 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Commands/BaseSettings.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Commands/BaseSettings.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Commands; using System; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Commands/Interceptor.cs b/src/Microsoft.ComponentDetection.Orchestrator/Commands/Interceptor.cs index 3c8ffd42c..c48f60d3e 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Commands/Interceptor.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Commands/Interceptor.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Commands; using System; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Commands/ListDetectorsCommand.cs b/src/Microsoft.ComponentDetection.Orchestrator/Commands/ListDetectorsCommand.cs index 20b333781..c2b24e730 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Commands/ListDetectorsCommand.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Commands/ListDetectorsCommand.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Commands; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Commands/ListDetectorsSettings.cs b/src/Microsoft.ComponentDetection.Orchestrator/Commands/ListDetectorsSettings.cs index e450f2231..4877364f3 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Commands/ListDetectorsSettings.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Commands/ListDetectorsSettings.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Commands; /// diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Commands/ScanCommand.cs b/src/Microsoft.ComponentDetection.Orchestrator/Commands/ScanCommand.cs index 251e99b32..e2d7d39e0 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Commands/ScanCommand.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Commands/ScanCommand.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Commands; using System; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Commands/ScanSettings.cs b/src/Microsoft.ComponentDetection.Orchestrator/Commands/ScanSettings.cs index 0d027470e..d180c236e 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Commands/ScanSettings.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Commands/ScanSettings.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Commands; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/DetectorRestrictions.cs b/src/Microsoft.ComponentDetection.Orchestrator/DetectorRestrictions.cs index 9bb0ef820..51d59cb14 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/DetectorRestrictions.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/DetectorRestrictions.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Orchestrator; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/DetectorRunResult.cs b/src/Microsoft.ComponentDetection.Orchestrator/DetectorRunResult.cs index ae6a4724a..539dec49b 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/DetectorRunResult.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/DetectorRunResult.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Orchestrator; using System; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/IExperimentConfiguration.cs b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/IExperimentConfiguration.cs index 3cfc5c0b5..d5d01d803 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/IExperimentConfiguration.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/IExperimentConfiguration.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Experiments.Configs; using System.Threading.Tasks; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/RustSbomVsCliExperiment.cs b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/RustSbomVsCliExperiment.cs index d924c3248..08ebb1b35 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/RustSbomVsCliExperiment.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/RustSbomVsCliExperiment.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Experiments.Configs; using Microsoft.ComponentDetection.Contracts; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/RustSbomVsCrateExperiment.cs b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/RustSbomVsCrateExperiment.cs index cfa2fb1d6..4801ff2f7 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/RustSbomVsCrateExperiment.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/RustSbomVsCrateExperiment.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Experiments.Configs; using Microsoft.ComponentDetection.Contracts; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/SimplePipExperiment.cs b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/SimplePipExperiment.cs index 4f02754fa..4661823f2 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/SimplePipExperiment.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/SimplePipExperiment.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Experiments.Configs; using Microsoft.ComponentDetection.Contracts; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/UvLockDetectorExperiment.cs b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/UvLockDetectorExperiment.cs index ce8a3a882..c5053e4d8 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/UvLockDetectorExperiment.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/UvLockDetectorExperiment.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Experiments.Configs; using Microsoft.ComponentDetection.Contracts; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/DefaultExperimentProcessor.cs b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/DefaultExperimentProcessor.cs index 1c532fe8a..7172d786f 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/DefaultExperimentProcessor.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/DefaultExperimentProcessor.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Experiments; using System; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/DetectorExperiments.cs b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/DetectorExperiments.cs index 1b4d60b24..10561cd28 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/DetectorExperiments.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/DetectorExperiments.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Experiments; using System; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/ExperimentComponentComparer.cs b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/ExperimentComponentComparer.cs index ea4f4dcdd..d5d18682f 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/ExperimentComponentComparer.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/ExperimentComponentComparer.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Experiments; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/ExperimentService.cs b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/ExperimentService.cs index 4468199f0..d21433ba8 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/ExperimentService.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/ExperimentService.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Experiments; using System; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/IExperimentProcessor.cs b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/IExperimentProcessor.cs index efe5ff7bd..90430c980 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/IExperimentProcessor.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/IExperimentProcessor.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Experiments; using System.Threading.Tasks; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Extensions/SemicolonDelimitedConverter.cs b/src/Microsoft.ComponentDetection.Orchestrator/Extensions/SemicolonDelimitedConverter.cs index d2294c8f3..e382d26bd 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Extensions/SemicolonDelimitedConverter.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Extensions/SemicolonDelimitedConverter.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Extensions; using System; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Extensions/ServiceCollectionExtensions.cs b/src/Microsoft.ComponentDetection.Orchestrator/Extensions/ServiceCollectionExtensions.cs index a71056f21..dedf38dc3 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Extensions/ServiceCollectionExtensions.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Extensions/ServiceCollectionExtensions.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Extensions; using Microsoft.ComponentDetection.Common; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Extensions/TypeRegistrar.cs b/src/Microsoft.ComponentDetection.Orchestrator/Extensions/TypeRegistrar.cs index e9bcc8995..79299a74a 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Extensions/TypeRegistrar.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Extensions/TypeRegistrar.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Extensions; using System; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/IArgumentHelper.cs b/src/Microsoft.ComponentDetection.Orchestrator/IArgumentHelper.cs index f05c6c567..587b8a27c 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/IArgumentHelper.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/IArgumentHelper.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Orchestrator; using CommandLine; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/LoggingEnricher.cs b/src/Microsoft.ComponentDetection.Orchestrator/LoggingEnricher.cs index 3b1d153e0..23a9574d2 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/LoggingEnricher.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/LoggingEnricher.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Orchestrator; using Serilog.Core; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Services/DetectorProcessingResult.cs b/src/Microsoft.ComponentDetection.Orchestrator/Services/DetectorProcessingResult.cs index 95271845a..b77fad272 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Services/DetectorProcessingResult.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Services/DetectorProcessingResult.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Services; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Services/DetectorProcessingService.cs b/src/Microsoft.ComponentDetection.Orchestrator/Services/DetectorProcessingService.cs index 35ca61c5a..248c401d1 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Services/DetectorProcessingService.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Services/DetectorProcessingService.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Services; using System; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Services/DetectorRestrictionService.cs b/src/Microsoft.ComponentDetection.Orchestrator/Services/DetectorRestrictionService.cs index 61e08778e..958a5668d 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Services/DetectorRestrictionService.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Services/DetectorRestrictionService.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Services; using System; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Services/GraphTranslation/DefaultGraphTranslationService.cs b/src/Microsoft.ComponentDetection.Orchestrator/Services/GraphTranslation/DefaultGraphTranslationService.cs index 179c9303d..788b76181 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Services/GraphTranslation/DefaultGraphTranslationService.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Services/GraphTranslation/DefaultGraphTranslationService.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Services.GraphTranslation; using System; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Services/GraphTranslation/GraphTranslationUtility.cs b/src/Microsoft.ComponentDetection.Orchestrator/Services/GraphTranslation/GraphTranslationUtility.cs index 824153edf..8259f2626 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Services/GraphTranslation/GraphTranslationUtility.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Services/GraphTranslation/GraphTranslationUtility.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Services.GraphTranslation; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Services/GraphTranslation/IGraphTranslationService.cs b/src/Microsoft.ComponentDetection.Orchestrator/Services/GraphTranslation/IGraphTranslationService.cs index 84e647037..96457c260 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Services/GraphTranslation/IGraphTranslationService.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Services/GraphTranslation/IGraphTranslationService.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Services.GraphTranslation; using Microsoft.ComponentDetection.Contracts.BcdeModels; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Services/IDetectorProcessingService.cs b/src/Microsoft.ComponentDetection.Orchestrator/Services/IDetectorProcessingService.cs index 86d0836f3..748b676ad 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Services/IDetectorProcessingService.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Services/IDetectorProcessingService.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Services; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Services/IDetectorRestrictionService.cs b/src/Microsoft.ComponentDetection.Orchestrator/Services/IDetectorRestrictionService.cs index cf8ec8e4d..e3f788381 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Services/IDetectorRestrictionService.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Services/IDetectorRestrictionService.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Services; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Services/IScanExecutionService.cs b/src/Microsoft.ComponentDetection.Orchestrator/Services/IScanExecutionService.cs index 9758a5f51..6132b0628 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Services/IScanExecutionService.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Services/IScanExecutionService.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Services; using System.Threading.Tasks; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Services/ScanExecutionService.cs b/src/Microsoft.ComponentDetection.Orchestrator/Services/ScanExecutionService.cs index 0d9407f1a..94ef6f64b 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Services/ScanExecutionService.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Services/ScanExecutionService.cs @@ -1,4 +1,3 @@ -#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Services; using System; diff --git a/src/Microsoft.ComponentDetection/Program.cs b/src/Microsoft.ComponentDetection/Program.cs index 842d3cbad..1b044ad3e 100644 --- a/src/Microsoft.ComponentDetection/Program.cs +++ b/src/Microsoft.ComponentDetection/Program.cs @@ -1,4 +1,3 @@ -#nullable disable using System; using System.Diagnostics; using System.Linq; From 6d524846f1e9b99ef24f29fb2960bf068c2d8985 Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Tue, 14 Oct 2025 11:28:32 -0600 Subject: [PATCH 3/5] undo namespace changes --- .../DockerReference/DigestUtility.cs | 3 +-- .../Utilities/StringUtilities.cs | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Microsoft.ComponentDetection.Common/DockerReference/DigestUtility.cs b/src/Microsoft.ComponentDetection.Common/DockerReference/DigestUtility.cs index fb3b75d7c..b1871c487 100644 --- a/src/Microsoft.ComponentDetection.Common/DockerReference/DigestUtility.cs +++ b/src/Microsoft.ComponentDetection.Common/DockerReference/DigestUtility.cs @@ -1,5 +1,4 @@ -#nullable disable -namespace Microsoft.ComponentDetection.Common.DockerReference; +namespace Microsoft.ComponentDetection.Common; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Common/Utilities/StringUtilities.cs b/src/Microsoft.ComponentDetection.Common/Utilities/StringUtilities.cs index 649f84cb7..878e0c140 100644 --- a/src/Microsoft.ComponentDetection.Common/Utilities/StringUtilities.cs +++ b/src/Microsoft.ComponentDetection.Common/Utilities/StringUtilities.cs @@ -1,5 +1,5 @@ #nullable disable -namespace Microsoft.ComponentDetection.Common.Utilities; +namespace Microsoft.ComponentDetection.Common; using System; using System.Text.RegularExpressions; From a4b346191592126fb36f255ad3fc4547b6a4adf1 Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Tue, 14 Oct 2025 11:32:33 -0600 Subject: [PATCH 4/5] undo Copilot namespace changes --- .../swiftpm/Contracts/SwiftResolvedFile.cs | 2 +- .../swiftpm/SwiftResolvedComponentDetector.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Microsoft.ComponentDetection.Detectors/swiftpm/Contracts/SwiftResolvedFile.cs b/src/Microsoft.ComponentDetection.Detectors/swiftpm/Contracts/SwiftResolvedFile.cs index 9c85788e0..69c3e907b 100644 --- a/src/Microsoft.ComponentDetection.Detectors/swiftpm/Contracts/SwiftResolvedFile.cs +++ b/src/Microsoft.ComponentDetection.Detectors/swiftpm/Contracts/SwiftResolvedFile.cs @@ -1,5 +1,5 @@ #nullable disable -namespace Microsoft.ComponentDetection.Detectors.SwiftPM.Contracts; +namespace Microsoft.ComponentDetection.Contracts.TypedComponent; using System.Collections.Generic; using Newtonsoft.Json; diff --git a/src/Microsoft.ComponentDetection.Detectors/swiftpm/SwiftResolvedComponentDetector.cs b/src/Microsoft.ComponentDetection.Detectors/swiftpm/SwiftResolvedComponentDetector.cs index 04c5fd82e..eaa6becbd 100644 --- a/src/Microsoft.ComponentDetection.Detectors/swiftpm/SwiftResolvedComponentDetector.cs +++ b/src/Microsoft.ComponentDetection.Detectors/swiftpm/SwiftResolvedComponentDetector.cs @@ -1,4 +1,4 @@ -namespace Microsoft.ComponentDetection.Detectors.SwiftPM; +namespace Microsoft.ComponentDetection.Detectors.Swift; using System; using System.Collections.Generic; From e72f08c75a06752e6673638ded05d3e8c6c80e0a Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Tue, 14 Oct 2025 11:46:42 -0600 Subject: [PATCH 5/5] add back #nullable disables --- src/Microsoft.ComponentDetection.Common/Column.cs | 1 + src/Microsoft.ComponentDetection.Common/ComponentStream.cs | 1 + .../ComponentStreamEnumerable.cs | 1 + src/Microsoft.ComponentDetection.Common/DirectoryItemFacade.cs | 1 + .../DirectoryItemFacadeOptimized.cs | 1 + .../DockerReference/DockerReferenceUtility.cs | 1 - src/Microsoft.ComponentDetection.Common/DockerService.cs | 1 + .../EnvironmentVariableService.cs | 1 + src/Microsoft.ComponentDetection.Common/FileUtilityService.cs | 1 + src/Microsoft.ComponentDetection.Common/FileWritingService.cs | 1 + src/Microsoft.ComponentDetection.Common/MatchedFile.cs | 1 + src/Microsoft.ComponentDetection.Common/PathUtilityService.cs | 1 + .../PatternMatchingUtility.cs | 1 + .../SafeFileEnumerableFactory.cs | 1 + .../Telemetry/CommandLineTelemetryService.cs | 1 + .../Telemetry/Records/BcdeExecutionTelemetryRecord.cs | 1 + .../Telemetry/Records/CommandLineInvocationTelemetryRecord.cs | 1 + .../Telemetry/Records/DependencyGraphTranslationRecord.cs | 2 +- .../Telemetry/Records/DetectedComponentScopeRecord.cs | 2 +- .../Telemetry/Records/DetectorExecutionTelemetryRecord.cs | 1 + .../Records/DockerServiceImageExistsLocallyTelemetryRecord.cs | 1 + .../Records/DockerServiceInspectImageTelemetryRecord.cs | 1 + .../Telemetry/Records/DockerServiceSystemInfoTelemetryRecord.cs | 1 + .../Telemetry/Records/DockerServiceTelemetryRecord.cs | 1 + .../Records/DockerServiceTryPullImageTelemetryRecord.cs | 1 + .../Telemetry/Records/FailedParsingFileRecord.cs | 2 +- .../Telemetry/Records/GoGraphTelemetryRecord.cs | 1 + .../Telemetry/Records/GoReplaceTelemetryRecord.cs | 1 + .../Telemetry/Records/InvalidParseVersionTelemetryRecord.cs | 2 +- .../Records/LinuxContainerDetectorImageDetectionFailed.cs | 2 +- .../Telemetry/Records/LinuxContainerDetectorLayerAwareness.cs | 2 +- .../LinuxContainerDetectorMissingRepoNameAndTagRecord.cs | 2 +- .../Telemetry/Records/LinuxContainerDetectorMissingVersion.cs | 2 +- .../Telemetry/Records/LinuxContainerDetectorUnsupportedOs.cs | 1 + .../Telemetry/Records/LinuxScannerSyftTelemetryRecord.cs | 1 + .../Telemetry/Records/LinuxScannerTelemetryRecord.cs | 1 + .../Telemetry/Records/LoadComponentDetectorsTelemetryRecord.cs | 1 + .../Telemetry/Records/NuGetProjectAssetsTelemetryRecord.cs | 1 + .../Telemetry/Records/PipReportFailureTelemetryRecord.cs | 1 + .../Telemetry/Records/PipReportSkipTelemetryRecord.cs | 1 + .../Telemetry/Records/PipReportTypeTelemetryRecord.cs | 1 + .../Telemetry/Records/PypiFailureTelemetryRecord.cs | 1 + .../Telemetry/Records/PypiMaxRetriesReachedTelemetryRecord.cs | 1 + .../Telemetry/Records/PypiRetryTelemetryRecord.cs | 1 + .../Telemetry/Records/RustCrateDetectorTelemetryRecord.cs | 1 + .../Telemetry/Records/RustGraphTelemetryRecord.cs | 1 + .../ruby/RubyComponentDetector.cs | 2 ++ .../swiftpm/SwiftResolvedComponentDetector.cs | 1 + .../Commands/BaseSettings.cs | 1 + .../Commands/Interceptor.cs | 1 + .../Commands/ScanCommand.cs | 1 + .../Commands/ScanSettings.cs | 1 + .../DetectorRestrictions.cs | 1 + .../Experiments/ExperimentComponentComparer.cs | 1 + .../Experiments/ExperimentService.cs | 1 + .../Extensions/SemicolonDelimitedConverter.cs | 1 + .../Extensions/TypeRegistrar.cs | 1 + .../LoggingEnricher.cs | 1 + .../Services/DetectorProcessingResult.cs | 1 + .../Services/DetectorProcessingService.cs | 1 + .../Services/GraphTranslation/DefaultGraphTranslationService.cs | 1 + .../Services/GraphTranslation/GraphTranslationUtility.cs | 1 + src/Microsoft.ComponentDetection/Program.cs | 1 + 63 files changed, 63 insertions(+), 9 deletions(-) diff --git a/src/Microsoft.ComponentDetection.Common/Column.cs b/src/Microsoft.ComponentDetection.Common/Column.cs index 4ce0cac20..d55f00044 100644 --- a/src/Microsoft.ComponentDetection.Common/Column.cs +++ b/src/Microsoft.ComponentDetection.Common/Column.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; public class Column diff --git a/src/Microsoft.ComponentDetection.Common/ComponentStream.cs b/src/Microsoft.ComponentDetection.Common/ComponentStream.cs index 8c18db628..9d6530253 100644 --- a/src/Microsoft.ComponentDetection.Common/ComponentStream.cs +++ b/src/Microsoft.ComponentDetection.Common/ComponentStream.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; using System.IO; diff --git a/src/Microsoft.ComponentDetection.Common/ComponentStreamEnumerable.cs b/src/Microsoft.ComponentDetection.Common/ComponentStreamEnumerable.cs index ade05d0e7..2e3787bfd 100644 --- a/src/Microsoft.ComponentDetection.Common/ComponentStreamEnumerable.cs +++ b/src/Microsoft.ComponentDetection.Common/ComponentStreamEnumerable.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; using System; diff --git a/src/Microsoft.ComponentDetection.Common/DirectoryItemFacade.cs b/src/Microsoft.ComponentDetection.Common/DirectoryItemFacade.cs index 06dc41159..e06863526 100644 --- a/src/Microsoft.ComponentDetection.Common/DirectoryItemFacade.cs +++ b/src/Microsoft.ComponentDetection.Common/DirectoryItemFacade.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Common/DirectoryItemFacadeOptimized.cs b/src/Microsoft.ComponentDetection.Common/DirectoryItemFacadeOptimized.cs index 3dec36a80..85925b957 100644 --- a/src/Microsoft.ComponentDetection.Common/DirectoryItemFacadeOptimized.cs +++ b/src/Microsoft.ComponentDetection.Common/DirectoryItemFacadeOptimized.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Common/DockerReference/DockerReferenceUtility.cs b/src/Microsoft.ComponentDetection.Common/DockerReference/DockerReferenceUtility.cs index 715dfec40..022f8b612 100644 --- a/src/Microsoft.ComponentDetection.Common/DockerReference/DockerReferenceUtility.cs +++ b/src/Microsoft.ComponentDetection.Common/DockerReference/DockerReferenceUtility.cs @@ -1,4 +1,3 @@ -#nullable disable // transcribed from https://github.com/containers/image/blob/c1a5f92d0ebbf9e0bf187b3353dd400472b388eb/docker/reference/reference.go // Package reference provides a general type to represent any way of referencing images within the registry. diff --git a/src/Microsoft.ComponentDetection.Common/DockerService.cs b/src/Microsoft.ComponentDetection.Common/DockerService.cs index a93f82eb8..d9b47e05b 100644 --- a/src/Microsoft.ComponentDetection.Common/DockerService.cs +++ b/src/Microsoft.ComponentDetection.Common/DockerService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; using System; diff --git a/src/Microsoft.ComponentDetection.Common/EnvironmentVariableService.cs b/src/Microsoft.ComponentDetection.Common/EnvironmentVariableService.cs index 7ce1bed86..188efb667 100644 --- a/src/Microsoft.ComponentDetection.Common/EnvironmentVariableService.cs +++ b/src/Microsoft.ComponentDetection.Common/EnvironmentVariableService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; using System; diff --git a/src/Microsoft.ComponentDetection.Common/FileUtilityService.cs b/src/Microsoft.ComponentDetection.Common/FileUtilityService.cs index af6ed4d2d..6fc7857b5 100644 --- a/src/Microsoft.ComponentDetection.Common/FileUtilityService.cs +++ b/src/Microsoft.ComponentDetection.Common/FileUtilityService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Common/FileWritingService.cs b/src/Microsoft.ComponentDetection.Common/FileWritingService.cs index 1c7f1aa7f..0aff9fb7d 100644 --- a/src/Microsoft.ComponentDetection.Common/FileWritingService.cs +++ b/src/Microsoft.ComponentDetection.Common/FileWritingService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; using System; diff --git a/src/Microsoft.ComponentDetection.Common/MatchedFile.cs b/src/Microsoft.ComponentDetection.Common/MatchedFile.cs index 8b8b6cc60..1308692e7 100644 --- a/src/Microsoft.ComponentDetection.Common/MatchedFile.cs +++ b/src/Microsoft.ComponentDetection.Common/MatchedFile.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; using System.IO; diff --git a/src/Microsoft.ComponentDetection.Common/PathUtilityService.cs b/src/Microsoft.ComponentDetection.Common/PathUtilityService.cs index 006d62e77..27df98217 100644 --- a/src/Microsoft.ComponentDetection.Common/PathUtilityService.cs +++ b/src/Microsoft.ComponentDetection.Common/PathUtilityService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; using System; diff --git a/src/Microsoft.ComponentDetection.Common/PatternMatchingUtility.cs b/src/Microsoft.ComponentDetection.Common/PatternMatchingUtility.cs index d188a0956..884e79375 100644 --- a/src/Microsoft.ComponentDetection.Common/PatternMatchingUtility.cs +++ b/src/Microsoft.ComponentDetection.Common/PatternMatchingUtility.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; using System; diff --git a/src/Microsoft.ComponentDetection.Common/SafeFileEnumerableFactory.cs b/src/Microsoft.ComponentDetection.Common/SafeFileEnumerableFactory.cs index 6e67c065f..64344c123 100644 --- a/src/Microsoft.ComponentDetection.Common/SafeFileEnumerableFactory.cs +++ b/src/Microsoft.ComponentDetection.Common/SafeFileEnumerableFactory.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/CommandLineTelemetryService.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/CommandLineTelemetryService.cs index 7fc21dc22..3b85058f6 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/CommandLineTelemetryService.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/CommandLineTelemetryService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry; using System; diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/BcdeExecutionTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/BcdeExecutionTelemetryRecord.cs index 69aefc6a9..348586980 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/BcdeExecutionTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/BcdeExecutionTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; using System; diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/CommandLineInvocationTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/CommandLineInvocationTelemetryRecord.cs index e4745f7f5..d44ae611a 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/CommandLineInvocationTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/CommandLineInvocationTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; using System; diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DependencyGraphTranslationRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DependencyGraphTranslationRecord.cs index b8a77b672..4c662f2a4 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DependencyGraphTranslationRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DependencyGraphTranslationRecord.cs @@ -12,4 +12,4 @@ public class DependencyGraphTranslationRecord : BaseDetectionTelemetryRecord public TimeSpan? TimeToAddRoots { get; set; } public TimeSpan? TimeToAddAncestors { get; set; } -} \ No newline at end of file +} diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DetectedComponentScopeRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DetectedComponentScopeRecord.cs index e98f6ff5f..e279d81d7 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DetectedComponentScopeRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DetectedComponentScopeRecord.cs @@ -14,4 +14,4 @@ public void IncrementProvidedScopeCount() { this.MavenProvidedScopeCount++; } -} \ No newline at end of file +} diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DetectorExecutionTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DetectorExecutionTelemetryRecord.cs index cbed3d3bc..c1e42c084 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DetectorExecutionTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DetectorExecutionTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class DetectorExecutionTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceImageExistsLocallyTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceImageExistsLocallyTelemetryRecord.cs index 7b268e40d..33d02afb2 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceImageExistsLocallyTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceImageExistsLocallyTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class DockerServiceImageExistsLocallyTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceInspectImageTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceInspectImageTelemetryRecord.cs index 19720ee36..0fdf66ad2 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceInspectImageTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceInspectImageTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class DockerServiceInspectImageTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceSystemInfoTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceSystemInfoTelemetryRecord.cs index be32db82c..6a6b6a33e 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceSystemInfoTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceSystemInfoTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class DockerServiceSystemInfoTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceTelemetryRecord.cs index 45ff09424..c87f4594b 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class DockerServiceTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceTryPullImageTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceTryPullImageTelemetryRecord.cs index 999127263..a0bc47b3e 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceTryPullImageTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/DockerServiceTryPullImageTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class DockerServiceTryPullImageTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/FailedParsingFileRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/FailedParsingFileRecord.cs index 85350370c..8dbc7985f 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/FailedParsingFileRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/FailedParsingFileRecord.cs @@ -12,4 +12,4 @@ public class FailedParsingFileRecord : BaseDetectionTelemetryRecord public string ExceptionMessage { get; set; } public string StackTrace { get; set; } -} \ No newline at end of file +} diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/GoGraphTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/GoGraphTelemetryRecord.cs index 46bf7b628..2a6f25cd2 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/GoGraphTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/GoGraphTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class GoGraphTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/GoReplaceTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/GoReplaceTelemetryRecord.cs index 2edbd9684..ce96c1b7e 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/GoReplaceTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/GoReplaceTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class GoReplaceTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/InvalidParseVersionTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/InvalidParseVersionTelemetryRecord.cs index 03b75bf3d..22f5cc906 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/InvalidParseVersionTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/InvalidParseVersionTelemetryRecord.cs @@ -12,4 +12,4 @@ public class InvalidParseVersionTelemetryRecord : BaseDetectionTelemetryRecord public string Version { get; set; } public string MaxVersion { get; set; } -} \ No newline at end of file +} diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorImageDetectionFailed.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorImageDetectionFailed.cs index 209641afa..ba9a15a90 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorImageDetectionFailed.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorImageDetectionFailed.cs @@ -12,4 +12,4 @@ public class LinuxContainerDetectorImageDetectionFailed : BaseDetectionTelemetry public string ExceptionType { get; set; } public string StackTrace { get; set; } -} \ No newline at end of file +} diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorLayerAwareness.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorLayerAwareness.cs index 407a475a0..dc464c56d 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorLayerAwareness.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorLayerAwareness.cs @@ -14,4 +14,4 @@ public class LinuxContainerDetectorLayerAwareness : BaseDetectionTelemetryRecord public int? LayerCount { get; set; } public string BaseImageLayerMessage { get; set; } -} \ No newline at end of file +} diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorMissingRepoNameAndTagRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorMissingRepoNameAndTagRecord.cs index 854223693..c92ac0451 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorMissingRepoNameAndTagRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorMissingRepoNameAndTagRecord.cs @@ -4,4 +4,4 @@ namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class LinuxContainerDetectorMissingRepoNameAndTagRecord : BaseDetectionTelemetryRecord { public override string RecordName => "MissingRepoNameAndTag"; -} \ No newline at end of file +} diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorMissingVersion.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorMissingVersion.cs index 51f1d239a..965ecfe36 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorMissingVersion.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorMissingVersion.cs @@ -10,4 +10,4 @@ public class LinuxContainerDetectorMissingVersion : BaseDetectionTelemetryRecord public string Release { get; set; } public string[] PackageNames { get; set; } -} \ No newline at end of file +} diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorUnsupportedOs.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorUnsupportedOs.cs index 59b61bd0c..50d6ad352 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorUnsupportedOs.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxContainerDetectorUnsupportedOs.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class LinuxContainerDetectorUnsupportedOs : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxScannerSyftTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxScannerSyftTelemetryRecord.cs index 2adf58b42..676bd7be6 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxScannerSyftTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxScannerSyftTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class LinuxScannerSyftTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxScannerTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxScannerTelemetryRecord.cs index b5d7ab5de..647d4bea5 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxScannerTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LinuxScannerTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class LinuxScannerTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LoadComponentDetectorsTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LoadComponentDetectorsTelemetryRecord.cs index 019ac304c..829286bf4 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LoadComponentDetectorsTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/LoadComponentDetectorsTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class LoadComponentDetectorsTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/NuGetProjectAssetsTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/NuGetProjectAssetsTelemetryRecord.cs index 3759a402e..a5ed51bbd 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/NuGetProjectAssetsTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/NuGetProjectAssetsTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; using System; diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PipReportFailureTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PipReportFailureTelemetryRecord.cs index 3f2a72d58..2206f2a1b 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PipReportFailureTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PipReportFailureTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class PipReportFailureTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PipReportSkipTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PipReportSkipTelemetryRecord.cs index 845439b2a..69c3092bf 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PipReportSkipTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PipReportSkipTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class PipReportSkipTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PipReportTypeTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PipReportTypeTelemetryRecord.cs index ed5afee8e..2b1c6b8a8 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PipReportTypeTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PipReportTypeTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class PipReportTypeTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PypiFailureTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PypiFailureTelemetryRecord.cs index 834d02d1d..528011ffc 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PypiFailureTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PypiFailureTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; using System.Net; diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PypiMaxRetriesReachedTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PypiMaxRetriesReachedTelemetryRecord.cs index e49973c54..b403aa1b9 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PypiMaxRetriesReachedTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PypiMaxRetriesReachedTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class PypiMaxRetriesReachedTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PypiRetryTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PypiRetryTelemetryRecord.cs index d60d18a07..8e1b1aca2 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PypiRetryTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/PypiRetryTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; using System.Net; diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/RustCrateDetectorTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/RustCrateDetectorTelemetryRecord.cs index 9ee6ef2c9..dd0bc62a8 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/RustCrateDetectorTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/RustCrateDetectorTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class RustCrateDetectorTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/RustGraphTelemetryRecord.cs b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/RustGraphTelemetryRecord.cs index 92d92ef53..32e2ad0ad 100644 --- a/src/Microsoft.ComponentDetection.Common/Telemetry/Records/RustGraphTelemetryRecord.cs +++ b/src/Microsoft.ComponentDetection.Common/Telemetry/Records/RustGraphTelemetryRecord.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Common.Telemetry.Records; public class RustGraphTelemetryRecord : BaseDetectionTelemetryRecord diff --git a/src/Microsoft.ComponentDetection.Detectors/ruby/RubyComponentDetector.cs b/src/Microsoft.ComponentDetection.Detectors/ruby/RubyComponentDetector.cs index bda382044..93d9b7f82 100644 --- a/src/Microsoft.ComponentDetection.Detectors/ruby/RubyComponentDetector.cs +++ b/src/Microsoft.ComponentDetection.Detectors/ruby/RubyComponentDetector.cs @@ -1,3 +1,5 @@ +#nullable disable + // Ruby detection highlights and todos: // // Dependencies are "fuzzy versions": diff --git a/src/Microsoft.ComponentDetection.Detectors/swiftpm/SwiftResolvedComponentDetector.cs b/src/Microsoft.ComponentDetection.Detectors/swiftpm/SwiftResolvedComponentDetector.cs index eaa6becbd..ce6f4986c 100644 --- a/src/Microsoft.ComponentDetection.Detectors/swiftpm/SwiftResolvedComponentDetector.cs +++ b/src/Microsoft.ComponentDetection.Detectors/swiftpm/SwiftResolvedComponentDetector.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Detectors.Swift; using System; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Commands/BaseSettings.cs b/src/Microsoft.ComponentDetection.Orchestrator/Commands/BaseSettings.cs index eec348e92..d50572264 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Commands/BaseSettings.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Commands/BaseSettings.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Commands; using System; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Commands/Interceptor.cs b/src/Microsoft.ComponentDetection.Orchestrator/Commands/Interceptor.cs index c48f60d3e..3c8ffd42c 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Commands/Interceptor.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Commands/Interceptor.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Commands; using System; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Commands/ScanCommand.cs b/src/Microsoft.ComponentDetection.Orchestrator/Commands/ScanCommand.cs index e2d7d39e0..251e99b32 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Commands/ScanCommand.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Commands/ScanCommand.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Commands; using System; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Commands/ScanSettings.cs b/src/Microsoft.ComponentDetection.Orchestrator/Commands/ScanSettings.cs index d180c236e..0d027470e 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Commands/ScanSettings.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Commands/ScanSettings.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Commands; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/DetectorRestrictions.cs b/src/Microsoft.ComponentDetection.Orchestrator/DetectorRestrictions.cs index 51d59cb14..9bb0ef820 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/DetectorRestrictions.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/DetectorRestrictions.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/ExperimentComponentComparer.cs b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/ExperimentComponentComparer.cs index d5d18682f..ea4f4dcdd 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/ExperimentComponentComparer.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/ExperimentComponentComparer.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Experiments; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/ExperimentService.cs b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/ExperimentService.cs index d21433ba8..4468199f0 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Experiments/ExperimentService.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Experiments/ExperimentService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Experiments; using System; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Extensions/SemicolonDelimitedConverter.cs b/src/Microsoft.ComponentDetection.Orchestrator/Extensions/SemicolonDelimitedConverter.cs index e382d26bd..d2294c8f3 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Extensions/SemicolonDelimitedConverter.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Extensions/SemicolonDelimitedConverter.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Extensions; using System; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Extensions/TypeRegistrar.cs b/src/Microsoft.ComponentDetection.Orchestrator/Extensions/TypeRegistrar.cs index 79299a74a..e9bcc8995 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Extensions/TypeRegistrar.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Extensions/TypeRegistrar.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Extensions; using System; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/LoggingEnricher.cs b/src/Microsoft.ComponentDetection.Orchestrator/LoggingEnricher.cs index 23a9574d2..3b1d153e0 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/LoggingEnricher.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/LoggingEnricher.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator; using Serilog.Core; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Services/DetectorProcessingResult.cs b/src/Microsoft.ComponentDetection.Orchestrator/Services/DetectorProcessingResult.cs index b77fad272..95271845a 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Services/DetectorProcessingResult.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Services/DetectorProcessingResult.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Services; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Services/DetectorProcessingService.cs b/src/Microsoft.ComponentDetection.Orchestrator/Services/DetectorProcessingService.cs index 248c401d1..35ca61c5a 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Services/DetectorProcessingService.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Services/DetectorProcessingService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Services; using System; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Services/GraphTranslation/DefaultGraphTranslationService.cs b/src/Microsoft.ComponentDetection.Orchestrator/Services/GraphTranslation/DefaultGraphTranslationService.cs index 788b76181..179c9303d 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Services/GraphTranslation/DefaultGraphTranslationService.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Services/GraphTranslation/DefaultGraphTranslationService.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Services.GraphTranslation; using System; diff --git a/src/Microsoft.ComponentDetection.Orchestrator/Services/GraphTranslation/GraphTranslationUtility.cs b/src/Microsoft.ComponentDetection.Orchestrator/Services/GraphTranslation/GraphTranslationUtility.cs index 8259f2626..824153edf 100644 --- a/src/Microsoft.ComponentDetection.Orchestrator/Services/GraphTranslation/GraphTranslationUtility.cs +++ b/src/Microsoft.ComponentDetection.Orchestrator/Services/GraphTranslation/GraphTranslationUtility.cs @@ -1,3 +1,4 @@ +#nullable disable namespace Microsoft.ComponentDetection.Orchestrator.Services.GraphTranslation; using System.Collections.Generic; diff --git a/src/Microsoft.ComponentDetection/Program.cs b/src/Microsoft.ComponentDetection/Program.cs index 1b044ad3e..842d3cbad 100644 --- a/src/Microsoft.ComponentDetection/Program.cs +++ b/src/Microsoft.ComponentDetection/Program.cs @@ -1,3 +1,4 @@ +#nullable disable using System; using System.Diagnostics; using System.Linq;