diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c041cf336a7..39f081510c5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,11 +18,12 @@ jobs: build: strategy: matrix: - runtime: [ linux-x64, linux-arm64, linux-arm, win-x64, win-arm64, osx-x64, osx-arm64 ] + #runtime: [ linux-x64, linux-arm64, linux-arm, linux-s390x, win-x64, win-arm64, osx-x64, osx-arm64 ] + runtime: [ linux-arm64, linux-arm, linux-s390x, win-arm64, osx-arm64 ] include: - - runtime: linux-x64 - os: ubuntu-latest - devScript: ./dev.sh + # - runtime: linux-x64 + # os: ubuntu-latest + # devScript: ./dev.sh - runtime: linux-arm64 os: ubuntu-latest @@ -32,25 +33,32 @@ jobs: os: ubuntu-latest devScript: ./dev.sh - - runtime: osx-x64 - os: macOS-latest + - runtime: linux-s390x + os: ubuntu-latest devScript: ./dev.sh - runtime: osx-arm64 os: macOS-latest devScript: ./dev.sh - - runtime: win-x64 - os: windows-2019 - devScript: ./dev - - runtime: win-arm64 os: windows-latest devScript: ./dev runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + + - name: Get runner version + id: runnerInfo + uses: actions/github-script@v7 + with: + github-token: ${{secrets.GITHUB_TOKEN}} + script: | + const fs = require('fs'); + const runnerVersion = fs.readFileSync('src/runnerversion', 'utf8').replace(/\n$/g, '') + core.setOutput('version', runnerVersion); + core.setOutput('package_name', `actions-runner-${{ matrix.runtime }}-${runnerVersion}${{ startsWith(matrix.runtime, 'win') && '.zip' || '.tar.gz' }}`); # Build runner layout - name: Build & Layout Release @@ -63,13 +71,13 @@ jobs: run: | ${{ matrix.devScript }} test working-directory: src - if: matrix.runtime != 'linux-arm64' && matrix.runtime != 'linux-arm' && matrix.runtime != 'osx-arm64' && matrix.runtime != 'win-arm64' + if: matrix.runtime != 'linux-arm64' && matrix.runtime != 'linux-arm' && matrix.runtime != 'linux-s390x' && matrix.runtime != 'osx-arm64' && matrix.runtime != 'win-arm64' # Create runner package tar.gz/zip - name: Package Release if: github.event_name != 'pull_request' run: | - ${{ matrix.devScript }} package Release + ${{ matrix.devScript }} package Release ${{ matrix.runtime }} working-directory: src # Upload runner package tar.gz/zip as artifact @@ -78,5 +86,4 @@ jobs: uses: actions/upload-artifact@v4 with: name: runner-package-${{ matrix.runtime }} - path: | - _package + path: _package/${{ steps.runnerInfo.outputs.package_name }} diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 5b6e0523689..2f0d03dc7f7 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -23,7 +23,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/dotnet-upgrade.yml b/.github/workflows/dotnet-upgrade.yml index eb15e762e5f..8002b2a4cea 100644 --- a/.github/workflows/dotnet-upgrade.yml +++ b/.github/workflows/dotnet-upgrade.yml @@ -15,7 +15,7 @@ jobs: DOTNET_CURRENT_MAJOR_MINOR_VERSION: ${{ steps.fetch_current_version.outputs.DOTNET_CURRENT_MAJOR_MINOR_VERSION }} steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Get current major minor version id: fetch_current_version shell: bash @@ -48,7 +48,7 @@ jobs: echo "BRANCH_EXISTS=${branch_already_exists}" >> $GITHUB_OUTPUT - name: Create an error annotation if branch exists if: ${{ steps.fetch_latest_version.outputs.BRANCH_EXISTS == 1 }} - run: echo "::error links::feature/dotnet-sdk-upgrade${{ steps.fetch_latest_version.outputs.DOTNET_LATEST_MAJOR_MINOR_PATCH_VERSION }} https://github.com/actions/runner/tree/feature/dotnet-sdk-upgrade${{ steps.fetch_latest_version.outputs.DOTNET_LATEST_MAJOR_MINOR_PATCH_VERSION }}::Branch feature/dotnetsdk-upgrade/${{ steps.fetch_latest_version.outputs.DOTNET_LATEST_MAJOR_MINOR_PATCH_VERSION }} already exists. Please take a look and delete that branch if you wish to recreate" + run: echo "::error links::feature/dotnet-sdk-upgrade${{ steps.fetch_latest_version.outputs.DOTNET_LATEST_MAJOR_MINOR_PATCH_VERSION }} https://github.com/mattrwi/runner/tree/feature/dotnet-sdk-upgrade${{ steps.fetch_latest_version.outputs.DOTNET_LATEST_MAJOR_MINOR_PATCH_VERSION }}::Branch feature/dotnetsdk-upgrade/${{ steps.fetch_latest_version.outputs.DOTNET_LATEST_MAJOR_MINOR_PATCH_VERSION }} already exists. Please take a look and delete that branch if you wish to recreate" - name: Create a warning annotation if no need to update if: ${{ steps.fetch_latest_version.outputs.SHOULD_UPDATE == 0 && steps.fetch_latest_version.outputs.BRANCH_EXISTS == 0 }} run: echo "::warning ::Latest DotNet SDK patch is ${{ steps.fetch_latest_version.outputs.DOTNET_LATEST_MAJOR_MINOR_PATCH_VERSION }}, and we are on ${{ steps.fetch_latest_version.outputs.DOTNET_CURRENT_MAJOR_MINOR_PATCH_VERSION }}. No need to update" @@ -89,7 +89,7 @@ jobs: if: ${{ needs.dotnet-update.outputs.SHOULD_UPDATE == 1 && needs.dotnet-update.outputs.BRANCH_EXISTS == 0 }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: feature/dotnetsdk-upgrade/${{ needs.dotnet-update.outputs.DOTNET_LATEST_MAJOR_MINOR_PATCH_VERSION }} - name: Create Pull Request @@ -102,4 +102,4 @@ jobs: --- - Autogenerated by [DotNet SDK Upgrade Workflow](https://github.com/actions/runner/blob/main/.github/workflows/dotnet-upgrade.yml)" + Autogenerated by [DotNet SDK Upgrade Workflow](https://github.com/mattrwi/runner/blob/main/.github/workflows/dotnet-upgrade.yml)" diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b35bee3c7d9..9a5accb7ce5 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # Ensure full list of changed files within `super-linter` fetch-depth: 0 diff --git a/.github/workflows/publish-image.yml b/.github/workflows/publish-image.yml index 2932a268663..970122f22fb 100644 --- a/.github/workflows/publish-image.yml +++ b/.github/workflows/publish-image.yml @@ -20,7 +20,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Compute image version id: image @@ -66,5 +66,5 @@ jobs: push: true labels: | org.opencontainers.image.source=${{github.server_url}}/${{github.repository}} - org.opencontainers.image.description=https://github.com/actions/runner/releases/tag/v${{ steps.image.outputs.version }} + org.opencontainers.image.description=https://github.com/mattrwi/runner/releases/tag/v${{ steps.image.outputs.version }} org.opencontainers.image.licenses=MIT diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f4571b6cb8f..22430a293c6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,16 +11,15 @@ jobs: if: startsWith(github.ref, 'refs/heads/releases/') || github.ref == 'refs/heads/main' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 # Make sure ./releaseVersion match ./src/runnerversion # Query GitHub release ensure version is not used - name: Check version - uses: actions/github-script@0.3.0 + uses: actions/github-script@v7 with: github-token: ${{secrets.GITHUB_TOKEN}} script: | - const core = require('@actions/core') const fs = require('fs'); const runnerVersion = fs.readFileSync('${{ github.workspace }}/src/runnerversion', 'utf8').replace(/\n$/g, '') const releaseVersion = fs.readFileSync('${{ github.workspace }}/releaseVersion', 'utf8').replace(/\n$/g, '') @@ -30,7 +29,7 @@ jobs: return } try { - const release = await github.repos.getReleaseByTag({ + const release = await github.rest.repos.getReleaseByTag({ owner: '${{ github.event.repository.owner.name }}', repo: '${{ github.event.repository.name }}', tag: 'v' + runnerVersion @@ -53,9 +52,10 @@ jobs: win-arm64-sha: ${{ steps.sha.outputs.win-arm64-sha256 }} osx-x64-sha: ${{ steps.sha.outputs.osx-x64-sha256 }} osx-arm64-sha: ${{ steps.sha.outputs.osx-arm64-sha256 }} + linux-s390x-sha: ${{ steps.sha.outputs.linux-s390x-sha256 }} strategy: matrix: - runtime: [ linux-x64, linux-arm64, linux-arm, win-x64, osx-x64, osx-arm64, win-arm64 ] + runtime: [ linux-x64, linux-arm64, linux-arm, linux-s390x, win-x64, osx-x64, osx-arm64, win-arm64 ] include: - runtime: linux-x64 os: ubuntu-latest @@ -69,6 +69,10 @@ jobs: os: ubuntu-latest devScript: ./dev.sh + - runtime: linux-s390x + os: ubuntu-latest + devScript: ./dev.sh + - runtime: osx-x64 os: macOS-latest devScript: ./dev.sh @@ -87,7 +91,18 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + + - name: Get runner version + id: runnerInfo + uses: actions/github-script@v7 + with: + github-token: ${{secrets.GITHUB_TOKEN}} + script: | + const fs = require('fs'); + const runnerVersion = fs.readFileSync('src/runnerversion', 'utf8').replace(/\n$/g, '') + core.setOutput('version', runnerVersion); + core.setOutput('package_name', `actions-runner-${{ matrix.runtime }}-${runnerVersion}${{ startsWith(matrix.runtime, 'win') && '.zip' || '.tar.gz' }}`); # Build runner layout - name: Build & Layout Release @@ -106,10 +121,10 @@ jobs: - run: brew install coreutils #needed for shasum util if: ${{ matrix.os == 'macOS-latest' }} name: Install Dependencies for SHA Calculation (osx) + - run: | - file=$(ls) - sha=$(sha256sum $file | awk '{ print $1 }') - echo "Computed sha256: $sha for $file" + sha=$(sha256sum ${{ steps.runnerInfo.outputs.package_name }} | awk '{ print $1 }') + echo "Computed sha256: $sha for ${{ steps.runnerInfo.outputs.package_name }}" echo "${{matrix.runtime}}-sha256=$sha" >> $GITHUB_OUTPUT shell: bash id: sha @@ -126,11 +141,13 @@ jobs: _package release: + permissions: + contents: write needs: build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 # Download runner package tar.gz/zip produced by 'build' job - name: Download Artifact (win-x64) @@ -158,6 +175,11 @@ jobs: with: name: runner-packages-linux-x64 path: ./ + - name: Download Artifact (linux-s390x) + uses: actions/download-artifact@v4 + with: + name: runner-packages-linux-s390x + path: ./ - name: Download Artifact (linux-arm) uses: actions/download-artifact@v4 with: @@ -172,11 +194,10 @@ jobs: # Create ReleaseNote file - name: Create ReleaseNote id: releaseNote - uses: actions/github-script@0.3.0 + uses: actions/github-script@v7 with: github-token: ${{secrets.GITHUB_TOKEN}} script: | - const core = require('@actions/core') const fs = require('fs'); const runnerVersion = fs.readFileSync('${{ github.workspace }}/src/runnerversion', 'utf8').replace(/\n$/g, '') var releaseNote = fs.readFileSync('${{ github.workspace }}/releaseNote.md', 'utf8').replace(//g, runnerVersion) @@ -187,6 +208,7 @@ jobs: releaseNote = releaseNote.replace(//g, '${{needs.build.outputs.linux-x64-sha}}') releaseNote = releaseNote.replace(//g, '${{needs.build.outputs.linux-arm-sha}}') releaseNote = releaseNote.replace(//g, '${{needs.build.outputs.linux-arm64-sha}}') + releaseNote = releaseNote.replace(//g, '${{needs.build.outputs.linux-s390x-sha}}') console.log(releaseNote) core.setOutput('version', runnerVersion); core.setOutput('note', releaseNote); @@ -201,6 +223,7 @@ jobs: echo "${{needs.build.outputs.linux-x64-sha}} actions-runner-linux-x64-${{ steps.releaseNote.outputs.version }}.tar.gz" | shasum -a 256 -c echo "${{needs.build.outputs.linux-arm-sha}} actions-runner-linux-arm-${{ steps.releaseNote.outputs.version }}.tar.gz" | shasum -a 256 -c echo "${{needs.build.outputs.linux-arm64-sha}} actions-runner-linux-arm64-${{ steps.releaseNote.outputs.version }}.tar.gz" | shasum -a 256 -c + echo "${{needs.build.outputs.linux-s390x-sha}} actions-runner-linux-s390x-${{ steps.releaseNote.outputs.version }}.tar.gz" | shasum -a 256 -c # Create GitHub release - uses: actions/create-release@master @@ -285,6 +308,16 @@ jobs: asset_name: actions-runner-linux-arm64-${{ steps.releaseNote.outputs.version }}.tar.gz asset_content_type: application/octet-stream + - name: Upload Release Asset (linux-s390x) + uses: actions/upload-release-asset@v1.0.1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.createRelease.outputs.upload_url }} + asset_path: ${{ github.workspace }}/actions-runner-linux-s390x-${{ steps.releaseNote.outputs.version }}.tar.gz + asset_name: actions-runner-linux-s390x-${{ steps.releaseNote.outputs.version }}.tar.gz + asset_content_type: application/octet-stream + publish-image: needs: release runs-on: ubuntu-latest @@ -296,28 +329,28 @@ jobs: IMAGE_NAME: ${{ github.repository_owner }}/actions-runner steps: - name: Checkout repository - uses: actions/checkout@v3 - + uses: actions/checkout@v4 + - name: Compute image version id: image - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | const fs = require('fs'); const runnerVersion = fs.readFileSync('${{ github.workspace }}/releaseVersion', 'utf8').replace(/\n$/g, '') console.log(`Using runner version ${runnerVersion}`) core.setOutput('version', runnerVersion); - + - name: Setup Docker buildx uses: docker/setup-buildx-action@v2 - + - name: Log into registry ${{ env.REGISTRY }} uses: docker/login-action@v2 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - + - name: Build and push Docker image id: build-and-push uses: docker/build-push-action@v3 @@ -335,4 +368,4 @@ jobs: labels: | org.opencontainers.image.source=${{github.server_url}}/${{github.repository}} org.opencontainers.image.description=https://github.com/actions/runner/releases/tag/v${{ steps.image.outputs.version }} - org.opencontainers.image.licenses=MIT + org.opencontainers.image.licenses=MIT \ No newline at end of file diff --git a/README.md b/README.md index 7b79464264e..b169a94bc69 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ # GitHub Actions Runner -[![Actions Status](https://github.com/actions/runner/workflows/Runner%20CI/badge.svg)](https://github.com/actions/runner/actions) +[![Actions Status](https://github.com/mattrwi/runner/workflows/Runner%20CI/badge.svg)](https://github.com/mattrwi/runner/actions) The runner is the application that runs a job from a GitHub Actions workflow. It is used by GitHub Actions in the [hosted virtual environments](https://github.com/actions/virtual-environments), or you can [self-host the runner](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/about-self-hosted-runners) in your own environment. @@ -14,11 +14,11 @@ For more information about installing and using self-hosted runners, see [Adding Runner releases: -![win](docs/res/win_sm.png) [Pre-reqs](docs/start/envwin.md) | [Download](https://github.com/actions/runner/releases) +![win](docs/res/win_sm.png) [Pre-reqs](docs/start/envwin.md) | [Download](https://github.com/mattrwi/runner/releases) -![macOS](docs/res/apple_sm.png) [Pre-reqs](docs/start/envosx.md) | [Download](https://github.com/actions/runner/releases) +![macOS](docs/res/apple_sm.png) [Pre-reqs](docs/start/envosx.md) | [Download](https://github.com/mattrwi/runner/releases) -![linux](docs/res/linux_sm.png) [Pre-reqs](docs/start/envlinux.md) | [Download](https://github.com/actions/runner/releases) +![linux](docs/res/linux_sm.png) [Pre-reqs](docs/start/envlinux.md) | [Download](https://github.com/mattrwi/runner/releases) ## Contribute diff --git a/docs/start/envlinux.md b/docs/start/envlinux.md index f313debe37d..c13a6878597 100644 --- a/docs/start/envlinux.md +++ b/docs/start/envlinux.md @@ -6,16 +6,17 @@ Please see "[Supported architectures and operating systems for self-hosted runners](https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#linux)." -## Install .Net Core 3.x Linux Dependencies -The `./config.sh` will check .Net Core 3.x dependencies during runner configuration. +## Install .NET 6.0 Linux Dependencies + +The `./config.sh` will check .NET 6.0 dependencies during runner configuration. You might see something like this which indicate a dependency's missing. ```bash ./config.sh libunwind.so.8 => not found libunwind-x86_64.so.8 => not found -Dependencies is missing for Dotnet Core 6.0 -Execute ./bin/installdependencies.sh to install any missing Dotnet Core 6.0 dependencies. +Dependencies is missing for Dotnet 6.0 +Execute ./bin/installdependencies.sh to install any missing Dotnet 6.0 dependencies. ``` You can easily correct the problem by executing `./bin/installdependencies.sh`. The `installdependencies.sh` script should install all required dependencies on all supported Linux versions @@ -47,4 +48,4 @@ SUSE based OS (OpenSUSE, SUSE Enterprise) - zlib - libicu60_2 -## [More .Net Core Prerequisites Information](https://docs.microsoft.com/en-us/dotnet/core/linux-prerequisites?tabs=netcore2x) +## [More .Net Prerequisites Information](https://docs.microsoft.com/en-us/dotnet/core/linux-prerequisites?tabs=net6) diff --git a/images/Dockerfile b/images/Dockerfile index 7064053acfb..116f56fa542 100644 --- a/images/Dockerfile +++ b/images/Dockerfile @@ -13,7 +13,7 @@ RUN apt update -y && apt install curl unzip -y WORKDIR /actions-runner RUN export RUNNER_ARCH=${TARGETARCH} \ && if [ "$RUNNER_ARCH" = "amd64" ]; then export RUNNER_ARCH=x64 ; fi \ - && curl -f -L -o runner.tar.gz https://github.com/actions/runner/releases/download/v${RUNNER_VERSION}/actions-runner-${TARGETOS}-${RUNNER_ARCH}-${RUNNER_VERSION}.tar.gz \ + && curl -f -L -o runner.tar.gz https://github.com/mattrwi/runner/releases/download/v${RUNNER_VERSION}/actions-runner-${TARGETOS}-${RUNNER_ARCH}-${RUNNER_VERSION}.tar.gz \ && tar xzf ./runner.tar.gz \ && rm runner.tar.gz diff --git a/releaseNote.md b/releaseNote.md index 70d85af2dcd..5a9aadd7746 100644 --- a/releaseNote.md +++ b/releaseNote.md @@ -27,7 +27,7 @@ The following snipped needs to be run on `powershell`: # Create a folder under the drive root mkdir \actions-runner ; cd \actions-runner # Download the latest runner package -Invoke-WebRequest -Uri https://github.com/actions/runner/releases/download/v/actions-runner-win-x64-.zip -OutFile actions-runner-win-x64-.zip +Invoke-WebRequest -Uri https://github.com/mattrwi/runner/releases/download/v/actions-runner-win-x64-.zip -OutFile actions-runner-win-x64-.zip # Extract the installer Add-Type -AssemblyName System.IO.Compression.FileSystem ; [System.IO.Compression.ZipFile]::ExtractToDirectory("$PWD\actions-runner-win-x64-.zip", "$PWD") @@ -45,7 +45,7 @@ The following snipped needs to be run on `powershell`: # Create a folder under the drive root mkdir \actions-runner ; cd \actions-runner # Download the latest runner package -Invoke-WebRequest -Uri https://github.com/actions/runner/releases/download/v/actions-runner-win-arm64-.zip -OutFile actions-runner-win-arm64-.zip +Invoke-WebRequest -Uri https://github.com/mattrwi/runner/releases/download/v/actions-runner-win-arm64-.zip -OutFile actions-runner-win-arm64-.zip # Extract the installer Add-Type -AssemblyName System.IO.Compression.FileSystem ; [System.IO.Compression.ZipFile]::ExtractToDirectory("$PWD\actions-runner-win-arm64-.zip", "$PWD") @@ -57,7 +57,7 @@ Add-Type -AssemblyName System.IO.Compression.FileSystem ; # Create a folder mkdir actions-runner && cd actions-runner # Download the latest runner package -curl -O -L https://github.com/actions/runner/releases/download/v/actions-runner-osx-x64-.tar.gz +curl -O -L https://github.com/mattrwi/runner/releases/download/v/actions-runner-osx-x64-.tar.gz # Extract the installer tar xzf ./actions-runner-osx-x64-.tar.gz ``` @@ -68,7 +68,7 @@ tar xzf ./actions-runner-osx-x64-.tar.gz # Create a folder mkdir actions-runner && cd actions-runner # Download the latest runner package -curl -O -L https://github.com/actions/runner/releases/download/v/actions-runner-osx-arm64-.tar.gz +curl -O -L https://github.com/mattrwi/runner/releases/download/v/actions-runner-osx-arm64-.tar.gz # Extract the installer tar xzf ./actions-runner-osx-arm64-.tar.gz ``` @@ -79,7 +79,7 @@ tar xzf ./actions-runner-osx-arm64-.tar.gz # Create a folder mkdir actions-runner && cd actions-runner # Download the latest runner package -curl -O -L https://github.com/actions/runner/releases/download/v/actions-runner-linux-x64-.tar.gz +curl -O -L https://github.com/mattrwi/runner/releases/download/v/actions-runner-linux-x64-.tar.gz # Extract the installer tar xzf ./actions-runner-linux-x64-.tar.gz ``` @@ -90,7 +90,7 @@ tar xzf ./actions-runner-linux-x64-.tar.gz # Create a folder mkdir actions-runner && cd actions-runner # Download the latest runner package -curl -O -L https://github.com/actions/runner/releases/download/v/actions-runner-linux-arm64-.tar.gz +curl -O -L https://github.com/mattrwi/runner/releases/download/v/actions-runner-linux-arm64-.tar.gz # Extract the installer tar xzf ./actions-runner-linux-arm64-.tar.gz ``` @@ -101,11 +101,22 @@ tar xzf ./actions-runner-linux-arm64-.tar.gz # Create a folder mkdir actions-runner && cd actions-runner # Download the latest runner package -curl -O -L https://github.com/actions/runner/releases/download/v/actions-runner-linux-arm-.tar.gz +curl -O -L https://github.com/mattrwi/runner/releases/download/v/actions-runner-linux-arm-.tar.gz # Extract the installer tar xzf ./actions-runner-linux-arm-.tar.gz ``` +## [Experimental] Linux s390x + +``` bash +# Create a folder +mkdir actions-runner && cd actions-runner +# Download the latest runner package +curl -O -L https://github.com/mattrwi/runner/releases/download/v/actions-runner-linux-s390x-.tar.gz +# Extract the installer +tar xzf ./actions-runner-linux-s390x-.tar.gz +``` + ## Using your self hosted runner For additional details about configuring, running, or shutting down the runner please check out our [product docs.](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/adding-self-hosted-runners) @@ -121,3 +132,4 @@ The SHA-256 checksums for the packages included in this build are shown below: - actions-runner-linux-x64-.tar.gz - actions-runner-linux-arm64-.tar.gz - actions-runner-linux-arm-.tar.gz +- actions-runner-linux-s390x-.tar.gz diff --git a/releaseVersion b/releaseVersion index ef96e25e847..fa5cc81350f 100644 --- a/releaseVersion +++ b/releaseVersion @@ -1 +1 @@ - +2.314.1 \ No newline at end of file diff --git a/scripts/create-latest-svc.sh b/scripts/create-latest-svc.sh index 74b5a278dc3..b61172947a2 100755 --- a/scripts/create-latest-svc.sh +++ b/scripts/create-latest-svc.sh @@ -140,14 +140,14 @@ echo echo "Downloading latest runner ..." # For the GHES Alpha, download the runner from github.com -latest_version_label=$(curl -s -X GET 'https://api.github.com/repos/actions/runner/releases/latest' | jq -r '.tag_name') +latest_version_label=$(curl -s -X GET 'https://api.github.com/repos/mattrwi/runner/releases/latest' | jq -r '.tag_name') latest_version=$(echo ${latest_version_label:1}) runner_file="actions-runner-${runner_plat}-${runner_arch}-${latest_version}.tar.gz" if [ -f "${runner_file}" ]; then echo "${runner_file} exists. skipping download." else - runner_url="https://github.com/actions/runner/releases/download/${latest_version_label}/${runner_file}" + runner_url="https://github.com/mattrwi/runner/releases/download/${latest_version_label}/${runner_file}" echo "Downloading ${latest_version_label} for ${runner_plat} ..." echo $runner_url diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 9db5faca37a..9b23c42c3a9 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -1,4 +1,12 @@ + + net6.0 + win-x64;win-x86;linux-x64;linux-arm64;linux-arm;linux-s390x;osx-x64;osx-arm64;win-arm64 + true + false + true + + Windows @@ -44,6 +52,9 @@ $(DefineConstants);ARM64 + + $(DefineConstants);S390X + @@ -56,5 +67,6 @@ true + $(Version) diff --git a/src/Misc/contentHash/dotnetRuntime/linux-s390x b/src/Misc/contentHash/dotnetRuntime/linux-s390x new file mode 100644 index 00000000000..a9dfdd77a6b --- /dev/null +++ b/src/Misc/contentHash/dotnetRuntime/linux-s390x @@ -0,0 +1 @@ +8b7c4cb9dc65cc74bfe891a61b04ad8997711091e4c6a41ea443385ad41039da \ No newline at end of file diff --git a/src/Misc/contentHash/externals/linux-s390x b/src/Misc/contentHash/externals/linux-s390x new file mode 100644 index 00000000000..31a08b777da --- /dev/null +++ b/src/Misc/contentHash/externals/linux-s390x @@ -0,0 +1 @@ +17798a2318fc7b9303efa2417eef6c641983fb2930fd9a32a1b3f353f4e214b9 \ No newline at end of file diff --git a/src/Misc/expressionFunc/hashFiles/package.json b/src/Misc/expressionFunc/hashFiles/package.json index 69789bdfb67..80a86482c8c 100644 --- a/src/Misc/expressionFunc/hashFiles/package.json +++ b/src/Misc/expressionFunc/hashFiles/package.json @@ -15,7 +15,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/actions/runner.git" + "url": "git+https://github.com/mattrwi/runner.git" }, "keywords": [ "actions" diff --git a/src/Misc/externals.sh b/src/Misc/externals.sh index e057ecb218f..fffafc42738 100755 --- a/src/Misc/externals.sh +++ b/src/Misc/externals.sh @@ -190,3 +190,8 @@ if [[ "$PACKAGERUNTIME" == "linux-arm" ]]; then acquireExternalTool "$NODE_URL/v${NODE16_VERSION}/node-v${NODE16_VERSION}-linux-armv7l.tar.gz" node16 fix_nested_dir acquireExternalTool "$NODE_URL/v${NODE20_VERSION}/node-v${NODE20_VERSION}-linux-armv7l.tar.gz" node20 fix_nested_dir fi + +if [[ "$PACKAGERUNTIME" =~ .*-s390x$ ]]; then + acquireExternalTool "$NODE_URL/v${NODE16_VERSION}/node-v${NODE16_VERSION}-linux-s390x.tar.gz" node16 fix_nested_dir + acquireExternalTool "$NODE_URL/v${NODE20_VERSION}/node-v${NODE20_VERSION}-linux-s390x.tar.gz" node20 fix_nested_dir +fi diff --git a/src/Misc/layoutroot/config.sh b/src/Misc/layoutroot/config.sh index 14cc6bab0c3..642c09c52d9 100755 --- a/src/Misc/layoutroot/config.sh +++ b/src/Misc/layoutroot/config.sh @@ -8,7 +8,7 @@ if [ $user_id -eq 0 -a -z "$RUNNER_ALLOW_RUNASROOT" ]; then exit 1 fi -# Check dotnet Core 6.0 dependencies for Linux +# Check dotnet 6.0 dependencies for Linux if [[ (`uname` == "Linux") ]] then command -v ldd > /dev/null @@ -22,21 +22,21 @@ then ldd ./bin/libcoreclr.so | grep 'not found' if [ $? -eq 0 ]; then - echo "Dependencies is missing for Dotnet Core 6.0" + echo "Dependencies is missing for Dotnet 6.0" echo $message exit 1 fi ldd ./bin/libSystem.Security.Cryptography.Native.OpenSsl.so | grep 'not found' if [ $? -eq 0 ]; then - echo "Dependencies is missing for Dotnet Core 6.0" + echo "Dependencies is missing for Dotnet 6.0" echo $message exit 1 fi ldd ./bin/libSystem.IO.Compression.Native.so | grep 'not found' if [ $? -eq 0 ]; then - echo "Dependencies is missing for Dotnet Core 6.0" + echo "Dependencies is missing for Dotnet 6.0" echo $message exit 1 fi @@ -54,7 +54,7 @@ then libpath=${LD_LIBRARY_PATH:-} $LDCONFIG_COMMAND -NXv ${libpath//:/ } 2>&1 | grep libicu >/dev/null 2>&1 if [ $? -ne 0 ]; then - echo "Libicu's dependencies is missing for Dotnet Core 6.0" + echo "Libicu's dependencies is missing for Dotnet 6.0" echo $message exit 1 fi diff --git a/src/Misc/layoutroot/safe_sleep.sh b/src/Misc/layoutroot/safe_sleep.sh old mode 100644 new mode 100755 diff --git a/src/NuGet.Config b/src/NuGet.Config index 95143bd09a8..2751e44c388 100644 --- a/src/NuGet.Config +++ b/src/NuGet.Config @@ -4,5 +4,6 @@ + diff --git a/src/Runner.Common/ActionsRunServer.cs b/src/Runner.Common/ActionsRunServer.cs index 3ded580071d..d4a322e1638 100644 --- a/src/Runner.Common/ActionsRunServer.cs +++ b/src/Runner.Common/ActionsRunServer.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading; using System.Threading.Tasks; using GitHub.DistributedTask.Pipelines; diff --git a/src/Runner.Common/Constants.cs b/src/Runner.Common/Constants.cs index 383ec7a10f5..6882a7410e4 100644 --- a/src/Runner.Common/Constants.cs +++ b/src/Runner.Common/Constants.cs @@ -58,7 +58,8 @@ public enum Architecture X86, X64, Arm, - Arm64 + Arm64, + s390x } public static class Runner @@ -81,6 +82,8 @@ public static class Runner public static readonly Architecture PlatformArchitecture = Architecture.Arm; #elif ARM64 public static readonly Architecture PlatformArchitecture = Architecture.Arm64; +#elif S390X + public static readonly Architecture PlatformArchitecture = Architecture.s390x; #else public static readonly Architecture PlatformArchitecture = Architecture.X64; #endif diff --git a/src/Runner.Common/CredentialData.cs b/src/Runner.Common/CredentialData.cs index 86e93786a6e..b04356adf5e 100644 --- a/src/Runner.Common/CredentialData.cs +++ b/src/Runner.Common/CredentialData.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; namespace GitHub.Runner.Common diff --git a/src/Runner.Common/Exceptions.cs b/src/Runner.Common/Exceptions.cs index 83c6edd3fa4..2c783887392 100644 --- a/src/Runner.Common/Exceptions.cs +++ b/src/Runner.Common/Exceptions.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace GitHub.Runner.Common { diff --git a/src/Runner.Common/Extensions.cs b/src/Runner.Common/Extensions.cs index fce2e6c16e8..152867f4c68 100644 --- a/src/Runner.Common/Extensions.cs +++ b/src/Runner.Common/Extensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading; using System.Threading.Tasks; diff --git a/src/Runner.Common/IExtension.cs b/src/Runner.Common/IExtension.cs index 23c5158a601..29a3e89f9f7 100644 --- a/src/Runner.Common/IExtension.cs +++ b/src/Runner.Common/IExtension.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace GitHub.Runner.Common { diff --git a/src/Runner.Common/LocationServer.cs b/src/Runner.Common/LocationServer.cs index 25e09228332..90e4794d86f 100644 --- a/src/Runner.Common/LocationServer.cs +++ b/src/Runner.Common/LocationServer.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading.Tasks; using GitHub.Services.WebApi; using GitHub.Services.Location.Client; diff --git a/src/Runner.Common/ProcessChannel.cs b/src/Runner.Common/ProcessChannel.cs index d0e574681bd..59475e04d2c 100644 --- a/src/Runner.Common/ProcessChannel.cs +++ b/src/Runner.Common/ProcessChannel.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using System.IO.Pipes; using System.Threading; diff --git a/src/Runner.Common/ProcessExtensions.cs b/src/Runner.Common/ProcessExtensions.cs index 5ccda3e8abf..b5c0eed4668 100644 --- a/src/Runner.Common/ProcessExtensions.cs +++ b/src/Runner.Common/ProcessExtensions.cs @@ -1,4 +1,4 @@ -using GitHub.Runner.Common.Util; +using GitHub.Runner.Common.Util; using GitHub.Runner.Sdk; using System; using System.Collections.Concurrent; diff --git a/src/Runner.Common/Runner.Common.csproj b/src/Runner.Common/Runner.Common.csproj index 329a024aac6..ada7c8ff251 100644 --- a/src/Runner.Common/Runner.Common.csproj +++ b/src/Runner.Common/Runner.Common.csproj @@ -1,12 +1,8 @@ - net6.0 Library - win-x64;win-x86;linux-x64;linux-arm64;linux-arm;osx-x64;osx-arm64;win-arm64 - true NU1701;NU1603 - $(Version) diff --git a/src/Runner.Common/StreamString.cs b/src/Runner.Common/StreamString.cs index b09839cb25d..551e33cb128 100644 --- a/src/Runner.Common/StreamString.cs +++ b/src/Runner.Common/StreamString.cs @@ -1,4 +1,4 @@ -// Defines the data protocol for reading and writing strings on our stream +// Defines the data protocol for reading and writing strings on our stream using System; using System.IO; using System.Text; diff --git a/src/Runner.Common/Terminal.cs b/src/Runner.Common/Terminal.cs index 75489bc1853..6b05ef149a6 100644 --- a/src/Runner.Common/Terminal.cs +++ b/src/Runner.Common/Terminal.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; namespace GitHub.Runner.Common diff --git a/src/Runner.Common/TraceSetting.cs b/src/Runner.Common/TraceSetting.cs index 786a27210e8..d38df4bc4af 100644 --- a/src/Runner.Common/TraceSetting.cs +++ b/src/Runner.Common/TraceSetting.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Diagnostics; using System.Runtime.Serialization; diff --git a/src/Runner.Common/Util/EnumUtil.cs b/src/Runner.Common/Util/EnumUtil.cs index 7adbcd1efb3..d8c086551e9 100644 --- a/src/Runner.Common/Util/EnumUtil.cs +++ b/src/Runner.Common/Util/EnumUtil.cs @@ -1,4 +1,4 @@ -namespace GitHub.Runner.Common.Util +namespace GitHub.Runner.Common.Util { using System; diff --git a/src/Runner.Common/Util/PlanUtil.cs b/src/Runner.Common/Util/PlanUtil.cs index b5480ac8b4b..3dffd722a20 100644 --- a/src/Runner.Common/Util/PlanUtil.cs +++ b/src/Runner.Common/Util/PlanUtil.cs @@ -1,4 +1,4 @@ -using System; +using System; using GitHub.DistributedTask.WebApi; using GitHub.Runner.Sdk; diff --git a/src/Runner.Common/Util/TaskResultUtil.cs b/src/Runner.Common/Util/TaskResultUtil.cs index e82bb2896b9..0ade9d18357 100644 --- a/src/Runner.Common/Util/TaskResultUtil.cs +++ b/src/Runner.Common/Util/TaskResultUtil.cs @@ -1,4 +1,4 @@ -using GitHub.DistributedTask.WebApi; +using GitHub.DistributedTask.WebApi; using System; namespace GitHub.Runner.Common.Util diff --git a/src/Runner.Common/Util/UnixUtil.cs b/src/Runner.Common/Util/UnixUtil.cs index 3500b185648..66c57ab3818 100644 --- a/src/Runner.Common/Util/UnixUtil.cs +++ b/src/Runner.Common/Util/UnixUtil.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading; using System.Threading.Tasks; using GitHub.Runner.Sdk; diff --git a/src/Runner.Common/Util/VarUtil.cs b/src/Runner.Common/Util/VarUtil.cs index 97273a1adb3..bf8f861f9ce 100644 --- a/src/Runner.Common/Util/VarUtil.cs +++ b/src/Runner.Common/Util/VarUtil.cs @@ -53,6 +53,8 @@ public static string OSArchitecture return "ARM"; case Constants.Architecture.Arm64: return "ARM64"; + case Constants.Architecture.s390x: + return "S390X"; default: throw new NotSupportedException(); // Should never reach here. } diff --git a/src/Runner.Listener/Configuration/CredentialProvider.cs b/src/Runner.Listener/Configuration/CredentialProvider.cs index def579a0daf..c47cdabf0c3 100644 --- a/src/Runner.Listener/Configuration/CredentialProvider.cs +++ b/src/Runner.Listener/Configuration/CredentialProvider.cs @@ -1,4 +1,4 @@ -using System; +using System; using GitHub.Services.Common; using GitHub.Runner.Common; using GitHub.Runner.Sdk; diff --git a/src/Runner.Listener/Configuration/IRSAKeyManager.cs b/src/Runner.Listener/Configuration/IRSAKeyManager.cs index 65e9b4ea03c..bd71fb1d1c9 100644 --- a/src/Runner.Listener/Configuration/IRSAKeyManager.cs +++ b/src/Runner.Listener/Configuration/IRSAKeyManager.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.Serialization; using System.Security.Cryptography; using GitHub.Runner.Common; diff --git a/src/Runner.Listener/Configuration/OAuthCredential.cs b/src/Runner.Listener/Configuration/OAuthCredential.cs index a0d2042b95f..191e38c82fe 100644 --- a/src/Runner.Listener/Configuration/OAuthCredential.cs +++ b/src/Runner.Listener/Configuration/OAuthCredential.cs @@ -1,4 +1,4 @@ -using System; +using System; using GitHub.Runner.Common; using GitHub.Runner.Sdk; using GitHub.Services.Common; diff --git a/src/Runner.Listener/Configuration/OsxServiceControlManager.cs b/src/Runner.Listener/Configuration/OsxServiceControlManager.cs index 7063de5832e..b8ce5ccfdb1 100644 --- a/src/Runner.Listener/Configuration/OsxServiceControlManager.cs +++ b/src/Runner.Listener/Configuration/OsxServiceControlManager.cs @@ -1,4 +1,4 @@ -#if OS_OSX +#if OS_OSX using System; using System.IO; using System.Collections.Generic; diff --git a/src/Runner.Listener/Program.cs b/src/Runner.Listener/Program.cs index a6bdce62ce8..25f61bf5d7f 100644 --- a/src/Runner.Listener/Program.cs +++ b/src/Runner.Listener/Program.cs @@ -173,7 +173,10 @@ private static void LoadAndSetEnv() { envValue = env.Substring(separatorIndex + 1); } - + if (!string.IsNullOrEmpty(envValue)) + { + envValue = Environment.ExpandEnvironmentVariables(envValue); + } Environment.SetEnvironmentVariable(envKey, envValue); } } diff --git a/src/Runner.Listener/Runner.Listener.csproj b/src/Runner.Listener/Runner.Listener.csproj index 3cd72ec61f8..a2c3919bdc4 100644 --- a/src/Runner.Listener/Runner.Listener.csproj +++ b/src/Runner.Listener/Runner.Listener.csproj @@ -1,14 +1,8 @@ - net6.0 Exe - win-x64;win-x86;linux-x64;linux-arm64;linux-arm;osx-x64;osx-arm64;win-arm64 - true NU1701;NU1603 - $(Version) - false - true diff --git a/src/Runner.PluginHost/Runner.PluginHost.csproj b/src/Runner.PluginHost/Runner.PluginHost.csproj index df30f3450a2..c8bc37f4076 100644 --- a/src/Runner.PluginHost/Runner.PluginHost.csproj +++ b/src/Runner.PluginHost/Runner.PluginHost.csproj @@ -1,14 +1,8 @@  - net6.0 Exe - win-x64;win-x86;linux-x64;linux-arm64;linux-arm;osx-x64;osx-arm64;win-arm64 - true NU1701;NU1603 - $(Version) - false - true diff --git a/src/Runner.Plugins/Artifact/DownloadArtifact.cs b/src/Runner.Plugins/Artifact/DownloadArtifact.cs index 81f654cfb74..691a702bab1 100644 --- a/src/Runner.Plugins/Artifact/DownloadArtifact.cs +++ b/src/Runner.Plugins/Artifact/DownloadArtifact.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.IO; using System.Threading; diff --git a/src/Runner.Plugins/Artifact/FileContainerServer.cs b/src/Runner.Plugins/Artifact/FileContainerServer.cs index d924ae59b45..019524d77c5 100644 --- a/src/Runner.Plugins/Artifact/FileContainerServer.cs +++ b/src/Runner.Plugins/Artifact/FileContainerServer.cs @@ -1,4 +1,4 @@ -using GitHub.Services.FileContainer.Client; +using GitHub.Services.FileContainer.Client; using System; using System.Collections.Concurrent; using System.Collections.Generic; diff --git a/src/Runner.Plugins/Repository/GitCliManager.cs b/src/Runner.Plugins/Repository/GitCliManager.cs index 5a0790e7f9c..646dd7f26cc 100644 --- a/src/Runner.Plugins/Repository/GitCliManager.cs +++ b/src/Runner.Plugins/Repository/GitCliManager.cs @@ -103,7 +103,7 @@ public async Task LoadGitExecutionInfo(RunnerActionPluginExecutionContext contex } // Set the user agent. - string gitHttpUserAgentEnv = $"git/{gitVersion.ToString()} (github-actions-runner-git/{BuildConstants.RunnerPackage.Version})"; + string gitHttpUserAgentEnv = $"git/{gitVersion.ToString()} (runner-git/{BuildConstants.RunnerPackage.Version})"; context.Debug($"Set git useragent to: {gitHttpUserAgentEnv}."); gitEnv["GIT_HTTP_USER_AGENT"] = gitHttpUserAgentEnv; } diff --git a/src/Runner.Plugins/Runner.Plugins.csproj b/src/Runner.Plugins/Runner.Plugins.csproj index 39245a3f7a7..5064c0d7653 100644 --- a/src/Runner.Plugins/Runner.Plugins.csproj +++ b/src/Runner.Plugins/Runner.Plugins.csproj @@ -1,12 +1,8 @@ - + - net6.0 Library - win-x64;win-x86;linux-x64;linux-arm64;linux-arm;osx-x64;osx-arm64;win-arm64 - true NU1701;NU1603 - $(Version) diff --git a/src/Runner.Sdk/ITraceWriter.cs b/src/Runner.Sdk/ITraceWriter.cs index 16ff372f72b..0d2fc795b12 100644 --- a/src/Runner.Sdk/ITraceWriter.cs +++ b/src/Runner.Sdk/ITraceWriter.cs @@ -1,4 +1,4 @@ -namespace GitHub.Runner.Sdk +namespace GitHub.Runner.Sdk { public interface ITraceWriter { diff --git a/src/Runner.Sdk/Runner.Sdk.csproj b/src/Runner.Sdk/Runner.Sdk.csproj index 202e8669a64..f383e64efef 100644 --- a/src/Runner.Sdk/Runner.Sdk.csproj +++ b/src/Runner.Sdk/Runner.Sdk.csproj @@ -1,12 +1,8 @@ - + - net6.0 Library - win-x64;win-x86;linux-x64;linux-arm64;linux-arm;osx-x64;osx-arm64;win-arm64 - true NU1701;NU1603 - $(Version) diff --git a/src/Runner.Sdk/SdkConstants.cs b/src/Runner.Sdk/SdkConstants.cs index e8f5fb48b34..7c208af058e 100644 --- a/src/Runner.Sdk/SdkConstants.cs +++ b/src/Runner.Sdk/SdkConstants.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace GitHub.Runner.Sdk { diff --git a/src/Runner.Service/Windows/Program.cs b/src/Runner.Service/Windows/Program.cs index 88548f1dde0..06f0fae708f 100644 --- a/src/Runner.Service/Windows/Program.cs +++ b/src/Runner.Service/Windows/Program.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ServiceProcess; using System.Diagnostics; using System.ComponentModel; diff --git a/src/Runner.Service/Windows/Properties/AssemblyInfo.cs b/src/Runner.Service/Windows/Properties/AssemblyInfo.cs index d3749bd52a2..ea56f5c2f9c 100644 --- a/src/Runner.Service/Windows/Properties/AssemblyInfo.cs +++ b/src/Runner.Service/Windows/Properties/AssemblyInfo.cs @@ -1,4 +1,4 @@ -using System.Reflection; +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/src/Runner.Service/Windows/RunnerService.cs b/src/Runner.Service/Windows/RunnerService.cs index ca2652f624e..f9b0eb35585 100644 --- a/src/Runner.Service/Windows/RunnerService.cs +++ b/src/Runner.Service/Windows/RunnerService.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.Diagnostics; using System.Globalization; diff --git a/src/Runner.Worker/Container/ContainerHooks/ContainerHookManager.cs b/src/Runner.Worker/Container/ContainerHooks/ContainerHookManager.cs index cf4bdfa1b8c..4a249392214 100644 --- a/src/Runner.Worker/Container/ContainerHooks/ContainerHookManager.cs +++ b/src/Runner.Worker/Container/ContainerHooks/ContainerHookManager.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.IO; using System.Linq; diff --git a/src/Runner.Worker/Container/ContainerInfo.cs b/src/Runner.Worker/Container/ContainerInfo.cs index 72cd0ada992..96e3bd2678b 100644 --- a/src/Runner.Worker/Container/ContainerInfo.cs +++ b/src/Runner.Worker/Container/ContainerInfo.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.IO; using GitHub.Runner.Common; diff --git a/src/Runner.Worker/Container/DockerUtil.cs b/src/Runner.Worker/Container/DockerUtil.cs index 8eb922493f9..918848989de 100644 --- a/src/Runner.Worker/Container/DockerUtil.cs +++ b/src/Runner.Worker/Container/DockerUtil.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; diff --git a/src/Runner.Worker/ContainerOperationProvider.cs b/src/Runner.Worker/ContainerOperationProvider.cs index c5cccb77ef0..535fd61695a 100644 --- a/src/Runner.Worker/ContainerOperationProvider.cs +++ b/src/Runner.Worker/ContainerOperationProvider.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using System.IO; +using System.Reflection; using System.Threading.Tasks; using System.Linq; using System.Threading; @@ -321,8 +322,13 @@ private void MountWellKnownDirectories(IExecutionContext executionContext, Conta container.ContainerWorkDirectory = container.TranslateToContainerPath(workingDirectory); if (!FeatureManager.IsContainerHooksEnabled(executionContext.Global.Variables)) { +#if OS_WINDOWS + container.ContainerEntryPoint = "ping"; + container.ContainerEntryPointArgs = "\"-t\" \"localhost\""; +#else container.ContainerEntryPoint = "tail"; container.ContainerEntryPointArgs = "\"-f\" \"/dev/null\""; +#endif } } @@ -355,7 +361,6 @@ private async Task StopContainerAsync(IExecutionContext executionContext, Contai } } -#if !OS_WINDOWS private async Task> ExecuteCommandAsync(IExecutionContext context, string command, string arg) { context.Command($"{command} {arg}"); @@ -401,7 +406,6 @@ await processInvoker.ExecuteAsync( return outputs; } -#endif private async Task CreateContainerNetworkAsync(IExecutionContext executionContext, string network) { diff --git a/src/Runner.Worker/Expressions/AlwaysFunction.cs b/src/Runner.Worker/Expressions/AlwaysFunction.cs index 1101e191707..11935ded511 100644 --- a/src/Runner.Worker/Expressions/AlwaysFunction.cs +++ b/src/Runner.Worker/Expressions/AlwaysFunction.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections; using System.Collections.Generic; using System.Linq; diff --git a/src/Runner.Worker/Expressions/CancelledFunction.cs b/src/Runner.Worker/Expressions/CancelledFunction.cs index ae676e8d69b..eac969b74a7 100644 --- a/src/Runner.Worker/Expressions/CancelledFunction.cs +++ b/src/Runner.Worker/Expressions/CancelledFunction.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections; using System.Collections.Generic; using System.Linq; diff --git a/src/Runner.Worker/Expressions/FailureFunction.cs b/src/Runner.Worker/Expressions/FailureFunction.cs index c1c5f1be4c2..06a3939f10a 100644 --- a/src/Runner.Worker/Expressions/FailureFunction.cs +++ b/src/Runner.Worker/Expressions/FailureFunction.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections; using System.Collections.Generic; using System.Linq; diff --git a/src/Runner.Worker/Expressions/SuccessFunction.cs b/src/Runner.Worker/Expressions/SuccessFunction.cs index 6fcc41b799c..66918d4b900 100644 --- a/src/Runner.Worker/Expressions/SuccessFunction.cs +++ b/src/Runner.Worker/Expressions/SuccessFunction.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections; using System.Collections.Generic; using System.Linq; diff --git a/src/Runner.Worker/FeatureManager.cs b/src/Runner.Worker/FeatureManager.cs index 98f49e8fd5f..a4ddb07ad23 100644 --- a/src/Runner.Worker/FeatureManager.cs +++ b/src/Runner.Worker/FeatureManager.cs @@ -1,4 +1,4 @@ -using System; +using System; using GitHub.Runner.Common; namespace GitHub.Runner.Worker diff --git a/src/Runner.Worker/Handlers/RunnerPluginHandler.cs b/src/Runner.Worker/Handlers/RunnerPluginHandler.cs index 61949df1e9b..3ab6fa11598 100644 --- a/src/Runner.Worker/Handlers/RunnerPluginHandler.cs +++ b/src/Runner.Worker/Handlers/RunnerPluginHandler.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading.Tasks; using GitHub.Runner.Common; using GitHub.Runner.Sdk; diff --git a/src/Runner.Worker/Handlers/StepHost.cs b/src/Runner.Worker/Handlers/StepHost.cs index 1270dd90e6f..4d2bfcc6cd1 100644 --- a/src/Runner.Worker/Handlers/StepHost.cs +++ b/src/Runner.Worker/Handlers/StepHost.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using GitHub.DistributedTask.Pipelines.ContextData; using System.Text; diff --git a/src/Runner.Worker/JobHookProvider.cs b/src/Runner.Worker/JobHookProvider.cs index 9d616851d0e..2cae9c27671 100644 --- a/src/Runner.Worker/JobHookProvider.cs +++ b/src/Runner.Worker/JobHookProvider.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; diff --git a/src/Runner.Worker/PipelineDirectoryManager.cs b/src/Runner.Worker/PipelineDirectoryManager.cs index 4e5819da277..93c876efcf6 100644 --- a/src/Runner.Worker/PipelineDirectoryManager.cs +++ b/src/Runner.Worker/PipelineDirectoryManager.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using System.Linq; using GitHub.DistributedTask.Pipelines; diff --git a/src/Runner.Worker/Program.cs b/src/Runner.Worker/Program.cs index c4f23f943ec..662dfc126fd 100644 --- a/src/Runner.Worker/Program.cs +++ b/src/Runner.Worker/Program.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; using System.Threading.Tasks; using GitHub.Runner.Common; diff --git a/src/Runner.Worker/Runner.Worker.csproj b/src/Runner.Worker/Runner.Worker.csproj index eee59b8721c..019722fdebd 100644 --- a/src/Runner.Worker/Runner.Worker.csproj +++ b/src/Runner.Worker/Runner.Worker.csproj @@ -1,14 +1,8 @@ - net6.0 Exe - win-x64;win-x86;linux-x64;linux-arm64;linux-arm;osx-x64;osx-arm64;win-arm64 - true NU1701;NU1603 - $(Version) - false - true diff --git a/src/Runner.Worker/RunnerPluginManager.cs b/src/Runner.Worker/RunnerPluginManager.cs index f103482857e..e034b83ea60 100644 --- a/src/Runner.Worker/RunnerPluginManager.cs +++ b/src/Runner.Worker/RunnerPluginManager.cs @@ -1,4 +1,4 @@ -using GitHub.DistributedTask.WebApi; +using GitHub.DistributedTask.WebApi; using GitHub.Runner.Sdk; using GitHub.Runner.Common.Util; using GitHub.Services.WebApi; diff --git a/src/Runner.Worker/StepsContext.cs b/src/Runner.Worker/StepsContext.cs index 6f16956e51e..70ddbf87ea7 100644 --- a/src/Runner.Worker/StepsContext.cs +++ b/src/Runner.Worker/StepsContext.cs @@ -1,4 +1,4 @@ -using GitHub.DistributedTask.Pipelines.ContextData; +using GitHub.DistributedTask.Pipelines.ContextData; using GitHub.DistributedTask.WebApi; using GitHub.Runner.Common.Util; using System; diff --git a/src/Runner.Worker/TempDirectoryManager.cs b/src/Runner.Worker/TempDirectoryManager.cs index a3278824377..d0b9466d1bf 100644 --- a/src/Runner.Worker/TempDirectoryManager.cs +++ b/src/Runner.Worker/TempDirectoryManager.cs @@ -1,4 +1,4 @@ -using GitHub.Runner.Common.Util; +using GitHub.Runner.Common.Util; using System; using System.IO; using System.Threading; diff --git a/src/Runner.Worker/TrackingConfig.cs b/src/Runner.Worker/TrackingConfig.cs index 7a99af51eea..1b33acc09d9 100644 --- a/src/Runner.Worker/TrackingConfig.cs +++ b/src/Runner.Worker/TrackingConfig.cs @@ -1,4 +1,4 @@ -using GitHub.DistributedTask.Pipelines; +using GitHub.DistributedTask.Pipelines; using GitHub.DistributedTask.WebApi; using GitHub.Runner.Common.Util; using Newtonsoft.Json; diff --git a/src/Runner.Worker/TrackingManager.cs b/src/Runner.Worker/TrackingManager.cs index cb3ead6c9c1..63edb742580 100644 --- a/src/Runner.Worker/TrackingManager.cs +++ b/src/Runner.Worker/TrackingManager.cs @@ -1,4 +1,4 @@ -using GitHub.DistributedTask.WebApi; +using GitHub.DistributedTask.WebApi; using GitHub.Runner.Common.Util; using Newtonsoft.Json; using System; diff --git a/src/Runner.Worker/Worker.cs b/src/Runner.Worker/Worker.cs index 4784c169314..2c39fcf7eaa 100644 --- a/src/Runner.Worker/Worker.cs +++ b/src/Runner.Worker/Worker.cs @@ -1,4 +1,4 @@ -using GitHub.DistributedTask.WebApi; +using GitHub.DistributedTask.WebApi; using Pipelines = GitHub.DistributedTask.Pipelines; using GitHub.Runner.Common.Util; using Newtonsoft.Json; diff --git a/src/Sdk/Common/Common/Authentication/FederatedCredential.cs b/src/Sdk/Common/Common/Authentication/FederatedCredential.cs index c710ee8f4c3..e50ef2090e7 100644 --- a/src/Sdk/Common/Common/Authentication/FederatedCredential.cs +++ b/src/Sdk/Common/Common/Authentication/FederatedCredential.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using System.Net; using GitHub.Services.Common.Internal; diff --git a/src/Sdk/Common/Common/Authentication/HttpRequestMessageWrapper.cs b/src/Sdk/Common/Common/Authentication/HttpRequestMessageWrapper.cs index 03e5bb4eaf7..c13f72f05df 100644 --- a/src/Sdk/Common/Common/Authentication/HttpRequestMessageWrapper.cs +++ b/src/Sdk/Common/Common/Authentication/HttpRequestMessageWrapper.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; diff --git a/src/Sdk/Common/Common/Authentication/HttpResponseMessageWrapper.cs b/src/Sdk/Common/Common/Authentication/HttpResponseMessageWrapper.cs index 18e03b5b8db..105bca0c708 100644 --- a/src/Sdk/Common/Common/Authentication/HttpResponseMessageWrapper.cs +++ b/src/Sdk/Common/Common/Authentication/HttpResponseMessageWrapper.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Net; diff --git a/src/Sdk/Common/Common/Authentication/IHttpHeaders.cs b/src/Sdk/Common/Common/Authentication/IHttpHeaders.cs index 8147c75fe1c..0cd22d57ff4 100644 --- a/src/Sdk/Common/Common/Authentication/IHttpHeaders.cs +++ b/src/Sdk/Common/Common/Authentication/IHttpHeaders.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; namespace GitHub.Services.Common diff --git a/src/Sdk/Common/Common/Authentication/IHttpRequest.cs b/src/Sdk/Common/Common/Authentication/IHttpRequest.cs index b382845bbac..44aaa83129b 100644 --- a/src/Sdk/Common/Common/Authentication/IHttpRequest.cs +++ b/src/Sdk/Common/Common/Authentication/IHttpRequest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; namespace GitHub.Services.Common diff --git a/src/Sdk/Common/Common/Authentication/IHttpResponse.cs b/src/Sdk/Common/Common/Authentication/IHttpResponse.cs index 7bae008632c..a7a54e5f9fb 100644 --- a/src/Sdk/Common/Common/Authentication/IHttpResponse.cs +++ b/src/Sdk/Common/Common/Authentication/IHttpResponse.cs @@ -1,4 +1,4 @@ -using System.Net; +using System.Net; namespace GitHub.Services.Common { diff --git a/src/Sdk/Common/Common/Authentication/IVssCredentialPrompt.cs b/src/Sdk/Common/Common/Authentication/IVssCredentialPrompt.cs index e9399225091..e4bf1598a35 100644 --- a/src/Sdk/Common/Common/Authentication/IVssCredentialPrompt.cs +++ b/src/Sdk/Common/Common/Authentication/IVssCredentialPrompt.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Threading.Tasks; namespace GitHub.Services.Common diff --git a/src/Sdk/Common/Common/Authentication/IVssCredentialStorage.cs b/src/Sdk/Common/Common/Authentication/IVssCredentialStorage.cs index 7a1094637bd..7da10d2fe1d 100644 --- a/src/Sdk/Common/Common/Authentication/IVssCredentialStorage.cs +++ b/src/Sdk/Common/Common/Authentication/IVssCredentialStorage.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace GitHub.Services.Common { diff --git a/src/Sdk/Common/Common/Authentication/IssuedToken.cs b/src/Sdk/Common/Common/Authentication/IssuedToken.cs index 23aa71676f5..afd00e18a0d 100644 --- a/src/Sdk/Common/Common/Authentication/IssuedToken.cs +++ b/src/Sdk/Common/Common/Authentication/IssuedToken.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Threading; diff --git a/src/Sdk/Common/Common/Authentication/IssuedTokenCredential.cs b/src/Sdk/Common/Common/Authentication/IssuedTokenCredential.cs index 1bed7d72002..ec81156e1bf 100644 --- a/src/Sdk/Common/Common/Authentication/IssuedTokenCredential.cs +++ b/src/Sdk/Common/Common/Authentication/IssuedTokenCredential.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Threading.Tasks; diff --git a/src/Sdk/Common/Common/Authentication/IssuedTokenProvider.cs b/src/Sdk/Common/Common/Authentication/IssuedTokenProvider.cs index e098bfd7562..bc7b4bfab20 100644 --- a/src/Sdk/Common/Common/Authentication/IssuedTokenProvider.cs +++ b/src/Sdk/Common/Common/Authentication/IssuedTokenProvider.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; diff --git a/src/Sdk/Common/Common/Authentication/VssCredentials.cs b/src/Sdk/Common/Common/Authentication/VssCredentials.cs index c29c5fa3119..cdc1b919681 100644 --- a/src/Sdk/Common/Common/Authentication/VssCredentials.cs +++ b/src/Sdk/Common/Common/Authentication/VssCredentials.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.ComponentModel; diff --git a/src/Sdk/Common/Common/ClientStorage/IVssClientStorage.cs b/src/Sdk/Common/Common/ClientStorage/IVssClientStorage.cs index d3529b9102b..bd49cd80226 100644 --- a/src/Sdk/Common/Common/ClientStorage/IVssClientStorage.cs +++ b/src/Sdk/Common/Common/ClientStorage/IVssClientStorage.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; diff --git a/src/Sdk/Common/Common/ClientStorage/VssFileStorage.cs b/src/Sdk/Common/Common/ClientStorage/VssFileStorage.cs index 50a28169700..c28dd784d8e 100644 --- a/src/Sdk/Common/Common/ClientStorage/VssFileStorage.cs +++ b/src/Sdk/Common/Common/ClientStorage/VssFileStorage.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.ComponentModel; diff --git a/src/Sdk/Common/Common/Diagnostics/HttpRequestMessageExtensions.cs b/src/Sdk/Common/Common/Diagnostics/HttpRequestMessageExtensions.cs index b228ab23404..373b2583f64 100644 --- a/src/Sdk/Common/Common/Diagnostics/HttpRequestMessageExtensions.cs +++ b/src/Sdk/Common/Common/Diagnostics/HttpRequestMessageExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.Net.Http; diff --git a/src/Sdk/Common/Common/Diagnostics/VssHttpEventSource.cs b/src/Sdk/Common/Common/Diagnostics/VssHttpEventSource.cs index 6d75e381ff3..95fe4d18875 100644 --- a/src/Sdk/Common/Common/Diagnostics/VssHttpEventSource.cs +++ b/src/Sdk/Common/Common/Diagnostics/VssHttpEventSource.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Diagnostics.Tracing; using System.Globalization; diff --git a/src/Sdk/Common/Common/Diagnostics/VssHttpMethod.cs b/src/Sdk/Common/Common/Diagnostics/VssHttpMethod.cs index 03f3fac1e10..7093911c446 100644 --- a/src/Sdk/Common/Common/Diagnostics/VssHttpMethod.cs +++ b/src/Sdk/Common/Common/Diagnostics/VssHttpMethod.cs @@ -1,4 +1,4 @@ - + namespace GitHub.Services.Common.Diagnostics { internal enum VssHttpMethod diff --git a/src/Sdk/Common/Common/Diagnostics/VssTraceActivity.cs b/src/Sdk/Common/Common/Diagnostics/VssTraceActivity.cs index 291b6d05a42..91c061eaf53 100644 --- a/src/Sdk/Common/Common/Diagnostics/VssTraceActivity.cs +++ b/src/Sdk/Common/Common/Diagnostics/VssTraceActivity.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Diagnostics; using System.Runtime.Serialization; diff --git a/src/Sdk/Common/Common/ExceptionMappingAttribute.cs b/src/Sdk/Common/Common/ExceptionMappingAttribute.cs index 6c64e5828a5..211457a49d6 100644 --- a/src/Sdk/Common/Common/ExceptionMappingAttribute.cs +++ b/src/Sdk/Common/Common/ExceptionMappingAttribute.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; namespace GitHub.Services.Common diff --git a/src/Sdk/Common/Common/Exceptions/AuthenticationExceptions.cs b/src/Sdk/Common/Common/Exceptions/AuthenticationExceptions.cs index 48e85fa3b36..2827cec91b8 100644 --- a/src/Sdk/Common/Common/Exceptions/AuthenticationExceptions.cs +++ b/src/Sdk/Common/Common/Exceptions/AuthenticationExceptions.cs @@ -1,4 +1,4 @@ -using GitHub.Services.Common.Internal; +using GitHub.Services.Common.Internal; using System; using System.Diagnostics.CodeAnalysis; using System.Runtime.Serialization; diff --git a/src/Sdk/Common/Common/Exceptions/CommonExceptions.cs b/src/Sdk/Common/Common/Exceptions/CommonExceptions.cs index 7960517a0b2..67dfae43859 100644 --- a/src/Sdk/Common/Common/Exceptions/CommonExceptions.cs +++ b/src/Sdk/Common/Common/Exceptions/CommonExceptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Diagnostics.CodeAnalysis; using System.Runtime.Serialization; diff --git a/src/Sdk/Common/Common/Exceptions/PropertyExceptions.cs b/src/Sdk/Common/Common/Exceptions/PropertyExceptions.cs index 34c97b73a1d..1075f7d2dfd 100644 --- a/src/Sdk/Common/Common/Exceptions/PropertyExceptions.cs +++ b/src/Sdk/Common/Common/Exceptions/PropertyExceptions.cs @@ -1,4 +1,4 @@ -using GitHub.Services.Common.Internal; +using GitHub.Services.Common.Internal; using System; using System.Diagnostics.CodeAnalysis; using System.Runtime.Serialization; diff --git a/src/Sdk/Common/Common/GenerateConstantAttributes.cs b/src/Sdk/Common/Common/GenerateConstantAttributes.cs index 1746cffa68d..2f6795b3cba 100644 --- a/src/Sdk/Common/Common/GenerateConstantAttributes.cs +++ b/src/Sdk/Common/Common/GenerateConstantAttributes.cs @@ -1,4 +1,4 @@ -// Microsoft Confidential +// Microsoft Confidential // Copyright (c) Microsoft Corporation. All rights reserved. using System; diff --git a/src/Sdk/Common/Common/IVssClientCertificateManager.cs b/src/Sdk/Common/Common/IVssClientCertificateManager.cs index feb32580c48..25d2e8b1b0e 100644 --- a/src/Sdk/Common/Common/IVssClientCertificateManager.cs +++ b/src/Sdk/Common/Common/IVssClientCertificateManager.cs @@ -1,4 +1,4 @@ -using System.Security.Cryptography.X509Certificates; +using System.Security.Cryptography.X509Certificates; namespace GitHub.Services.Common { diff --git a/src/Sdk/Common/Common/IVssHttpRetryInfo.cs b/src/Sdk/Common/Common/IVssHttpRetryInfo.cs index 4272ca722e1..e3f6e969adb 100644 --- a/src/Sdk/Common/Common/IVssHttpRetryInfo.cs +++ b/src/Sdk/Common/Common/IVssHttpRetryInfo.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Net; diff --git a/src/Sdk/Common/Common/Performance/PerformanceTimerConstants.cs b/src/Sdk/Common/Common/Performance/PerformanceTimerConstants.cs index 6ee1fde3f11..f6ce1e89ef5 100644 --- a/src/Sdk/Common/Common/Performance/PerformanceTimerConstants.cs +++ b/src/Sdk/Common/Common/Performance/PerformanceTimerConstants.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace GitHub.Services.Common { diff --git a/src/Sdk/Common/Common/Performance/PerformanceTimingGroup.cs b/src/Sdk/Common/Common/Performance/PerformanceTimingGroup.cs index 3c87957065c..172089eb6f3 100644 --- a/src/Sdk/Common/Common/Performance/PerformanceTimingGroup.cs +++ b/src/Sdk/Common/Common/Performance/PerformanceTimingGroup.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Runtime.Serialization; diff --git a/src/Sdk/Common/Common/TaskCancellationExtensions.cs b/src/Sdk/Common/Common/TaskCancellationExtensions.cs index 9b9c0767fbd..9156545d287 100644 --- a/src/Sdk/Common/Common/TaskCancellationExtensions.cs +++ b/src/Sdk/Common/Common/TaskCancellationExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; using System.Runtime.CompilerServices; using System.Threading; diff --git a/src/Sdk/Common/Common/Utility/ArgumentUtility.cs b/src/Sdk/Common/Common/Utility/ArgumentUtility.cs index 55500639355..953a8dc7e17 100644 --- a/src/Sdk/Common/Common/Utility/ArgumentUtility.cs +++ b/src/Sdk/Common/Common/Utility/ArgumentUtility.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; diff --git a/src/Sdk/Common/Common/Utility/ArrayUtility.cs b/src/Sdk/Common/Common/Utility/ArrayUtility.cs index 39745d273b3..18878e0574a 100644 --- a/src/Sdk/Common/Common/Utility/ArrayUtility.cs +++ b/src/Sdk/Common/Common/Utility/ArrayUtility.cs @@ -1,4 +1,4 @@ -//************************************************************************************************* +//************************************************************************************************* // ArrayUtil.cs // // A class with random array processing helper routines. diff --git a/src/Sdk/Common/Common/Utility/BackoffTimerHelper.cs b/src/Sdk/Common/Common/Utility/BackoffTimerHelper.cs index f2c4df504f3..8df32200994 100644 --- a/src/Sdk/Common/Common/Utility/BackoffTimerHelper.cs +++ b/src/Sdk/Common/Common/Utility/BackoffTimerHelper.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; namespace GitHub.Services.Common diff --git a/src/Sdk/Common/Common/Utility/CollectionsExtensions.cs b/src/Sdk/Common/Common/Utility/CollectionsExtensions.cs index f7d593378b4..bd0577b92ed 100644 --- a/src/Sdk/Common/Common/Utility/CollectionsExtensions.cs +++ b/src/Sdk/Common/Common/Utility/CollectionsExtensions.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace GitHub.Services.Common { diff --git a/src/Sdk/Common/Common/Utility/ConvertUtility.cs b/src/Sdk/Common/Common/Utility/ConvertUtility.cs index b5f394a40e6..a5328d4a4ac 100644 --- a/src/Sdk/Common/Common/Utility/ConvertUtility.cs +++ b/src/Sdk/Common/Common/Utility/ConvertUtility.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.Globalization; using System.Reflection; diff --git a/src/Sdk/Common/Common/Utility/DictionaryExtensions.cs b/src/Sdk/Common/Common/Utility/DictionaryExtensions.cs index 1dd010c6a22..7becf54b97b 100644 --- a/src/Sdk/Common/Common/Utility/DictionaryExtensions.cs +++ b/src/Sdk/Common/Common/Utility/DictionaryExtensions.cs @@ -1,4 +1,4 @@ -using GitHub.Services.Common.Internal; +using GitHub.Services.Common.Internal; using System; using System.Collections.Generic; using System.Globalization; diff --git a/src/Sdk/Common/Common/Utility/EnumerableExtensions.cs b/src/Sdk/Common/Common/Utility/EnumerableExtensions.cs index 470317c6cab..08d5cb99905 100644 --- a/src/Sdk/Common/Common/Utility/EnumerableExtensions.cs +++ b/src/Sdk/Common/Common/Utility/EnumerableExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; diff --git a/src/Sdk/Common/Common/Utility/ExpectedExceptionExtensions.cs b/src/Sdk/Common/Common/Utility/ExpectedExceptionExtensions.cs index c9dab13f706..c31ba8bbe47 100644 --- a/src/Sdk/Common/Common/Utility/ExpectedExceptionExtensions.cs +++ b/src/Sdk/Common/Common/Utility/ExpectedExceptionExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace GitHub.Services.Common { diff --git a/src/Sdk/Common/Common/Utility/HashAlgorithmExtensions.cs b/src/Sdk/Common/Common/Utility/HashAlgorithmExtensions.cs index dce4e07e082..b38f1d74a40 100644 --- a/src/Sdk/Common/Common/Utility/HashAlgorithmExtensions.cs +++ b/src/Sdk/Common/Common/Utility/HashAlgorithmExtensions.cs @@ -1,4 +1,4 @@ -using System.IO; +using System.IO; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; diff --git a/src/Sdk/Common/Common/Utility/HttpHeaders.cs b/src/Sdk/Common/Common/Utility/HttpHeaders.cs index fd1f50b9145..0a176afcba4 100644 --- a/src/Sdk/Common/Common/Utility/HttpHeaders.cs +++ b/src/Sdk/Common/Common/Utility/HttpHeaders.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; diff --git a/src/Sdk/Common/Common/Utility/PartitioningResults.cs b/src/Sdk/Common/Common/Utility/PartitioningResults.cs index 4b0b82e73e7..d9959523edd 100644 --- a/src/Sdk/Common/Common/Utility/PartitioningResults.cs +++ b/src/Sdk/Common/Common/Utility/PartitioningResults.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace GitHub.Services.Common { diff --git a/src/Sdk/Common/Common/Utility/PathUtility.cs b/src/Sdk/Common/Common/Utility/PathUtility.cs index 5b902ea01ae..5da3ebf7d18 100644 --- a/src/Sdk/Common/Common/Utility/PathUtility.cs +++ b/src/Sdk/Common/Common/Utility/PathUtility.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; diff --git a/src/Sdk/Common/Common/Utility/PrimitiveExtensions.cs b/src/Sdk/Common/Common/Utility/PrimitiveExtensions.cs index f15bf502b67..b327432db83 100644 --- a/src/Sdk/Common/Common/Utility/PrimitiveExtensions.cs +++ b/src/Sdk/Common/Common/Utility/PrimitiveExtensions.cs @@ -1,4 +1,4 @@ -using GitHub.Services.Common.Internal; +using GitHub.Services.Common.Internal; using System; using System.Text; diff --git a/src/Sdk/Common/Common/Utility/PropertyValidation.cs b/src/Sdk/Common/Common/Utility/PropertyValidation.cs index e56222a7eec..c7f8b86eaac 100644 --- a/src/Sdk/Common/Common/Utility/PropertyValidation.cs +++ b/src/Sdk/Common/Common/Utility/PropertyValidation.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Globalization; diff --git a/src/Sdk/Common/Common/Utility/SecretUtility.cs b/src/Sdk/Common/Common/Utility/SecretUtility.cs index 20713ad60e3..c23c8b375f7 100644 --- a/src/Sdk/Common/Common/Utility/SecretUtility.cs +++ b/src/Sdk/Common/Common/Utility/SecretUtility.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; diff --git a/src/Sdk/Common/Common/Utility/SecureCompare.cs b/src/Sdk/Common/Common/Utility/SecureCompare.cs index 90e896bf6a3..5c35feebc7f 100644 --- a/src/Sdk/Common/Common/Utility/SecureCompare.cs +++ b/src/Sdk/Common/Common/Utility/SecureCompare.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; namespace GitHub.Services.Common diff --git a/src/Sdk/Common/Common/Utility/StreamParser.cs b/src/Sdk/Common/Common/Utility/StreamParser.cs index 1f2dd613d9c..be3a4553dd0 100644 --- a/src/Sdk/Common/Common/Utility/StreamParser.cs +++ b/src/Sdk/Common/Common/Utility/StreamParser.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.IO; using System.Threading; diff --git a/src/Sdk/Common/Common/Utility/TypeExtensionMethods.cs b/src/Sdk/Common/Common/Utility/TypeExtensionMethods.cs index 4483b141f53..f177250e1ce 100644 --- a/src/Sdk/Common/Common/Utility/TypeExtensionMethods.cs +++ b/src/Sdk/Common/Common/Utility/TypeExtensionMethods.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections; using System.Collections.Generic; using System.Globalization; diff --git a/src/Sdk/Common/Common/Utility/UriExtensions.cs b/src/Sdk/Common/Common/Utility/UriExtensions.cs index e25d8f0c8d6..c62cb43bb0f 100644 --- a/src/Sdk/Common/Common/Utility/UriExtensions.cs +++ b/src/Sdk/Common/Common/Utility/UriExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; diff --git a/src/Sdk/Common/Common/Utility/UriUtility.cs b/src/Sdk/Common/Common/Utility/UriUtility.cs index c80cb592c09..807a2b1cdfd 100644 --- a/src/Sdk/Common/Common/Utility/UriUtility.cs +++ b/src/Sdk/Common/Common/Utility/UriUtility.cs @@ -1,4 +1,4 @@ -// This #define is used by the HtmlEncode and HtmlDecode logic below. The original comment +// This #define is used by the HtmlEncode and HtmlDecode logic below. The original comment // from ndp/fx/src/net/system/net/webutility.cs follows. #define ENTITY_ENCODE_HIGH_ASCII_CHARS diff --git a/src/Sdk/Common/Common/Utility/VssStringComparer.cs b/src/Sdk/Common/Common/Utility/VssStringComparer.cs index 7d7935a8c2b..a7a4eb9fb0b 100644 --- a/src/Sdk/Common/Common/Utility/VssStringComparer.cs +++ b/src/Sdk/Common/Common/Utility/VssStringComparer.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Diagnostics; namespace GitHub.Services.Common diff --git a/src/Sdk/Common/Common/Utility/XmlUtility.cs b/src/Sdk/Common/Common/Utility/XmlUtility.cs index 369dc2d28eb..548aa7745ee 100644 --- a/src/Sdk/Common/Common/Utility/XmlUtility.cs +++ b/src/Sdk/Common/Common/Utility/XmlUtility.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; diff --git a/src/Sdk/Common/Common/VssCommonConstants.cs b/src/Sdk/Common/Common/VssCommonConstants.cs index 596ef6503ed..ba63d596b00 100644 --- a/src/Sdk/Common/Common/VssCommonConstants.cs +++ b/src/Sdk/Common/Common/VssCommonConstants.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; diff --git a/src/Sdk/Common/Common/VssException.cs b/src/Sdk/Common/Common/VssException.cs index 7cead78655d..cbbd09d7a95 100644 --- a/src/Sdk/Common/Common/VssException.cs +++ b/src/Sdk/Common/Common/VssException.cs @@ -1,4 +1,4 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Collections.Generic; using System.Diagnostics; diff --git a/src/Sdk/Common/Common/VssHttpMessageHandlerTraceInfo.cs b/src/Sdk/Common/Common/VssHttpMessageHandlerTraceInfo.cs index 1129f9d81d7..830795cb41b 100644 --- a/src/Sdk/Common/Common/VssHttpMessageHandlerTraceInfo.cs +++ b/src/Sdk/Common/Common/VssHttpMessageHandlerTraceInfo.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Net.Http; namespace GitHub.Services.Common diff --git a/src/Sdk/Common/Common/VssHttpRetryMessageHandler.cs b/src/Sdk/Common/Common/VssHttpRetryMessageHandler.cs index 237af57e17c..7b1a17f0e27 100644 --- a/src/Sdk/Common/Common/VssHttpRetryMessageHandler.cs +++ b/src/Sdk/Common/Common/VssHttpRetryMessageHandler.cs @@ -1,4 +1,4 @@ -using GitHub.Services.Common.Diagnostics; +using GitHub.Services.Common.Diagnostics; using System; using System.ComponentModel; using System.Diagnostics; diff --git a/src/Sdk/Common/Common/VssHttpRetryOptions.cs b/src/Sdk/Common/Common/VssHttpRetryOptions.cs index 5d57ef27d50..e96876145a1 100644 --- a/src/Sdk/Common/Common/VssHttpRetryOptions.cs +++ b/src/Sdk/Common/Common/VssHttpRetryOptions.cs @@ -1,4 +1,4 @@ -using GitHub.Services.Common.Internal; +using GitHub.Services.Common.Internal; using System; using System.Collections.Generic; using System.Collections.ObjectModel; diff --git a/src/Sdk/Common/Common/VssNetworkHelper.cs b/src/Sdk/Common/Common/VssNetworkHelper.cs index 209b86825b7..b13cfaf0c75 100644 --- a/src/Sdk/Common/Common/VssNetworkHelper.cs +++ b/src/Sdk/Common/Common/VssNetworkHelper.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.IO; using System.Net; diff --git a/src/Sdk/Common/Common/VssPerformanceEventSource.cs b/src/Sdk/Common/Common/VssPerformanceEventSource.cs index 23c8a4acd19..cc417c06292 100644 --- a/src/Sdk/Common/Common/VssPerformanceEventSource.cs +++ b/src/Sdk/Common/Common/VssPerformanceEventSource.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Diagnostics.Tracing; namespace GitHub.Services.Common diff --git a/src/Sdk/Common/EmbeddedVersionInfo.cs b/src/Sdk/Common/EmbeddedVersionInfo.cs index be6a6bfefce..6aff4fded47 100644 --- a/src/Sdk/Common/EmbeddedVersionInfo.cs +++ b/src/Sdk/Common/EmbeddedVersionInfo.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; namespace GitHub.Services.Common diff --git a/src/Sdk/DTExpressions2/Expressions2/EvaluationOptions.cs b/src/Sdk/DTExpressions2/Expressions2/EvaluationOptions.cs index 372d7a0cf61..91abcf3e074 100644 --- a/src/Sdk/DTExpressions2/Expressions2/EvaluationOptions.cs +++ b/src/Sdk/DTExpressions2/Expressions2/EvaluationOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; namespace GitHub.DistributedTask.Expressions2 diff --git a/src/Sdk/DTExpressions2/Expressions2/EvaluationResult.cs b/src/Sdk/DTExpressions2/Expressions2/EvaluationResult.cs index 354a76d8e37..0fdb5bae1fe 100644 --- a/src/Sdk/DTExpressions2/Expressions2/EvaluationResult.cs +++ b/src/Sdk/DTExpressions2/Expressions2/EvaluationResult.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.Globalization; using GitHub.DistributedTask.Expressions2.Sdk; diff --git a/src/Sdk/DTExpressions2/Expressions2/ExpressionConstants.cs b/src/Sdk/DTExpressions2/Expressions2/ExpressionConstants.cs index 99e19debf52..fcfbaac7062 100644 --- a/src/Sdk/DTExpressions2/Expressions2/ExpressionConstants.cs +++ b/src/Sdk/DTExpressions2/Expressions2/ExpressionConstants.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using GitHub.DistributedTask.Expressions2.Sdk; using GitHub.DistributedTask.Expressions2.Sdk.Functions; diff --git a/src/Sdk/DTExpressions2/Expressions2/ExpressionException.cs b/src/Sdk/DTExpressions2/Expressions2/ExpressionException.cs index c50a015437c..d4b3f224a33 100644 --- a/src/Sdk/DTExpressions2/Expressions2/ExpressionException.cs +++ b/src/Sdk/DTExpressions2/Expressions2/ExpressionException.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using GitHub.DistributedTask.Logging; diff --git a/src/Sdk/DTExpressions2/Expressions2/ExpressionParser.cs b/src/Sdk/DTExpressions2/Expressions2/ExpressionParser.cs index 70725ba298a..1dd8be57c00 100644 --- a/src/Sdk/DTExpressions2/Expressions2/ExpressionParser.cs +++ b/src/Sdk/DTExpressions2/Expressions2/ExpressionParser.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; diff --git a/src/Sdk/DTExpressions2/Expressions2/FunctionInfo.cs b/src/Sdk/DTExpressions2/Expressions2/FunctionInfo.cs index 0fd0bf04cb7..3ed83b6524d 100644 --- a/src/Sdk/DTExpressions2/Expressions2/FunctionInfo.cs +++ b/src/Sdk/DTExpressions2/Expressions2/FunctionInfo.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using GitHub.DistributedTask.Expressions2.Sdk; diff --git a/src/Sdk/DTExpressions2/Expressions2/IExpressionNode.cs b/src/Sdk/DTExpressions2/Expressions2/IExpressionNode.cs index 57a9e0cf90b..50d3fbeb651 100644 --- a/src/Sdk/DTExpressions2/Expressions2/IExpressionNode.cs +++ b/src/Sdk/DTExpressions2/Expressions2/IExpressionNode.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using GitHub.DistributedTask.Logging; diff --git a/src/Sdk/DTExpressions2/Expressions2/IExpressionNodeExtensions.cs b/src/Sdk/DTExpressions2/Expressions2/IExpressionNodeExtensions.cs index c92716797ab..300e5a40f1d 100644 --- a/src/Sdk/DTExpressions2/Expressions2/IExpressionNodeExtensions.cs +++ b/src/Sdk/DTExpressions2/Expressions2/IExpressionNodeExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using GitHub.DistributedTask.Logging; diff --git a/src/Sdk/DTExpressions2/Expressions2/IFunctionInfo.cs b/src/Sdk/DTExpressions2/Expressions2/IFunctionInfo.cs index e3c5f1a573a..927706b2b9e 100644 --- a/src/Sdk/DTExpressions2/Expressions2/IFunctionInfo.cs +++ b/src/Sdk/DTExpressions2/Expressions2/IFunctionInfo.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using GitHub.DistributedTask.Expressions2.Sdk; diff --git a/src/Sdk/DTExpressions2/Expressions2/INamedValueInfo.cs b/src/Sdk/DTExpressions2/Expressions2/INamedValueInfo.cs index ccec712fd1b..22f9bf567d5 100644 --- a/src/Sdk/DTExpressions2/Expressions2/INamedValueInfo.cs +++ b/src/Sdk/DTExpressions2/Expressions2/INamedValueInfo.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using GitHub.DistributedTask.Expressions2.Sdk; diff --git a/src/Sdk/DTExpressions2/Expressions2/ITraceWriter.cs b/src/Sdk/DTExpressions2/Expressions2/ITraceWriter.cs index c9724ab4094..0cb7fbedf6e 100644 --- a/src/Sdk/DTExpressions2/Expressions2/ITraceWriter.cs +++ b/src/Sdk/DTExpressions2/Expressions2/ITraceWriter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; namespace GitHub.DistributedTask.Expressions2 diff --git a/src/Sdk/DTExpressions2/Expressions2/NamedValueInfo.cs b/src/Sdk/DTExpressions2/Expressions2/NamedValueInfo.cs index 8c657172e86..c1b166c61b3 100644 --- a/src/Sdk/DTExpressions2/Expressions2/NamedValueInfo.cs +++ b/src/Sdk/DTExpressions2/Expressions2/NamedValueInfo.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using GitHub.DistributedTask.Expressions2.Sdk; diff --git a/src/Sdk/DTExpressions2/Expressions2/ParseException.cs b/src/Sdk/DTExpressions2/Expressions2/ParseException.cs index 19529a4be94..f67ae0f7581 100644 --- a/src/Sdk/DTExpressions2/Expressions2/ParseException.cs +++ b/src/Sdk/DTExpressions2/Expressions2/ParseException.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using GitHub.DistributedTask.Expressions2.Tokens; diff --git a/src/Sdk/DTExpressions2/Expressions2/ParseExceptionKind.cs b/src/Sdk/DTExpressions2/Expressions2/ParseExceptionKind.cs index 4e4fc6a3d6c..57e2f2e71db 100644 --- a/src/Sdk/DTExpressions2/Expressions2/ParseExceptionKind.cs +++ b/src/Sdk/DTExpressions2/Expressions2/ParseExceptionKind.cs @@ -1,4 +1,4 @@ -namespace GitHub.DistributedTask.Expressions2 +namespace GitHub.DistributedTask.Expressions2 { internal enum ParseExceptionKind { diff --git a/src/Sdk/DTExpressions2/Expressions2/Sdk/Container.cs b/src/Sdk/DTExpressions2/Expressions2/Sdk/Container.cs index 91e6552332e..0a8326bb758 100644 --- a/src/Sdk/DTExpressions2/Expressions2/Sdk/Container.cs +++ b/src/Sdk/DTExpressions2/Expressions2/Sdk/Container.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; diff --git a/src/Sdk/DTExpressions2/Expressions2/Sdk/EvaluationContext.cs b/src/Sdk/DTExpressions2/Expressions2/Sdk/EvaluationContext.cs index e58ee27f174..94e2838c210 100644 --- a/src/Sdk/DTExpressions2/Expressions2/Sdk/EvaluationContext.cs +++ b/src/Sdk/DTExpressions2/Expressions2/Sdk/EvaluationContext.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using GitHub.DistributedTask.Logging; diff --git a/src/Sdk/DTExpressions2/Expressions2/Sdk/EvaluationMemory.cs b/src/Sdk/DTExpressions2/Expressions2/Sdk/EvaluationMemory.cs index 0688596c773..79629d19a08 100644 --- a/src/Sdk/DTExpressions2/Expressions2/Sdk/EvaluationMemory.cs +++ b/src/Sdk/DTExpressions2/Expressions2/Sdk/EvaluationMemory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using ExpressionResources = GitHub.DistributedTask.Expressions.ExpressionResources; diff --git a/src/Sdk/DTExpressions2/Expressions2/Sdk/EvaluationTraceWriter.cs b/src/Sdk/DTExpressions2/Expressions2/Sdk/EvaluationTraceWriter.cs index 87517cdeb8a..c26de833b2e 100644 --- a/src/Sdk/DTExpressions2/Expressions2/Sdk/EvaluationTraceWriter.cs +++ b/src/Sdk/DTExpressions2/Expressions2/Sdk/EvaluationTraceWriter.cs @@ -1,4 +1,4 @@ -using System; +using System; using GitHub.DistributedTask.Logging; using GitHub.Services.Common; diff --git a/src/Sdk/DTExpressions2/Expressions2/Sdk/ExpressionNode.cs b/src/Sdk/DTExpressions2/Expressions2/Sdk/ExpressionNode.cs index 28e7b37ecde..23cb6a2a4a7 100644 --- a/src/Sdk/DTExpressions2/Expressions2/Sdk/ExpressionNode.cs +++ b/src/Sdk/DTExpressions2/Expressions2/Sdk/ExpressionNode.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using GitHub.DistributedTask.Logging; diff --git a/src/Sdk/DTExpressions2/Expressions2/Sdk/ExpressionUtility.cs b/src/Sdk/DTExpressions2/Expressions2/Sdk/ExpressionUtility.cs index f4a3d68d5e2..f8fd527588b 100644 --- a/src/Sdk/DTExpressions2/Expressions2/Sdk/ExpressionUtility.cs +++ b/src/Sdk/DTExpressions2/Expressions2/Sdk/ExpressionUtility.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.Globalization; using System.Linq; diff --git a/src/Sdk/DTExpressions2/Expressions2/Sdk/Function.cs b/src/Sdk/DTExpressions2/Expressions2/Sdk/Function.cs index 9001ff2309e..73e17a3aeaa 100644 --- a/src/Sdk/DTExpressions2/Expressions2/Sdk/Function.cs +++ b/src/Sdk/DTExpressions2/Expressions2/Sdk/Function.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.Globalization; using System.Linq; diff --git a/src/Sdk/DTExpressions2/Expressions2/Sdk/Functions/Contains.cs b/src/Sdk/DTExpressions2/Expressions2/Sdk/Functions/Contains.cs index 67cfbb89e4e..db738aae7a4 100644 --- a/src/Sdk/DTExpressions2/Expressions2/Sdk/Functions/Contains.cs +++ b/src/Sdk/DTExpressions2/Expressions2/Sdk/Functions/Contains.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace GitHub.DistributedTask.Expressions2.Sdk.Functions { diff --git a/src/Sdk/DTExpressions2/Expressions2/Sdk/Functions/EndsWith.cs b/src/Sdk/DTExpressions2/Expressions2/Sdk/Functions/EndsWith.cs index 10efd1e8658..ce6edaa4e6a 100644 --- a/src/Sdk/DTExpressions2/Expressions2/Sdk/Functions/EndsWith.cs +++ b/src/Sdk/DTExpressions2/Expressions2/Sdk/Functions/EndsWith.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace GitHub.DistributedTask.Expressions2.Sdk.Functions { diff --git a/src/Sdk/DTExpressions2/Expressions2/Sdk/Functions/Format.cs b/src/Sdk/DTExpressions2/Expressions2/Sdk/Functions/Format.cs index 40e5eab9476..f4900dc9a55 100644 --- a/src/Sdk/DTExpressions2/Expressions2/Sdk/Functions/Format.cs +++ b/src/Sdk/DTExpressions2/Expressions2/Sdk/Functions/Format.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Globalization; using System.Linq; diff --git a/src/Sdk/DTExpressions2/Expressions2/Sdk/Functions/FromJson.cs b/src/Sdk/DTExpressions2/Expressions2/Sdk/Functions/FromJson.cs index 5dc80035535..22a29d8bfda 100644 --- a/src/Sdk/DTExpressions2/Expressions2/Sdk/Functions/FromJson.cs +++ b/src/Sdk/DTExpressions2/Expressions2/Sdk/Functions/FromJson.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using GitHub.DistributedTask.Pipelines.ContextData; using Newtonsoft.Json; diff --git a/src/Sdk/DTExpressions2/Expressions2/Sdk/Functions/Join.cs b/src/Sdk/DTExpressions2/Expressions2/Sdk/Functions/Join.cs index f3d9c3b9ceb..7f13def7fd2 100644 --- a/src/Sdk/DTExpressions2/Expressions2/Sdk/Functions/Join.cs +++ b/src/Sdk/DTExpressions2/Expressions2/Sdk/Functions/Join.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Text; namespace GitHub.DistributedTask.Expressions2.Sdk.Functions diff --git a/src/Sdk/DTExpressions2/Expressions2/Sdk/Functions/NoOperation.cs b/src/Sdk/DTExpressions2/Expressions2/Sdk/Functions/NoOperation.cs index e10386786e8..0fd26fdda8e 100644 --- a/src/Sdk/DTExpressions2/Expressions2/Sdk/Functions/NoOperation.cs +++ b/src/Sdk/DTExpressions2/Expressions2/Sdk/Functions/NoOperation.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/src/Sdk/DTExpressions2/Expressions2/Sdk/Functions/StartsWith.cs b/src/Sdk/DTExpressions2/Expressions2/Sdk/Functions/StartsWith.cs index 80ea80344af..aa491e1ace2 100644 --- a/src/Sdk/DTExpressions2/Expressions2/Sdk/Functions/StartsWith.cs +++ b/src/Sdk/DTExpressions2/Expressions2/Sdk/Functions/StartsWith.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace GitHub.DistributedTask.Expressions2.Sdk.Functions { diff --git a/src/Sdk/DTExpressions2/Expressions2/Sdk/Functions/ToJson.cs b/src/Sdk/DTExpressions2/Expressions2/Sdk/Functions/ToJson.cs index 268466be3bc..f85faf2d340 100644 --- a/src/Sdk/DTExpressions2/Expressions2/Sdk/Functions/ToJson.cs +++ b/src/Sdk/DTExpressions2/Expressions2/Sdk/Functions/ToJson.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections; using System.Collections.Generic; using System.Text; diff --git a/src/Sdk/DTExpressions2/Expressions2/Sdk/IBoolean.cs b/src/Sdk/DTExpressions2/Expressions2/Sdk/IBoolean.cs index b5b45cbf7d6..6d6798b3bcd 100644 --- a/src/Sdk/DTExpressions2/Expressions2/Sdk/IBoolean.cs +++ b/src/Sdk/DTExpressions2/Expressions2/Sdk/IBoolean.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; namespace GitHub.DistributedTask.Expressions2.Sdk diff --git a/src/Sdk/DTExpressions2/Expressions2/Sdk/INull.cs b/src/Sdk/DTExpressions2/Expressions2/Sdk/INull.cs index 9d86f70c901..e5a87d46d0a 100644 --- a/src/Sdk/DTExpressions2/Expressions2/Sdk/INull.cs +++ b/src/Sdk/DTExpressions2/Expressions2/Sdk/INull.cs @@ -1,4 +1,4 @@ -using System.ComponentModel; +using System.ComponentModel; namespace GitHub.DistributedTask.Expressions2.Sdk { diff --git a/src/Sdk/DTExpressions2/Expressions2/Sdk/INumber.cs b/src/Sdk/DTExpressions2/Expressions2/Sdk/INumber.cs index 4b2e61dd002..1f4f450235b 100644 --- a/src/Sdk/DTExpressions2/Expressions2/Sdk/INumber.cs +++ b/src/Sdk/DTExpressions2/Expressions2/Sdk/INumber.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; namespace GitHub.DistributedTask.Expressions2.Sdk diff --git a/src/Sdk/DTExpressions2/Expressions2/Sdk/IReadOnlyArray.cs b/src/Sdk/DTExpressions2/Expressions2/Sdk/IReadOnlyArray.cs index 1d3ef5129f4..71309aae976 100644 --- a/src/Sdk/DTExpressions2/Expressions2/Sdk/IReadOnlyArray.cs +++ b/src/Sdk/DTExpressions2/Expressions2/Sdk/IReadOnlyArray.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections; using System.ComponentModel; diff --git a/src/Sdk/DTExpressions2/Expressions2/Sdk/IReadOnlyObject.cs b/src/Sdk/DTExpressions2/Expressions2/Sdk/IReadOnlyObject.cs index aa78b01e873..c8733aed024 100644 --- a/src/Sdk/DTExpressions2/Expressions2/Sdk/IReadOnlyObject.cs +++ b/src/Sdk/DTExpressions2/Expressions2/Sdk/IReadOnlyObject.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; diff --git a/src/Sdk/DTExpressions2/Expressions2/Sdk/IString.cs b/src/Sdk/DTExpressions2/Expressions2/Sdk/IString.cs index bcc5c8da3ef..5cccc2b39d4 100644 --- a/src/Sdk/DTExpressions2/Expressions2/Sdk/IString.cs +++ b/src/Sdk/DTExpressions2/Expressions2/Sdk/IString.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; namespace GitHub.DistributedTask.Expressions2.Sdk diff --git a/src/Sdk/DTExpressions2/Expressions2/Sdk/Literal.cs b/src/Sdk/DTExpressions2/Expressions2/Sdk/Literal.cs index 75e65f62f0b..60b2256ffd9 100644 --- a/src/Sdk/DTExpressions2/Expressions2/Sdk/Literal.cs +++ b/src/Sdk/DTExpressions2/Expressions2/Sdk/Literal.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; namespace GitHub.DistributedTask.Expressions2.Sdk diff --git a/src/Sdk/DTExpressions2/Expressions2/Sdk/MemoryCounter.cs b/src/Sdk/DTExpressions2/Expressions2/Sdk/MemoryCounter.cs index cba66e30422..f2c94701172 100644 --- a/src/Sdk/DTExpressions2/Expressions2/Sdk/MemoryCounter.cs +++ b/src/Sdk/DTExpressions2/Expressions2/Sdk/MemoryCounter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using Newtonsoft.Json.Linq; using ExpressionResources = GitHub.DistributedTask.Expressions.ExpressionResources; diff --git a/src/Sdk/DTExpressions2/Expressions2/Sdk/NamedValue.cs b/src/Sdk/DTExpressions2/Expressions2/Sdk/NamedValue.cs index 8ec3c42f65a..f878d1e7da4 100644 --- a/src/Sdk/DTExpressions2/Expressions2/Sdk/NamedValue.cs +++ b/src/Sdk/DTExpressions2/Expressions2/Sdk/NamedValue.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; namespace GitHub.DistributedTask.Expressions2.Sdk diff --git a/src/Sdk/DTExpressions2/Expressions2/Sdk/NoOperationNamedValue.cs b/src/Sdk/DTExpressions2/Expressions2/Sdk/NoOperationNamedValue.cs index c53ab031997..174afa6099e 100644 --- a/src/Sdk/DTExpressions2/Expressions2/Sdk/NoOperationNamedValue.cs +++ b/src/Sdk/DTExpressions2/Expressions2/Sdk/NoOperationNamedValue.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/src/Sdk/DTExpressions2/Expressions2/Sdk/Operators/And.cs b/src/Sdk/DTExpressions2/Expressions2/Sdk/Operators/And.cs index e8339cee262..69102fa729b 100644 --- a/src/Sdk/DTExpressions2/Expressions2/Sdk/Operators/And.cs +++ b/src/Sdk/DTExpressions2/Expressions2/Sdk/Operators/And.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; using System.Linq; diff --git a/src/Sdk/DTExpressions2/Expressions2/Sdk/Operators/Equal.cs b/src/Sdk/DTExpressions2/Expressions2/Sdk/Operators/Equal.cs index 7ad1e5b7267..6e5b3add81d 100644 --- a/src/Sdk/DTExpressions2/Expressions2/Sdk/Operators/Equal.cs +++ b/src/Sdk/DTExpressions2/Expressions2/Sdk/Operators/Equal.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; namespace GitHub.DistributedTask.Expressions2.Sdk.Operators diff --git a/src/Sdk/DTExpressions2/Expressions2/Sdk/Operators/GreaterThan.cs b/src/Sdk/DTExpressions2/Expressions2/Sdk/Operators/GreaterThan.cs index 8c3ee5f80bb..a015ce890c3 100644 --- a/src/Sdk/DTExpressions2/Expressions2/Sdk/Operators/GreaterThan.cs +++ b/src/Sdk/DTExpressions2/Expressions2/Sdk/Operators/GreaterThan.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; namespace GitHub.DistributedTask.Expressions2.Sdk.Operators diff --git a/src/Sdk/DTExpressions2/Expressions2/Sdk/Operators/GreaterThanOrEqual.cs b/src/Sdk/DTExpressions2/Expressions2/Sdk/Operators/GreaterThanOrEqual.cs index 93e984a5367..abc29aea9b8 100644 --- a/src/Sdk/DTExpressions2/Expressions2/Sdk/Operators/GreaterThanOrEqual.cs +++ b/src/Sdk/DTExpressions2/Expressions2/Sdk/Operators/GreaterThanOrEqual.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; namespace GitHub.DistributedTask.Expressions2.Sdk.Operators diff --git a/src/Sdk/DTExpressions2/Expressions2/Sdk/Operators/Index.cs b/src/Sdk/DTExpressions2/Expressions2/Sdk/Operators/Index.cs index 13975580b19..a0d530171a6 100644 --- a/src/Sdk/DTExpressions2/Expressions2/Sdk/Operators/Index.cs +++ b/src/Sdk/DTExpressions2/Expressions2/Sdk/Operators/Index.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections; using System.Collections.Generic; using System.Globalization; diff --git a/src/Sdk/DTExpressions2/Expressions2/Sdk/Operators/LessThan.cs b/src/Sdk/DTExpressions2/Expressions2/Sdk/Operators/LessThan.cs index 29c7acb5e0f..7f7fd61e459 100644 --- a/src/Sdk/DTExpressions2/Expressions2/Sdk/Operators/LessThan.cs +++ b/src/Sdk/DTExpressions2/Expressions2/Sdk/Operators/LessThan.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; namespace GitHub.DistributedTask.Expressions2.Sdk.Operators diff --git a/src/Sdk/DTExpressions2/Expressions2/Sdk/Operators/LessThanOrEqual.cs b/src/Sdk/DTExpressions2/Expressions2/Sdk/Operators/LessThanOrEqual.cs index d19391eb38e..676f126b54a 100644 --- a/src/Sdk/DTExpressions2/Expressions2/Sdk/Operators/LessThanOrEqual.cs +++ b/src/Sdk/DTExpressions2/Expressions2/Sdk/Operators/LessThanOrEqual.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; namespace GitHub.DistributedTask.Expressions2.Sdk.Operators diff --git a/src/Sdk/DTExpressions2/Expressions2/Sdk/Operators/Not.cs b/src/Sdk/DTExpressions2/Expressions2/Sdk/Operators/Not.cs index 22ec01d75d6..eb6aa288e9e 100644 --- a/src/Sdk/DTExpressions2/Expressions2/Sdk/Operators/Not.cs +++ b/src/Sdk/DTExpressions2/Expressions2/Sdk/Operators/Not.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; namespace GitHub.DistributedTask.Expressions2.Sdk.Operators diff --git a/src/Sdk/DTExpressions2/Expressions2/Sdk/Operators/NotEqual.cs b/src/Sdk/DTExpressions2/Expressions2/Sdk/Operators/NotEqual.cs index d96ba3fdb2b..4f48541d40a 100644 --- a/src/Sdk/DTExpressions2/Expressions2/Sdk/Operators/NotEqual.cs +++ b/src/Sdk/DTExpressions2/Expressions2/Sdk/Operators/NotEqual.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; namespace GitHub.DistributedTask.Expressions2.Sdk.Operators diff --git a/src/Sdk/DTExpressions2/Expressions2/Sdk/Operators/Or.cs b/src/Sdk/DTExpressions2/Expressions2/Sdk/Operators/Or.cs index 5f051d9d7db..125929214bc 100644 --- a/src/Sdk/DTExpressions2/Expressions2/Sdk/Operators/Or.cs +++ b/src/Sdk/DTExpressions2/Expressions2/Sdk/Operators/Or.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; using System.Linq; diff --git a/src/Sdk/DTExpressions2/Expressions2/Sdk/ResultMemory.cs b/src/Sdk/DTExpressions2/Expressions2/Sdk/ResultMemory.cs index b5524c5b730..913f9892a4e 100644 --- a/src/Sdk/DTExpressions2/Expressions2/Sdk/ResultMemory.cs +++ b/src/Sdk/DTExpressions2/Expressions2/Sdk/ResultMemory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; namespace GitHub.DistributedTask.Expressions2.Sdk diff --git a/src/Sdk/DTExpressions2/Expressions2/Sdk/Wildcard.cs b/src/Sdk/DTExpressions2/Expressions2/Sdk/Wildcard.cs index af11c58ea07..9ef0fcb34ac 100644 --- a/src/Sdk/DTExpressions2/Expressions2/Sdk/Wildcard.cs +++ b/src/Sdk/DTExpressions2/Expressions2/Sdk/Wildcard.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; namespace GitHub.DistributedTask.Expressions2.Sdk diff --git a/src/Sdk/DTExpressions2/Expressions2/Tokens/Associativity.cs b/src/Sdk/DTExpressions2/Expressions2/Tokens/Associativity.cs index 8b1c6e7bfb2..85af26be9f2 100644 --- a/src/Sdk/DTExpressions2/Expressions2/Tokens/Associativity.cs +++ b/src/Sdk/DTExpressions2/Expressions2/Tokens/Associativity.cs @@ -1,4 +1,4 @@ -namespace GitHub.DistributedTask.Expressions2.Tokens +namespace GitHub.DistributedTask.Expressions2.Tokens { internal enum Associativity { diff --git a/src/Sdk/DTExpressions2/Expressions2/Tokens/LexicalAnalyzer.cs b/src/Sdk/DTExpressions2/Expressions2/Tokens/LexicalAnalyzer.cs index 7ad1d032f2a..ebb8d4caa81 100644 --- a/src/Sdk/DTExpressions2/Expressions2/Tokens/LexicalAnalyzer.cs +++ b/src/Sdk/DTExpressions2/Expressions2/Tokens/LexicalAnalyzer.cs @@ -1,4 +1,4 @@ -using GitHub.DistributedTask.Expressions2.Sdk; +using GitHub.DistributedTask.Expressions2.Sdk; using System; using System.Collections.Generic; using System.Globalization; diff --git a/src/Sdk/DTExpressions2/Expressions2/Tokens/Token.cs b/src/Sdk/DTExpressions2/Expressions2/Tokens/Token.cs index 7bb964a4654..6ab8f217e31 100644 --- a/src/Sdk/DTExpressions2/Expressions2/Tokens/Token.cs +++ b/src/Sdk/DTExpressions2/Expressions2/Tokens/Token.cs @@ -1,4 +1,4 @@ -using System; +using System; using GitHub.DistributedTask.Expressions2.Sdk; using GitHub.DistributedTask.Expressions2.Sdk.Operators; diff --git a/src/Sdk/DTExpressions2/Expressions2/Tokens/TokenKind.cs b/src/Sdk/DTExpressions2/Expressions2/Tokens/TokenKind.cs index dd7d81aed2d..ae443c97b13 100644 --- a/src/Sdk/DTExpressions2/Expressions2/Tokens/TokenKind.cs +++ b/src/Sdk/DTExpressions2/Expressions2/Tokens/TokenKind.cs @@ -1,4 +1,4 @@ -namespace GitHub.DistributedTask.Expressions2.Tokens +namespace GitHub.DistributedTask.Expressions2.Tokens { internal enum TokenKind { diff --git a/src/Sdk/DTExpressions2/Expressions2/ValueKind.cs b/src/Sdk/DTExpressions2/Expressions2/ValueKind.cs index ae9e4d6295d..8ce00ef231d 100644 --- a/src/Sdk/DTExpressions2/Expressions2/ValueKind.cs +++ b/src/Sdk/DTExpressions2/Expressions2/ValueKind.cs @@ -1,4 +1,4 @@ -using System.ComponentModel; +using System.ComponentModel; namespace GitHub.DistributedTask.Expressions2 { diff --git a/src/Sdk/DTLogging/Logging/ISecret.cs b/src/Sdk/DTLogging/Logging/ISecret.cs index 9d549717294..ed61b1cea40 100644 --- a/src/Sdk/DTLogging/Logging/ISecret.cs +++ b/src/Sdk/DTLogging/Logging/ISecret.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; namespace GitHub.DistributedTask.Logging diff --git a/src/Sdk/DTLogging/Logging/ISecretMasker.cs b/src/Sdk/DTLogging/Logging/ISecretMasker.cs index eec40bef039..657fab5bba6 100644 --- a/src/Sdk/DTLogging/Logging/ISecretMasker.cs +++ b/src/Sdk/DTLogging/Logging/ISecretMasker.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; namespace GitHub.DistributedTask.Logging diff --git a/src/Sdk/DTLogging/Logging/RegexSecret.cs b/src/Sdk/DTLogging/Logging/RegexSecret.cs index 5d1846c6b61..cddbca0be6b 100644 --- a/src/Sdk/DTLogging/Logging/RegexSecret.cs +++ b/src/Sdk/DTLogging/Logging/RegexSecret.cs @@ -1,4 +1,4 @@ -using GitHub.Services.Common; +using GitHub.Services.Common; using System; using System.Collections.Generic; using System.Text.RegularExpressions; diff --git a/src/Sdk/DTLogging/Logging/ReplacementPosition.cs b/src/Sdk/DTLogging/Logging/ReplacementPosition.cs index acfcd9a20e6..c63f47e2ea4 100644 --- a/src/Sdk/DTLogging/Logging/ReplacementPosition.cs +++ b/src/Sdk/DTLogging/Logging/ReplacementPosition.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace GitHub.DistributedTask.Logging { diff --git a/src/Sdk/DTLogging/Logging/SecretMasker.cs b/src/Sdk/DTLogging/Logging/SecretMasker.cs index 430b977f521..0854e8bcd33 100644 --- a/src/Sdk/DTLogging/Logging/SecretMasker.cs +++ b/src/Sdk/DTLogging/Logging/SecretMasker.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; diff --git a/src/Sdk/DTLogging/Logging/ValueSecret.cs b/src/Sdk/DTLogging/Logging/ValueSecret.cs index 8b7f6d6716b..0eb5a897a74 100644 --- a/src/Sdk/DTLogging/Logging/ValueSecret.cs +++ b/src/Sdk/DTLogging/Logging/ValueSecret.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using GitHub.Services.Common; diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/ContextValueNode.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/ContextValueNode.cs index 98bc3e9baa8..b9ac9f3f7f6 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/ContextValueNode.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/ContextValueNode.cs @@ -1,4 +1,4 @@ -using System; +using System; using GitHub.DistributedTask.Expressions2.Sdk; namespace GitHub.DistributedTask.ObjectTemplating diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/EmptyTraceWriter.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/EmptyTraceWriter.cs index db5134f5906..b9f86b2d8bc 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/EmptyTraceWriter.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/EmptyTraceWriter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; namespace GitHub.DistributedTask.ObjectTemplating diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/ExpressionTraceWriter.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/ExpressionTraceWriter.cs index 596f5f9467a..1dfce839606 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/ExpressionTraceWriter.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/ExpressionTraceWriter.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace GitHub.DistributedTask.ObjectTemplating { diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/IObjectReader.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/IObjectReader.cs index 4f09806a1ca..d851529c731 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/IObjectReader.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/IObjectReader.cs @@ -1,4 +1,4 @@ -using System; +using System; using GitHub.DistributedTask.ObjectTemplating.Tokens; namespace GitHub.DistributedTask.ObjectTemplating diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/IObjectWriter.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/IObjectWriter.cs index c53fcb1e4ed..c6b791b6b54 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/IObjectWriter.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/IObjectWriter.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace GitHub.DistributedTask.ObjectTemplating { diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/ITraceWriter.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/ITraceWriter.cs index 290e1b1ec23..0e7b7205bf4 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/ITraceWriter.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/ITraceWriter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; namespace GitHub.DistributedTask.ObjectTemplating diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/ITraceWriterExtensions.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/ITraceWriterExtensions.cs index d6c274f8a9c..0d38e86e051 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/ITraceWriterExtensions.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/ITraceWriterExtensions.cs @@ -1,4 +1,4 @@ -namespace GitHub.DistributedTask.ObjectTemplating +namespace GitHub.DistributedTask.ObjectTemplating { internal static class ITraceWriterExtensions { diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/BooleanDefinition.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/BooleanDefinition.cs index cd34d9f8433..0ea5fb18997 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/BooleanDefinition.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/BooleanDefinition.cs @@ -1,4 +1,4 @@ -using System; +using System; using GitHub.DistributedTask.ObjectTemplating.Tokens; namespace GitHub.DistributedTask.ObjectTemplating.Schema diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/Definition.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/Definition.cs index 0a35eecb85f..edaa2943aa8 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/Definition.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/Definition.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using GitHub.DistributedTask.ObjectTemplating.Tokens; diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/DefinitionType.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/DefinitionType.cs index b35ee7ae016..8682a8584f5 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/DefinitionType.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/DefinitionType.cs @@ -1,4 +1,4 @@ -namespace GitHub.DistributedTask.ObjectTemplating.Schema +namespace GitHub.DistributedTask.ObjectTemplating.Schema { internal enum DefinitionType { diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/MappingDefinition.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/MappingDefinition.cs index 2d63c4008cd..2153d64c6d9 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/MappingDefinition.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/MappingDefinition.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using GitHub.DistributedTask.ObjectTemplating.Tokens; diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/NullDefinition.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/NullDefinition.cs index 0c7c862036a..e529c417445 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/NullDefinition.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/NullDefinition.cs @@ -1,4 +1,4 @@ -using System; +using System; using GitHub.DistributedTask.ObjectTemplating.Tokens; namespace GitHub.DistributedTask.ObjectTemplating.Schema diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/NumberDefinition.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/NumberDefinition.cs index abf2e13cfd3..df001ee714c 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/NumberDefinition.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/NumberDefinition.cs @@ -1,4 +1,4 @@ -using System; +using System; using GitHub.DistributedTask.ObjectTemplating.Tokens; namespace GitHub.DistributedTask.ObjectTemplating.Schema diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/OneOfDefinition.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/OneOfDefinition.cs index 671f13fb59a..abd275cbd8f 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/OneOfDefinition.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/OneOfDefinition.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using GitHub.DistributedTask.ObjectTemplating.Tokens; diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/PropertyValue.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/PropertyValue.cs index 4064159aa0e..6230c8b701e 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/PropertyValue.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/PropertyValue.cs @@ -1,4 +1,4 @@ -using System; +using System; using GitHub.DistributedTask.ObjectTemplating.Tokens; namespace GitHub.DistributedTask.ObjectTemplating.Schema diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/ScalarDefinition.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/ScalarDefinition.cs index 9e3fddaa807..1a02588e197 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/ScalarDefinition.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/ScalarDefinition.cs @@ -1,4 +1,4 @@ -using System; +using System; using GitHub.DistributedTask.ObjectTemplating.Tokens; namespace GitHub.DistributedTask.ObjectTemplating.Schema diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/SequenceDefinition.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/SequenceDefinition.cs index ec1d5fcfeac..2a70ff9077b 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/SequenceDefinition.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/SequenceDefinition.cs @@ -1,4 +1,4 @@ -using System; +using System; using GitHub.DistributedTask.ObjectTemplating.Tokens; namespace GitHub.DistributedTask.ObjectTemplating.Schema diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/StringDefinition.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/StringDefinition.cs index 7d34a3c6b31..b6508628b62 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/StringDefinition.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/StringDefinition.cs @@ -1,4 +1,4 @@ -using System; +using System; using GitHub.DistributedTask.ObjectTemplating.Tokens; namespace GitHub.DistributedTask.ObjectTemplating.Schema diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/TemplateSchema.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/TemplateSchema.cs index 69e02fa637c..3ca8a70214a 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/TemplateSchema.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/Schema/TemplateSchema.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Text.RegularExpressions; diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/TemplateConstants.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/TemplateConstants.cs index d7378a8728a..9b33ccd7ae4 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/TemplateConstants.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/TemplateConstants.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace GitHub.DistributedTask.ObjectTemplating { diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/TemplateContext.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/TemplateContext.cs index af8cf76eca6..84a3e37631a 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/TemplateContext.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/TemplateContext.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/TemplateEvaluator.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/TemplateEvaluator.cs index 915fc3cbc2b..ee4c7074693 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/TemplateEvaluator.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/TemplateEvaluator.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using GitHub.DistributedTask.ObjectTemplating.Schema; diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/TemplateException.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/TemplateException.cs index 835b75ebd80..317704695ef 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/TemplateException.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/TemplateException.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/TemplateMemory.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/TemplateMemory.cs index 139f5422977..e7093f79f96 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/TemplateMemory.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/TemplateMemory.cs @@ -1,4 +1,4 @@ -using System; +using System; using GitHub.DistributedTask.ObjectTemplating.Tokens; using Newtonsoft.Json.Linq; diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/TemplateReader.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/TemplateReader.cs index b4af6d2fb1b..f2b05d2a727 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/TemplateReader.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/TemplateReader.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Globalization; using System.Linq; diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/TemplateUnraveler.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/TemplateUnraveler.cs index 5ccabfc783b..306c80d5fbd 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/TemplateUnraveler.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/TemplateUnraveler.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Text; using GitHub.DistributedTask.ObjectTemplating.Tokens; diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/TemplateValidationError.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/TemplateValidationError.cs index e5c590d9c14..e629d2854f6 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/TemplateValidationError.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/TemplateValidationError.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Runtime.Serialization; diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/TemplateValidationErrors.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/TemplateValidationErrors.cs index 4ada3c8e610..a87a0bd72bd 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/TemplateValidationErrors.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/TemplateValidationErrors.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/TemplateWriter.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/TemplateWriter.cs index cdfbdf34065..1491e940e18 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/TemplateWriter.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/TemplateWriter.cs @@ -1,4 +1,4 @@ -using System; +using System; using GitHub.DistributedTask.ObjectTemplating.Tokens; namespace GitHub.DistributedTask.ObjectTemplating diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/BasicExpressionToken.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/BasicExpressionToken.cs index db77592528f..9e5211d781e 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/BasicExpressionToken.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/BasicExpressionToken.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Globalization; diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/BooleanToken.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/BooleanToken.cs index 3f58c095fc6..00c0b52833a 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/BooleanToken.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/BooleanToken.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.Runtime.Serialization; using GitHub.DistributedTask.Expressions2.Sdk; diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/ExpressionToken.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/ExpressionToken.cs index 11f5f1bbfdd..aad50c32bec 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/ExpressionToken.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/ExpressionToken.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Globalization; diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/InsertExpressionToken.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/InsertExpressionToken.cs index f8be83cbeaa..cbd4ab2bc29 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/InsertExpressionToken.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/InsertExpressionToken.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.Runtime.Serialization; using GitHub.Services.WebApi.Internal; diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/LiteralToken.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/LiteralToken.cs index 17f6926e84e..642ac05a766 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/LiteralToken.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/LiteralToken.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.Runtime.Serialization; using GitHub.Services.WebApi.Internal; diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/MappingToken.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/MappingToken.cs index ce8b08e3c38..cad31a0d397 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/MappingToken.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/MappingToken.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/NullToken.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/NullToken.cs index e45a98320e6..157f6053ea8 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/NullToken.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/NullToken.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.Runtime.Serialization; using GitHub.DistributedTask.Expressions2.Sdk; diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/NumberToken.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/NumberToken.cs index 79d2f8bdb1a..998ab614aff 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/NumberToken.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/NumberToken.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.Globalization; using System.Runtime.Serialization; diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/ScalarToken.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/ScalarToken.cs index 81dea8e221e..e50352a816d 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/ScalarToken.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/ScalarToken.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using GitHub.Services.WebApi.Internal; diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/SequenceToken.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/SequenceToken.cs index d5bbc6ecc03..1b3c7aea2cc 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/SequenceToken.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/SequenceToken.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/StringToken.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/StringToken.cs index 018268c8df0..f7c1cc61c19 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/StringToken.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/StringToken.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.Runtime.Serialization; using GitHub.DistributedTask.Expressions2.Sdk; diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/TemplateToken.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/TemplateToken.cs index 21a8aab7899..e49eee89444 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/TemplateToken.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/TemplateToken.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Runtime.Serialization; diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/TemplateTokenExtensions.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/TemplateTokenExtensions.cs index c8c0eabb7c4..14ecef7080f 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/TemplateTokenExtensions.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/TemplateTokenExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using GitHub.DistributedTask.Expressions2; diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/TemplateTokenJsonConverter.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/TemplateTokenJsonConverter.cs index eb6c96384a2..d0a7518a3cd 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/TemplateTokenJsonConverter.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/TemplateTokenJsonConverter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Reflection; using GitHub.Services.WebApi; using Newtonsoft.Json; diff --git a/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/TokenType.cs b/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/TokenType.cs index 932b9de6055..8576faee9dc 100644 --- a/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/TokenType.cs +++ b/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/TokenType.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace GitHub.DistributedTask.ObjectTemplating.Tokens { diff --git a/src/Sdk/DTPipelines/Pipelines/ActionStep.cs b/src/Sdk/DTPipelines/Pipelines/ActionStep.cs index f4ed5f041b5..6f92f7fbfd5 100644 --- a/src/Sdk/DTPipelines/Pipelines/ActionStep.cs +++ b/src/Sdk/DTPipelines/Pipelines/ActionStep.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Runtime.Serialization; diff --git a/src/Sdk/DTPipelines/Pipelines/ActionStepDefinitionReference.cs b/src/Sdk/DTPipelines/Pipelines/ActionStepDefinitionReference.cs index 0a41cce5469..e1814ab5e04 100644 --- a/src/Sdk/DTPipelines/Pipelines/ActionStepDefinitionReference.cs +++ b/src/Sdk/DTPipelines/Pipelines/ActionStepDefinitionReference.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.Runtime.Serialization; using Newtonsoft.Json; diff --git a/src/Sdk/DTPipelines/Pipelines/ActionStepDefinitionReferenceConverter.cs b/src/Sdk/DTPipelines/Pipelines/ActionStepDefinitionReferenceConverter.cs index 49431ad43c3..67cdd21b704 100644 --- a/src/Sdk/DTPipelines/Pipelines/ActionStepDefinitionReferenceConverter.cs +++ b/src/Sdk/DTPipelines/Pipelines/ActionStepDefinitionReferenceConverter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Reflection; using GitHub.Services.WebApi; using Newtonsoft.Json; diff --git a/src/Sdk/DTPipelines/Pipelines/ContainerResource.cs b/src/Sdk/DTPipelines/Pipelines/ContainerResource.cs index 113635cfc51..351c09092a6 100644 --- a/src/Sdk/DTPipelines/Pipelines/ContainerResource.cs +++ b/src/Sdk/DTPipelines/Pipelines/ContainerResource.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Runtime.Serialization; diff --git a/src/Sdk/DTPipelines/Pipelines/ContextData/ArrayContextData.cs b/src/Sdk/DTPipelines/Pipelines/ContextData/ArrayContextData.cs index f38f15634f3..7988d217a29 100644 --- a/src/Sdk/DTPipelines/Pipelines/ContextData/ArrayContextData.cs +++ b/src/Sdk/DTPipelines/Pipelines/ContextData/ArrayContextData.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; diff --git a/src/Sdk/DTPipelines/Pipelines/ContextData/BooleanContextData.cs b/src/Sdk/DTPipelines/Pipelines/ContextData/BooleanContextData.cs index 073b098bb57..4aadf3d3f4a 100644 --- a/src/Sdk/DTPipelines/Pipelines/ContextData/BooleanContextData.cs +++ b/src/Sdk/DTPipelines/Pipelines/ContextData/BooleanContextData.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.Runtime.Serialization; using GitHub.DistributedTask.Expressions2.Sdk; diff --git a/src/Sdk/DTPipelines/Pipelines/ContextData/CaseSensitiveDictionaryContextData.cs b/src/Sdk/DTPipelines/Pipelines/ContextData/CaseSensitiveDictionaryContextData.cs index a1fa19ec71e..26a235d0947 100644 --- a/src/Sdk/DTPipelines/Pipelines/ContextData/CaseSensitiveDictionaryContextData.cs +++ b/src/Sdk/DTPipelines/Pipelines/ContextData/CaseSensitiveDictionaryContextData.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; diff --git a/src/Sdk/DTPipelines/Pipelines/ContextData/DictionaryContextData.cs b/src/Sdk/DTPipelines/Pipelines/ContextData/DictionaryContextData.cs index a766c66bc67..bcb308478e6 100644 --- a/src/Sdk/DTPipelines/Pipelines/ContextData/DictionaryContextData.cs +++ b/src/Sdk/DTPipelines/Pipelines/ContextData/DictionaryContextData.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; diff --git a/src/Sdk/DTPipelines/Pipelines/ContextData/JTokenExtensions.cs b/src/Sdk/DTPipelines/Pipelines/ContextData/JTokenExtensions.cs index c9ca04315cc..ea9f5e4f4bb 100644 --- a/src/Sdk/DTPipelines/Pipelines/ContextData/JTokenExtensions.cs +++ b/src/Sdk/DTPipelines/Pipelines/ContextData/JTokenExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using Newtonsoft.Json.Linq; diff --git a/src/Sdk/DTPipelines/Pipelines/ContextData/NumberContextData.cs b/src/Sdk/DTPipelines/Pipelines/ContextData/NumberContextData.cs index 82ad590b1a9..073b4d3b269 100644 --- a/src/Sdk/DTPipelines/Pipelines/ContextData/NumberContextData.cs +++ b/src/Sdk/DTPipelines/Pipelines/ContextData/NumberContextData.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.Globalization; using System.Runtime.Serialization; diff --git a/src/Sdk/DTPipelines/Pipelines/ContextData/PipelineContextData.cs b/src/Sdk/DTPipelines/Pipelines/ContextData/PipelineContextData.cs index 7b2552c6198..c041d21d0ef 100644 --- a/src/Sdk/DTPipelines/Pipelines/ContextData/PipelineContextData.cs +++ b/src/Sdk/DTPipelines/Pipelines/ContextData/PipelineContextData.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.Runtime.Serialization; using GitHub.Services.WebApi.Internal; diff --git a/src/Sdk/DTPipelines/Pipelines/ContextData/PipelineContextDataExtensions.cs b/src/Sdk/DTPipelines/Pipelines/ContextData/PipelineContextDataExtensions.cs index 575e3e8bad1..380e93d0aa3 100644 --- a/src/Sdk/DTPipelines/Pipelines/ContextData/PipelineContextDataExtensions.cs +++ b/src/Sdk/DTPipelines/Pipelines/ContextData/PipelineContextDataExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using GitHub.DistributedTask.ObjectTemplating.Tokens; diff --git a/src/Sdk/DTPipelines/Pipelines/ContextData/PipelineContextDataJsonConverter.cs b/src/Sdk/DTPipelines/Pipelines/ContextData/PipelineContextDataJsonConverter.cs index ce861953503..1e377d708aa 100644 --- a/src/Sdk/DTPipelines/Pipelines/ContextData/PipelineContextDataJsonConverter.cs +++ b/src/Sdk/DTPipelines/Pipelines/ContextData/PipelineContextDataJsonConverter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Reflection; using GitHub.Services.WebApi; using Newtonsoft.Json; diff --git a/src/Sdk/DTPipelines/Pipelines/ContextData/PipelineContextDataType.cs b/src/Sdk/DTPipelines/Pipelines/ContextData/PipelineContextDataType.cs index 0053ff5e045..950e47bd88c 100644 --- a/src/Sdk/DTPipelines/Pipelines/ContextData/PipelineContextDataType.cs +++ b/src/Sdk/DTPipelines/Pipelines/ContextData/PipelineContextDataType.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace GitHub.DistributedTask.Pipelines.ContextData { diff --git a/src/Sdk/DTPipelines/Pipelines/ContextData/StringContextData.cs b/src/Sdk/DTPipelines/Pipelines/ContextData/StringContextData.cs index 5f12d2f782c..33670534086 100644 --- a/src/Sdk/DTPipelines/Pipelines/ContextData/StringContextData.cs +++ b/src/Sdk/DTPipelines/Pipelines/ContextData/StringContextData.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.Runtime.Serialization; using GitHub.DistributedTask.Expressions2.Sdk; diff --git a/src/Sdk/DTPipelines/Pipelines/ContextData/TemplateMemoryExtensions.cs b/src/Sdk/DTPipelines/Pipelines/ContextData/TemplateMemoryExtensions.cs index f35297465d9..eaa3bf31850 100644 --- a/src/Sdk/DTPipelines/Pipelines/ContextData/TemplateMemoryExtensions.cs +++ b/src/Sdk/DTPipelines/Pipelines/ContextData/TemplateMemoryExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using GitHub.DistributedTask.ObjectTemplating; diff --git a/src/Sdk/DTPipelines/Pipelines/ContextData/TemplateTokenExtensions.cs b/src/Sdk/DTPipelines/Pipelines/ContextData/TemplateTokenExtensions.cs index 79cc7984b22..df7db029efb 100644 --- a/src/Sdk/DTPipelines/Pipelines/ContextData/TemplateTokenExtensions.cs +++ b/src/Sdk/DTPipelines/Pipelines/ContextData/TemplateTokenExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using GitHub.DistributedTask.ObjectTemplating.Tokens; diff --git a/src/Sdk/DTPipelines/Pipelines/ExpressionValue.cs b/src/Sdk/DTPipelines/Pipelines/ExpressionValue.cs index 47f9e6f7e2b..7e86a660ec2 100644 --- a/src/Sdk/DTPipelines/Pipelines/ExpressionValue.cs +++ b/src/Sdk/DTPipelines/Pipelines/ExpressionValue.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Reflection; diff --git a/src/Sdk/DTPipelines/Pipelines/Expressions/RegexUtility.cs b/src/Sdk/DTPipelines/Pipelines/Expressions/RegexUtility.cs index 1d415797273..292f7898480 100644 --- a/src/Sdk/DTPipelines/Pipelines/Expressions/RegexUtility.cs +++ b/src/Sdk/DTPipelines/Pipelines/Expressions/RegexUtility.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Text.RegularExpressions; using GitHub.DistributedTask.WebApi; diff --git a/src/Sdk/DTPipelines/Pipelines/Expressions/WellKnownRegularExpressions.cs b/src/Sdk/DTPipelines/Pipelines/Expressions/WellKnownRegularExpressions.cs index 72899fb4253..bf8ecde16ea 100644 --- a/src/Sdk/DTPipelines/Pipelines/Expressions/WellKnownRegularExpressions.cs +++ b/src/Sdk/DTPipelines/Pipelines/Expressions/WellKnownRegularExpressions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Text.RegularExpressions; namespace GitHub.DistributedTask.Pipelines.Expressions diff --git a/src/Sdk/DTPipelines/Pipelines/JobContainer.cs b/src/Sdk/DTPipelines/Pipelines/JobContainer.cs index 901c4fed17d..38fcbb5404d 100644 --- a/src/Sdk/DTPipelines/Pipelines/JobContainer.cs +++ b/src/Sdk/DTPipelines/Pipelines/JobContainer.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; diff --git a/src/Sdk/DTPipelines/Pipelines/JobResources.cs b/src/Sdk/DTPipelines/Pipelines/JobResources.cs index fc9ba761869..99f5554455e 100644 --- a/src/Sdk/DTPipelines/Pipelines/JobResources.cs +++ b/src/Sdk/DTPipelines/Pipelines/JobResources.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.ComponentModel; using System.Runtime.Serialization; using GitHub.DistributedTask.WebApi; diff --git a/src/Sdk/DTPipelines/Pipelines/JobStep.cs b/src/Sdk/DTPipelines/Pipelines/JobStep.cs index 1e5fa86cbab..1af6b7ccc31 100644 --- a/src/Sdk/DTPipelines/Pipelines/JobStep.cs +++ b/src/Sdk/DTPipelines/Pipelines/JobStep.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.Runtime.Serialization; using GitHub.DistributedTask.ObjectTemplating.Tokens; diff --git a/src/Sdk/DTPipelines/Pipelines/ObjectTemplating/JsonObjectReader.cs b/src/Sdk/DTPipelines/Pipelines/ObjectTemplating/JsonObjectReader.cs index 72ec60de039..eae5ca46424 100644 --- a/src/Sdk/DTPipelines/Pipelines/ObjectTemplating/JsonObjectReader.cs +++ b/src/Sdk/DTPipelines/Pipelines/ObjectTemplating/JsonObjectReader.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using GitHub.DistributedTask.ObjectTemplating; using GitHub.DistributedTask.ObjectTemplating.Tokens; diff --git a/src/Sdk/DTPipelines/Pipelines/ObjectTemplating/PipelineTemplateSchemaFactory.cs b/src/Sdk/DTPipelines/Pipelines/ObjectTemplating/PipelineTemplateSchemaFactory.cs index 47048322f2a..1866d11970c 100644 --- a/src/Sdk/DTPipelines/Pipelines/ObjectTemplating/PipelineTemplateSchemaFactory.cs +++ b/src/Sdk/DTPipelines/Pipelines/ObjectTemplating/PipelineTemplateSchemaFactory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.IO; using System.Reflection; diff --git a/src/Sdk/DTPipelines/Pipelines/ObjectTemplating/ReferenceNameBuilder.cs b/src/Sdk/DTPipelines/Pipelines/ObjectTemplating/ReferenceNameBuilder.cs index 2b42f29187b..9abc1b91a25 100644 --- a/src/Sdk/DTPipelines/Pipelines/ObjectTemplating/ReferenceNameBuilder.cs +++ b/src/Sdk/DTPipelines/Pipelines/ObjectTemplating/ReferenceNameBuilder.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Globalization; using System.Text; diff --git a/src/Sdk/DTPipelines/Pipelines/ObjectTemplating/YamlObjectReader.cs b/src/Sdk/DTPipelines/Pipelines/ObjectTemplating/YamlObjectReader.cs index 431cceac003..6c22420f7bd 100644 --- a/src/Sdk/DTPipelines/Pipelines/ObjectTemplating/YamlObjectReader.cs +++ b/src/Sdk/DTPipelines/Pipelines/ObjectTemplating/YamlObjectReader.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; using System.IO; using System.Linq; diff --git a/src/Sdk/DTPipelines/Pipelines/PipelineConstants.cs b/src/Sdk/DTPipelines/Pipelines/PipelineConstants.cs index 2e03671fbb2..54e9b3144bb 100644 --- a/src/Sdk/DTPipelines/Pipelines/PipelineConstants.cs +++ b/src/Sdk/DTPipelines/Pipelines/PipelineConstants.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; namespace GitHub.DistributedTask.Pipelines diff --git a/src/Sdk/DTPipelines/Pipelines/RepositoryResource.cs b/src/Sdk/DTPipelines/Pipelines/RepositoryResource.cs index 67e861f887f..d494e85f9b3 100644 --- a/src/Sdk/DTPipelines/Pipelines/RepositoryResource.cs +++ b/src/Sdk/DTPipelines/Pipelines/RepositoryResource.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.Runtime.Serialization; using Newtonsoft.Json; diff --git a/src/Sdk/DTPipelines/Pipelines/RepositoryTypes.cs b/src/Sdk/DTPipelines/Pipelines/RepositoryTypes.cs index 8b224f7a914..e2be28e222b 100644 --- a/src/Sdk/DTPipelines/Pipelines/RepositoryTypes.cs +++ b/src/Sdk/DTPipelines/Pipelines/RepositoryTypes.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace GitHub.DistributedTask.Pipelines { diff --git a/src/Sdk/DTPipelines/Pipelines/Resource.cs b/src/Sdk/DTPipelines/Pipelines/Resource.cs index 2d7c5d79432..835dd2dcb3f 100644 --- a/src/Sdk/DTPipelines/Pipelines/Resource.cs +++ b/src/Sdk/DTPipelines/Pipelines/Resource.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.Runtime.Serialization; diff --git a/src/Sdk/DTPipelines/Pipelines/ResourceProperties.cs b/src/Sdk/DTPipelines/Pipelines/ResourceProperties.cs index 3abdf7abfbf..c82f9dc7e18 100644 --- a/src/Sdk/DTPipelines/Pipelines/ResourceProperties.cs +++ b/src/Sdk/DTPipelines/Pipelines/ResourceProperties.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; diff --git a/src/Sdk/DTPipelines/Pipelines/ResourceReference.cs b/src/Sdk/DTPipelines/Pipelines/ResourceReference.cs index 668778592cd..00261c108b7 100644 --- a/src/Sdk/DTPipelines/Pipelines/ResourceReference.cs +++ b/src/Sdk/DTPipelines/Pipelines/ResourceReference.cs @@ -1,4 +1,4 @@ -using Newtonsoft.Json; +using Newtonsoft.Json; using System; using System.ComponentModel; using System.Runtime.Serialization; diff --git a/src/Sdk/DTPipelines/Pipelines/ServiceEndpointReference.cs b/src/Sdk/DTPipelines/Pipelines/ServiceEndpointReference.cs index 0d066778ecd..19c183a3cd7 100644 --- a/src/Sdk/DTPipelines/Pipelines/ServiceEndpointReference.cs +++ b/src/Sdk/DTPipelines/Pipelines/ServiceEndpointReference.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.Runtime.Serialization; diff --git a/src/Sdk/DTPipelines/Pipelines/Step.cs b/src/Sdk/DTPipelines/Pipelines/Step.cs index 8c2492eaa28..430ec54f745 100644 --- a/src/Sdk/DTPipelines/Pipelines/Step.cs +++ b/src/Sdk/DTPipelines/Pipelines/Step.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.Runtime.Serialization; using Newtonsoft.Json; diff --git a/src/Sdk/DTPipelines/Pipelines/StepConverter.cs b/src/Sdk/DTPipelines/Pipelines/StepConverter.cs index c6b9ad559b5..a2678406b9c 100644 --- a/src/Sdk/DTPipelines/Pipelines/StepConverter.cs +++ b/src/Sdk/DTPipelines/Pipelines/StepConverter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Reflection; using GitHub.Services.WebApi; using Newtonsoft.Json; diff --git a/src/Sdk/DTPipelines/Pipelines/Validation/NameValidation.cs b/src/Sdk/DTPipelines/Pipelines/Validation/NameValidation.cs index 3c198346fbf..47f6b19b145 100644 --- a/src/Sdk/DTPipelines/Pipelines/Validation/NameValidation.cs +++ b/src/Sdk/DTPipelines/Pipelines/Validation/NameValidation.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.Text; diff --git a/src/Sdk/DTPipelines/Pipelines/WorkspaceOptions.cs b/src/Sdk/DTPipelines/Pipelines/WorkspaceOptions.cs index 2fbab31dd68..064f7354bf4 100644 --- a/src/Sdk/DTPipelines/Pipelines/WorkspaceOptions.cs +++ b/src/Sdk/DTPipelines/Pipelines/WorkspaceOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.Runtime.Serialization; diff --git a/src/Sdk/DTWebApi/WebApi/ActionDownloadInfo.cs b/src/Sdk/DTWebApi/WebApi/ActionDownloadInfo.cs index a6b0749f65a..93d9a2eabb5 100644 --- a/src/Sdk/DTWebApi/WebApi/ActionDownloadInfo.cs +++ b/src/Sdk/DTWebApi/WebApi/ActionDownloadInfo.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.Serialization; namespace GitHub.DistributedTask.WebApi diff --git a/src/Sdk/DTWebApi/WebApi/ActionDownloadInfoCollection.cs b/src/Sdk/DTWebApi/WebApi/ActionDownloadInfoCollection.cs index 1367bf86028..fe1fcfd0736 100644 --- a/src/Sdk/DTWebApi/WebApi/ActionDownloadInfoCollection.cs +++ b/src/Sdk/DTWebApi/WebApi/ActionDownloadInfoCollection.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Runtime.Serialization; namespace GitHub.DistributedTask.WebApi diff --git a/src/Sdk/DTWebApi/WebApi/ActionReference.cs b/src/Sdk/DTWebApi/WebApi/ActionReference.cs index 2c892b49450..ab064d5df31 100644 --- a/src/Sdk/DTWebApi/WebApi/ActionReference.cs +++ b/src/Sdk/DTWebApi/WebApi/ActionReference.cs @@ -1,4 +1,4 @@ -using System.Runtime.Serialization; +using System.Runtime.Serialization; namespace GitHub.DistributedTask.WebApi { diff --git a/src/Sdk/DTWebApi/WebApi/ActionReferenceList.cs b/src/Sdk/DTWebApi/WebApi/ActionReferenceList.cs index b118b99040e..810c8160503 100644 --- a/src/Sdk/DTWebApi/WebApi/ActionReferenceList.cs +++ b/src/Sdk/DTWebApi/WebApi/ActionReferenceList.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Runtime.Serialization; namespace GitHub.DistributedTask.WebApi diff --git a/src/Sdk/DTWebApi/WebApi/ActionsEnvironmentReference.cs b/src/Sdk/DTWebApi/WebApi/ActionsEnvironmentReference.cs index a37dcb68eba..36bd4ac66d7 100644 --- a/src/Sdk/DTWebApi/WebApi/ActionsEnvironmentReference.cs +++ b/src/Sdk/DTWebApi/WebApi/ActionsEnvironmentReference.cs @@ -1,4 +1,4 @@ -using System.Runtime.Serialization; +using System.Runtime.Serialization; using GitHub.DistributedTask.ObjectTemplating.Tokens; namespace GitHub.DistributedTask.WebApi diff --git a/src/Sdk/DTWebApi/WebApi/ActionsStepTelemetry.cs b/src/Sdk/DTWebApi/WebApi/ActionsStepTelemetry.cs index e6ee7f6472a..ce895ff25e3 100644 --- a/src/Sdk/DTWebApi/WebApi/ActionsStepTelemetry.cs +++ b/src/Sdk/DTWebApi/WebApi/ActionsStepTelemetry.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Runtime.Serialization; diff --git a/src/Sdk/DTWebApi/WebApi/AgentLabel.cs b/src/Sdk/DTWebApi/WebApi/AgentLabel.cs index 6d98caed1c9..bc3490c2d75 100644 --- a/src/Sdk/DTWebApi/WebApi/AgentLabel.cs +++ b/src/Sdk/DTWebApi/WebApi/AgentLabel.cs @@ -1,4 +1,4 @@ -using System.Runtime.Serialization; +using System.Runtime.Serialization; using Newtonsoft.Json; namespace GitHub.DistributedTask.WebApi diff --git a/src/Sdk/DTWebApi/WebApi/Issue.cs b/src/Sdk/DTWebApi/WebApi/Issue.cs index af4d2f85034..531a4e6637c 100644 --- a/src/Sdk/DTWebApi/WebApi/Issue.cs +++ b/src/Sdk/DTWebApi/WebApi/Issue.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Runtime.Serialization; diff --git a/src/Sdk/DTWebApi/WebApi/IssueType.cs b/src/Sdk/DTWebApi/WebApi/IssueType.cs index 603d0b59ca3..9e24936ceb6 100644 --- a/src/Sdk/DTWebApi/WebApi/IssueType.cs +++ b/src/Sdk/DTWebApi/WebApi/IssueType.cs @@ -1,4 +1,4 @@ -using System.Runtime.Serialization; +using System.Runtime.Serialization; namespace GitHub.DistributedTask.WebApi { diff --git a/src/Sdk/DTWebApi/WebApi/JobCancelMessage.cs b/src/Sdk/DTWebApi/WebApi/JobCancelMessage.cs index e7b0c78cc79..0748ff8453f 100644 --- a/src/Sdk/DTWebApi/WebApi/JobCancelMessage.cs +++ b/src/Sdk/DTWebApi/WebApi/JobCancelMessage.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.Serialization; using GitHub.Services.WebApi; using Newtonsoft.Json; diff --git a/src/Sdk/DTWebApi/WebApi/JobEvent.cs b/src/Sdk/DTWebApi/WebApi/JobEvent.cs index b6281f96580..f675d35b6fb 100644 --- a/src/Sdk/DTWebApi/WebApi/JobEvent.cs +++ b/src/Sdk/DTWebApi/WebApi/JobEvent.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Reflection; using System.Runtime.Serialization; diff --git a/src/Sdk/DTWebApi/WebApi/JobRequestMessageTypes.cs b/src/Sdk/DTWebApi/WebApi/JobRequestMessageTypes.cs index c2f3a87eec0..48bd0759bf9 100644 --- a/src/Sdk/DTWebApi/WebApi/JobRequestMessageTypes.cs +++ b/src/Sdk/DTWebApi/WebApi/JobRequestMessageTypes.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace GitHub.DistributedTask.WebApi { diff --git a/src/Sdk/DTWebApi/WebApi/JobTelemetry.cs b/src/Sdk/DTWebApi/WebApi/JobTelemetry.cs index 5da4743f1d0..5e246b0e808 100644 --- a/src/Sdk/DTWebApi/WebApi/JobTelemetry.cs +++ b/src/Sdk/DTWebApi/WebApi/JobTelemetry.cs @@ -1,4 +1,4 @@ -using System.Runtime.Serialization; +using System.Runtime.Serialization; namespace GitHub.DistributedTask.WebApi { diff --git a/src/Sdk/DTWebApi/WebApi/LabelType.cs b/src/Sdk/DTWebApi/WebApi/LabelType.cs index dd135020a92..762513746ed 100644 --- a/src/Sdk/DTWebApi/WebApi/LabelType.cs +++ b/src/Sdk/DTWebApi/WebApi/LabelType.cs @@ -1,4 +1,4 @@ -using System.Runtime.Serialization; +using System.Runtime.Serialization; namespace GitHub.DistributedTask.WebApi { diff --git a/src/Sdk/DTWebApi/WebApi/MaskHint.cs b/src/Sdk/DTWebApi/WebApi/MaskHint.cs index 3b5148f742d..685716f6afa 100644 --- a/src/Sdk/DTWebApi/WebApi/MaskHint.cs +++ b/src/Sdk/DTWebApi/WebApi/MaskHint.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.Serialization; namespace GitHub.DistributedTask.WebApi diff --git a/src/Sdk/DTWebApi/WebApi/MaskType.cs b/src/Sdk/DTWebApi/WebApi/MaskType.cs index b21d7bdea4e..65f9d25059c 100644 --- a/src/Sdk/DTWebApi/WebApi/MaskType.cs +++ b/src/Sdk/DTWebApi/WebApi/MaskType.cs @@ -1,4 +1,4 @@ -using System.Runtime.Serialization; +using System.Runtime.Serialization; namespace GitHub.DistributedTask.WebApi { diff --git a/src/Sdk/DTWebApi/WebApi/PackageMetadata.cs b/src/Sdk/DTWebApi/WebApi/PackageMetadata.cs index f02f0f70249..ceb4afb7297 100644 --- a/src/Sdk/DTWebApi/WebApi/PackageMetadata.cs +++ b/src/Sdk/DTWebApi/WebApi/PackageMetadata.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Runtime.Serialization; diff --git a/src/Sdk/DTWebApi/WebApi/PackageVersion.cs b/src/Sdk/DTWebApi/WebApi/PackageVersion.cs index 2c92246c705..d732166d3ff 100644 --- a/src/Sdk/DTWebApi/WebApi/PackageVersion.cs +++ b/src/Sdk/DTWebApi/WebApi/PackageVersion.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; using System.Runtime.Serialization; diff --git a/src/Sdk/DTWebApi/WebApi/ServiceEndpointLegacy/EndpointAuthorization.cs b/src/Sdk/DTWebApi/WebApi/ServiceEndpointLegacy/EndpointAuthorization.cs index 8b7c4cc3abe..b56c8e04b07 100644 --- a/src/Sdk/DTWebApi/WebApi/ServiceEndpointLegacy/EndpointAuthorization.cs +++ b/src/Sdk/DTWebApi/WebApi/ServiceEndpointLegacy/EndpointAuthorization.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Runtime.Serialization; diff --git a/src/Sdk/DTWebApi/WebApi/ServiceEndpointLegacy/SerializationHelper.cs b/src/Sdk/DTWebApi/WebApi/ServiceEndpointLegacy/SerializationHelper.cs index 1340db4bf04..f63c41d645c 100644 --- a/src/Sdk/DTWebApi/WebApi/ServiceEndpointLegacy/SerializationHelper.cs +++ b/src/Sdk/DTWebApi/WebApi/ServiceEndpointLegacy/SerializationHelper.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; namespace GitHub.DistributedTask.WebApi diff --git a/src/Sdk/DTWebApi/WebApi/ServiceEndpointLegacy/ServiceEndpoint.cs b/src/Sdk/DTWebApi/WebApi/ServiceEndpointLegacy/ServiceEndpoint.cs index 65c133cb733..fece4dfd3ab 100644 --- a/src/Sdk/DTWebApi/WebApi/ServiceEndpointLegacy/ServiceEndpoint.cs +++ b/src/Sdk/DTWebApi/WebApi/ServiceEndpointLegacy/ServiceEndpoint.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Runtime.Serialization; using GitHub.Services.WebApi; diff --git a/src/Sdk/DTWebApi/WebApi/TaskAgent.cs b/src/Sdk/DTWebApi/WebApi/TaskAgent.cs index f97322e1382..8897b2a4832 100644 --- a/src/Sdk/DTWebApi/WebApi/TaskAgent.cs +++ b/src/Sdk/DTWebApi/WebApi/TaskAgent.cs @@ -1,4 +1,4 @@ -using GitHub.Services.WebApi; +using GitHub.Services.WebApi; using System; using System.Collections.Generic; using System.Runtime.Serialization; diff --git a/src/Sdk/DTWebApi/WebApi/TaskAgentAuthorization.cs b/src/Sdk/DTWebApi/WebApi/TaskAgentAuthorization.cs index f9ee40046f6..075a21498d7 100644 --- a/src/Sdk/DTWebApi/WebApi/TaskAgentAuthorization.cs +++ b/src/Sdk/DTWebApi/WebApi/TaskAgentAuthorization.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.Serialization; namespace GitHub.DistributedTask.WebApi diff --git a/src/Sdk/DTWebApi/WebApi/TaskAgentHttpClient.cs b/src/Sdk/DTWebApi/WebApi/TaskAgentHttpClient.cs index c97fea0a4d1..4e16ac53a59 100644 --- a/src/Sdk/DTWebApi/WebApi/TaskAgentHttpClient.cs +++ b/src/Sdk/DTWebApi/WebApi/TaskAgentHttpClient.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Globalization; using System.IO; diff --git a/src/Sdk/DTWebApi/WebApi/TaskAgentJobRequest.cs b/src/Sdk/DTWebApi/WebApi/TaskAgentJobRequest.cs index 67318d11ca5..63e77d23604 100644 --- a/src/Sdk/DTWebApi/WebApi/TaskAgentJobRequest.cs +++ b/src/Sdk/DTWebApi/WebApi/TaskAgentJobRequest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; diff --git a/src/Sdk/DTWebApi/WebApi/TaskAgentMessage.cs b/src/Sdk/DTWebApi/WebApi/TaskAgentMessage.cs index b23ebddc8fa..9fe9baf14a5 100644 --- a/src/Sdk/DTWebApi/WebApi/TaskAgentMessage.cs +++ b/src/Sdk/DTWebApi/WebApi/TaskAgentMessage.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.Serialization; namespace GitHub.DistributedTask.WebApi diff --git a/src/Sdk/DTWebApi/WebApi/TaskAgentPool.cs b/src/Sdk/DTWebApi/WebApi/TaskAgentPool.cs index 08cf730326a..7b1cd0c90e9 100644 --- a/src/Sdk/DTWebApi/WebApi/TaskAgentPool.cs +++ b/src/Sdk/DTWebApi/WebApi/TaskAgentPool.cs @@ -1,4 +1,4 @@ -using GitHub.Services.WebApi; +using GitHub.Services.WebApi; using System; using System.Runtime.Serialization; using System.ComponentModel; diff --git a/src/Sdk/DTWebApi/WebApi/TaskAgentPoolReference.cs b/src/Sdk/DTWebApi/WebApi/TaskAgentPoolReference.cs index 714860c1d5c..1f9c8587285 100644 --- a/src/Sdk/DTWebApi/WebApi/TaskAgentPoolReference.cs +++ b/src/Sdk/DTWebApi/WebApi/TaskAgentPoolReference.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.Serialization; namespace GitHub.DistributedTask.WebApi diff --git a/src/Sdk/DTWebApi/WebApi/TaskAgentPoolType.cs b/src/Sdk/DTWebApi/WebApi/TaskAgentPoolType.cs index 91afb1cbbc3..f181a22c156 100644 --- a/src/Sdk/DTWebApi/WebApi/TaskAgentPoolType.cs +++ b/src/Sdk/DTWebApi/WebApi/TaskAgentPoolType.cs @@ -1,4 +1,4 @@ -using System.Runtime.Serialization; +using System.Runtime.Serialization; namespace GitHub.DistributedTask.WebApi { diff --git a/src/Sdk/DTWebApi/WebApi/TaskAgentProvisiongStateConstants.cs b/src/Sdk/DTWebApi/WebApi/TaskAgentProvisiongStateConstants.cs index fd4c5ccd2c2..ec0b2c56f4c 100644 --- a/src/Sdk/DTWebApi/WebApi/TaskAgentProvisiongStateConstants.cs +++ b/src/Sdk/DTWebApi/WebApi/TaskAgentProvisiongStateConstants.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace GitHub.DistributedTask.WebApi { diff --git a/src/Sdk/DTWebApi/WebApi/TaskAgentPublicKey.cs b/src/Sdk/DTWebApi/WebApi/TaskAgentPublicKey.cs index f17d4d6705d..29805da2c2d 100644 --- a/src/Sdk/DTWebApi/WebApi/TaskAgentPublicKey.cs +++ b/src/Sdk/DTWebApi/WebApi/TaskAgentPublicKey.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.Serialization; using GitHub.Services.Common; diff --git a/src/Sdk/DTWebApi/WebApi/TaskAgentSessionKey.cs b/src/Sdk/DTWebApi/WebApi/TaskAgentSessionKey.cs index 852af12e454..d440c268272 100644 --- a/src/Sdk/DTWebApi/WebApi/TaskAgentSessionKey.cs +++ b/src/Sdk/DTWebApi/WebApi/TaskAgentSessionKey.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.Serialization; namespace GitHub.DistributedTask.WebApi diff --git a/src/Sdk/DTWebApi/WebApi/TaskAgentStatus.cs b/src/Sdk/DTWebApi/WebApi/TaskAgentStatus.cs index 35869ceb320..cb1f006c5b4 100644 --- a/src/Sdk/DTWebApi/WebApi/TaskAgentStatus.cs +++ b/src/Sdk/DTWebApi/WebApi/TaskAgentStatus.cs @@ -1,4 +1,4 @@ -using System.Runtime.Serialization; +using System.Runtime.Serialization; namespace GitHub.DistributedTask.WebApi { diff --git a/src/Sdk/DTWebApi/WebApi/TaskHttpClient.cs b/src/Sdk/DTWebApi/WebApi/TaskHttpClient.cs index f312b9d0e4e..2e9456735ff 100644 --- a/src/Sdk/DTWebApi/WebApi/TaskHttpClient.cs +++ b/src/Sdk/DTWebApi/WebApi/TaskHttpClient.cs @@ -1,4 +1,4 @@ -using GitHub.Services.Common; +using GitHub.Services.Common; using GitHub.Services.WebApi; using System; using System.Collections.Generic; diff --git a/src/Sdk/DTWebApi/WebApi/TaskLog.cs b/src/Sdk/DTWebApi/WebApi/TaskLog.cs index aad479097aa..c10d23fbe15 100644 --- a/src/Sdk/DTWebApi/WebApi/TaskLog.cs +++ b/src/Sdk/DTWebApi/WebApi/TaskLog.cs @@ -1,4 +1,4 @@ -using GitHub.Services.Common; +using GitHub.Services.Common; using System; using System.Runtime.Serialization; diff --git a/src/Sdk/DTWebApi/WebApi/TaskLogReference.cs b/src/Sdk/DTWebApi/WebApi/TaskLogReference.cs index b1e65d3be1a..e65a433b56e 100644 --- a/src/Sdk/DTWebApi/WebApi/TaskLogReference.cs +++ b/src/Sdk/DTWebApi/WebApi/TaskLogReference.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.Serialization; namespace GitHub.DistributedTask.WebApi diff --git a/src/Sdk/DTWebApi/WebApi/TaskOrchestrationOwner.cs b/src/Sdk/DTWebApi/WebApi/TaskOrchestrationOwner.cs index ef6bde45114..1c63353f9ac 100644 --- a/src/Sdk/DTWebApi/WebApi/TaskOrchestrationOwner.cs +++ b/src/Sdk/DTWebApi/WebApi/TaskOrchestrationOwner.cs @@ -1,4 +1,4 @@ -using GitHub.Services.WebApi; +using GitHub.Services.WebApi; using System; using System.Runtime.Serialization; diff --git a/src/Sdk/DTWebApi/WebApi/TaskOrchestrationPlanReference.cs b/src/Sdk/DTWebApi/WebApi/TaskOrchestrationPlanReference.cs index 54b61e60060..587d80255e4 100644 --- a/src/Sdk/DTWebApi/WebApi/TaskOrchestrationPlanReference.cs +++ b/src/Sdk/DTWebApi/WebApi/TaskOrchestrationPlanReference.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.Serialization; namespace GitHub.DistributedTask.WebApi diff --git a/src/Sdk/DTWebApi/WebApi/TaskResourceIds.cs b/src/Sdk/DTWebApi/WebApi/TaskResourceIds.cs index 8c0ae1e3bc6..46712c6c83d 100644 --- a/src/Sdk/DTWebApi/WebApi/TaskResourceIds.cs +++ b/src/Sdk/DTWebApi/WebApi/TaskResourceIds.cs @@ -1,4 +1,4 @@ -using System; +using System; using GitHub.Services.Common; namespace GitHub.DistributedTask.WebApi diff --git a/src/Sdk/DTWebApi/WebApi/TaskResult.cs b/src/Sdk/DTWebApi/WebApi/TaskResult.cs index c6367a95370..43cfb16b3d2 100644 --- a/src/Sdk/DTWebApi/WebApi/TaskResult.cs +++ b/src/Sdk/DTWebApi/WebApi/TaskResult.cs @@ -1,4 +1,4 @@ -using System.Runtime.Serialization; +using System.Runtime.Serialization; namespace GitHub.DistributedTask.WebApi { diff --git a/src/Sdk/DTWebApi/WebApi/Timeline.cs b/src/Sdk/DTWebApi/WebApi/Timeline.cs index 2c97132a9a8..8bd180c2119 100644 --- a/src/Sdk/DTWebApi/WebApi/Timeline.cs +++ b/src/Sdk/DTWebApi/WebApi/Timeline.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; diff --git a/src/Sdk/DTWebApi/WebApi/TimelineAttempt.cs b/src/Sdk/DTWebApi/WebApi/TimelineAttempt.cs index 81d423f384a..bca47d6316f 100644 --- a/src/Sdk/DTWebApi/WebApi/TimelineAttempt.cs +++ b/src/Sdk/DTWebApi/WebApi/TimelineAttempt.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.Serialization; namespace GitHub.DistributedTask.WebApi diff --git a/src/Sdk/DTWebApi/WebApi/TimelineRecordFeedLinesWrapper.cs b/src/Sdk/DTWebApi/WebApi/TimelineRecordFeedLinesWrapper.cs index eb7781dd08d..e50b88851a6 100644 --- a/src/Sdk/DTWebApi/WebApi/TimelineRecordFeedLinesWrapper.cs +++ b/src/Sdk/DTWebApi/WebApi/TimelineRecordFeedLinesWrapper.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections; using System.Collections.Generic; using System.Linq; diff --git a/src/Sdk/DTWebApi/WebApi/TimelineRecordState.cs b/src/Sdk/DTWebApi/WebApi/TimelineRecordState.cs index 77f0dbf8427..7f67d348de8 100644 --- a/src/Sdk/DTWebApi/WebApi/TimelineRecordState.cs +++ b/src/Sdk/DTWebApi/WebApi/TimelineRecordState.cs @@ -1,4 +1,4 @@ -using System.Runtime.Serialization; +using System.Runtime.Serialization; namespace GitHub.DistributedTask.WebApi { diff --git a/src/Sdk/DTWebApi/WebApi/TimelineReference.cs b/src/Sdk/DTWebApi/WebApi/TimelineReference.cs index 7b1d0703816..d4cfe0efd07 100644 --- a/src/Sdk/DTWebApi/WebApi/TimelineReference.cs +++ b/src/Sdk/DTWebApi/WebApi/TimelineReference.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.Serialization; namespace GitHub.DistributedTask.WebApi diff --git a/src/Sdk/DTWebApi/WebApi/VariableUtility.cs b/src/Sdk/DTWebApi/WebApi/VariableUtility.cs index 8d0ff3e6e67..4210c1582e2 100644 --- a/src/Sdk/DTWebApi/WebApi/VariableUtility.cs +++ b/src/Sdk/DTWebApi/WebApi/VariableUtility.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; diff --git a/src/Sdk/DTWebApi/WebApi/VariableValue.cs b/src/Sdk/DTWebApi/WebApi/VariableValue.cs index 178590ceba2..3cfd215b954 100644 --- a/src/Sdk/DTWebApi/WebApi/VariableValue.cs +++ b/src/Sdk/DTWebApi/WebApi/VariableValue.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.Serialization; namespace GitHub.DistributedTask.WebApi diff --git a/src/Sdk/DTWebApi/WebApi/VersionParser.cs b/src/Sdk/DTWebApi/WebApi/VersionParser.cs index 3e0ffd9510e..e0cf886753e 100644 --- a/src/Sdk/DTWebApi/WebApi/VersionParser.cs +++ b/src/Sdk/DTWebApi/WebApi/VersionParser.cs @@ -1,4 +1,4 @@ -using GitHub.Services.Common; +using GitHub.Services.Common; using System; namespace GitHub.DistributedTask.WebApi diff --git a/src/Sdk/DTWebApi/WebApi/WellKnownServiceEndpointNames.cs b/src/Sdk/DTWebApi/WebApi/WellKnownServiceEndpointNames.cs index d7a6853dbd9..36d731b71e8 100644 --- a/src/Sdk/DTWebApi/WebApi/WellKnownServiceEndpointNames.cs +++ b/src/Sdk/DTWebApi/WebApi/WellKnownServiceEndpointNames.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace GitHub.DistributedTask.WebApi { diff --git a/src/Sdk/PipelinesWebApi/Contracts/ActionsStorageArtifact.cs b/src/Sdk/PipelinesWebApi/Contracts/ActionsStorageArtifact.cs index de63d248cdc..cf77ce999e0 100644 --- a/src/Sdk/PipelinesWebApi/Contracts/ActionsStorageArtifact.cs +++ b/src/Sdk/PipelinesWebApi/Contracts/ActionsStorageArtifact.cs @@ -1,4 +1,4 @@ -using System.Runtime.Serialization; +using System.Runtime.Serialization; using GitHub.Services.WebApi; namespace GitHub.Actions.Pipelines.WebApi diff --git a/src/Sdk/PipelinesWebApi/Contracts/Artifact.cs b/src/Sdk/PipelinesWebApi/Contracts/Artifact.cs index f78065ff169..fad6928e8fa 100644 --- a/src/Sdk/PipelinesWebApi/Contracts/Artifact.cs +++ b/src/Sdk/PipelinesWebApi/Contracts/Artifact.cs @@ -1,4 +1,4 @@ -using System.Runtime.Serialization; +using System.Runtime.Serialization; using GitHub.Actions.Pipelines.WebApi.Contracts; using Newtonsoft.Json; diff --git a/src/Sdk/PipelinesWebApi/Contracts/ArtifactBaseJsonConverter.cs b/src/Sdk/PipelinesWebApi/Contracts/ArtifactBaseJsonConverter.cs index 3a3ad979d74..f11fa658621 100644 --- a/src/Sdk/PipelinesWebApi/Contracts/ArtifactBaseJsonConverter.cs +++ b/src/Sdk/PipelinesWebApi/Contracts/ArtifactBaseJsonConverter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Reflection; using GitHub.Services.WebApi; using Newtonsoft.Json; diff --git a/src/Sdk/PipelinesWebApi/Contracts/ArtifactJsonConverter.cs b/src/Sdk/PipelinesWebApi/Contracts/ArtifactJsonConverter.cs index 923f1fc2818..a81e44a0d97 100644 --- a/src/Sdk/PipelinesWebApi/Contracts/ArtifactJsonConverter.cs +++ b/src/Sdk/PipelinesWebApi/Contracts/ArtifactJsonConverter.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace GitHub.Actions.Pipelines.WebApi.Contracts { diff --git a/src/Sdk/PipelinesWebApi/Contracts/ArtifactType.cs b/src/Sdk/PipelinesWebApi/Contracts/ArtifactType.cs index 48004fa6f93..3403d9bb237 100644 --- a/src/Sdk/PipelinesWebApi/Contracts/ArtifactType.cs +++ b/src/Sdk/PipelinesWebApi/Contracts/ArtifactType.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.Serialization; using Newtonsoft.Json; diff --git a/src/Sdk/PipelinesWebApi/Contracts/ArtifactTypeEnumJsonConverter.cs b/src/Sdk/PipelinesWebApi/Contracts/ArtifactTypeEnumJsonConverter.cs index cf11ab94911..11bfe1471b9 100644 --- a/src/Sdk/PipelinesWebApi/Contracts/ArtifactTypeEnumJsonConverter.cs +++ b/src/Sdk/PipelinesWebApi/Contracts/ArtifactTypeEnumJsonConverter.cs @@ -1,4 +1,4 @@ -using Newtonsoft.Json; +using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using System; using System.Net.Http.Formatting; diff --git a/src/Sdk/PipelinesWebApi/Contracts/CreateActionsStorageArtifactParameters.cs b/src/Sdk/PipelinesWebApi/Contracts/CreateActionsStorageArtifactParameters.cs index 4c17742f51e..e0fed740767 100644 --- a/src/Sdk/PipelinesWebApi/Contracts/CreateActionsStorageArtifactParameters.cs +++ b/src/Sdk/PipelinesWebApi/Contracts/CreateActionsStorageArtifactParameters.cs @@ -1,4 +1,4 @@ -using System.Runtime.Serialization; +using System.Runtime.Serialization; namespace GitHub.Actions.Pipelines.WebApi { diff --git a/src/Sdk/PipelinesWebApi/Contracts/CreateArtifactParameters.cs b/src/Sdk/PipelinesWebApi/Contracts/CreateArtifactParameters.cs index 3b8b5f6e847..06deeddb1d4 100644 --- a/src/Sdk/PipelinesWebApi/Contracts/CreateArtifactParameters.cs +++ b/src/Sdk/PipelinesWebApi/Contracts/CreateArtifactParameters.cs @@ -1,4 +1,4 @@ -using System.Runtime.Serialization; +using System.Runtime.Serialization; using Newtonsoft.Json; namespace GitHub.Actions.Pipelines.WebApi diff --git a/src/Sdk/PipelinesWebApi/Contracts/CreateArtifactParametersJsonConverter.cs b/src/Sdk/PipelinesWebApi/Contracts/CreateArtifactParametersJsonConverter.cs index 40949d1a743..17e56ab437e 100644 --- a/src/Sdk/PipelinesWebApi/Contracts/CreateArtifactParametersJsonConverter.cs +++ b/src/Sdk/PipelinesWebApi/Contracts/CreateArtifactParametersJsonConverter.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace GitHub.Actions.Pipelines.WebApi { diff --git a/src/Sdk/PipelinesWebApi/Contracts/GetArtifactExpandOptions.cs b/src/Sdk/PipelinesWebApi/Contracts/GetArtifactExpandOptions.cs index 3494017a596..5856bac6f19 100644 --- a/src/Sdk/PipelinesWebApi/Contracts/GetArtifactExpandOptions.cs +++ b/src/Sdk/PipelinesWebApi/Contracts/GetArtifactExpandOptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; namespace GitHub.Actions.Pipelines.WebApi diff --git a/src/Sdk/PipelinesWebApi/FlagsEnum.cs b/src/Sdk/PipelinesWebApi/FlagsEnum.cs index abc1efa65d7..e1390c54cd5 100644 --- a/src/Sdk/PipelinesWebApi/FlagsEnum.cs +++ b/src/Sdk/PipelinesWebApi/FlagsEnum.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; diff --git a/src/Sdk/PipelinesWebApi/Generated/PipelinesHttpClientBase.cs b/src/Sdk/PipelinesWebApi/Generated/PipelinesHttpClientBase.cs index 44d6fd25813..bf6c4765079 100644 --- a/src/Sdk/PipelinesWebApi/Generated/PipelinesHttpClientBase.cs +++ b/src/Sdk/PipelinesWebApi/Generated/PipelinesHttpClientBase.cs @@ -1,4 +1,4 @@ -/* +/* * --------------------------------------------------------- * Copyright(C) Microsoft Corporation. All rights reserved. * --------------------------------------------------------- diff --git a/src/Sdk/PipelinesWebApi/KnownFlagsEnumTypeConverter.cs b/src/Sdk/PipelinesWebApi/KnownFlagsEnumTypeConverter.cs index 7861785658c..625f9c893d9 100644 --- a/src/Sdk/PipelinesWebApi/KnownFlagsEnumTypeConverter.cs +++ b/src/Sdk/PipelinesWebApi/KnownFlagsEnumTypeConverter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.Globalization; diff --git a/src/Sdk/PipelinesWebApi/PipelinesHttpClient.cs b/src/Sdk/PipelinesWebApi/PipelinesHttpClient.cs index 5b854ed53c4..257e91d5fd0 100644 --- a/src/Sdk/PipelinesWebApi/PipelinesHttpClient.cs +++ b/src/Sdk/PipelinesWebApi/PipelinesHttpClient.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Net.Http; using GitHub.Services.Common; using GitHub.Services.WebApi; diff --git a/src/Sdk/PipelinesWebApi/PipelinesResourceIds.cs b/src/Sdk/PipelinesWebApi/PipelinesResourceIds.cs index 0cc620b07f9..b8a7ebdf4b8 100644 --- a/src/Sdk/PipelinesWebApi/PipelinesResourceIds.cs +++ b/src/Sdk/PipelinesWebApi/PipelinesResourceIds.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace GitHub.Actions.Pipelines.WebApi { diff --git a/src/Sdk/PipelinesWebApi/UnknownEnum.cs b/src/Sdk/PipelinesWebApi/UnknownEnum.cs index 48ab699ebf1..aef59a8fd55 100644 --- a/src/Sdk/PipelinesWebApi/UnknownEnum.cs +++ b/src/Sdk/PipelinesWebApi/UnknownEnum.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using System.Runtime.Serialization; diff --git a/src/Sdk/PipelinesWebApi/UnknownEnumJsonConverter.cs b/src/Sdk/PipelinesWebApi/UnknownEnumJsonConverter.cs index c4073c9639c..ecb6d7f5a1b 100644 --- a/src/Sdk/PipelinesWebApi/UnknownEnumJsonConverter.cs +++ b/src/Sdk/PipelinesWebApi/UnknownEnumJsonConverter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using Newtonsoft.Json; using Newtonsoft.Json.Converters; diff --git a/src/Sdk/Sdk.csproj b/src/Sdk/Sdk.csproj index ff1cb85a4fe..94f76e8aaf7 100644 --- a/src/Sdk/Sdk.csproj +++ b/src/Sdk/Sdk.csproj @@ -1,12 +1,8 @@ - net6.0 Library - win-x64;win-x86;linux-x64;linux-arm64;linux-arm;osx-x64;osx-arm64;win-arm64 - true NU1701;NU1603 - $(Version) TRACE 8.0 true @@ -17,10 +13,10 @@ - - + + diff --git a/src/Sdk/WebApi/WebApi/Attributes.cs b/src/Sdk/WebApi/WebApi/Attributes.cs index c484852ce87..7eb24802712 100644 --- a/src/Sdk/WebApi/WebApi/Attributes.cs +++ b/src/Sdk/WebApi/WebApi/Attributes.cs @@ -1,4 +1,4 @@ -using System; +using System; using GitHub.Services.WebApi.Internal; namespace GitHub.Services.WebApi diff --git a/src/Sdk/WebApi/WebApi/Constants.cs b/src/Sdk/WebApi/WebApi/Constants.cs index 5ea63d3cc70..0dc05beba03 100644 --- a/src/Sdk/WebApi/WebApi/Constants.cs +++ b/src/Sdk/WebApi/WebApi/Constants.cs @@ -1,4 +1,4 @@ -using GitHub.Services.Common; +using GitHub.Services.Common; using System; using System.ComponentModel; using System.Runtime.Serialization; diff --git a/src/Sdk/WebApi/WebApi/Contracts/FileContainer/Enumerations.cs b/src/Sdk/WebApi/WebApi/Contracts/FileContainer/Enumerations.cs index 788ea25a17d..fa59f0fb740 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/FileContainer/Enumerations.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/FileContainer/Enumerations.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.Serialization; namespace GitHub.Services.FileContainer diff --git a/src/Sdk/WebApi/WebApi/Contracts/FileContainer/FileContainer.cs b/src/Sdk/WebApi/WebApi/Contracts/FileContainer/FileContainer.cs index 867fc8e7e40..fb4c228dc69 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/FileContainer/FileContainer.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/FileContainer/FileContainer.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.Runtime.Serialization; diff --git a/src/Sdk/WebApi/WebApi/Contracts/FileContainer/FileContainerItem.cs b/src/Sdk/WebApi/WebApi/Contracts/FileContainer/FileContainerItem.cs index d6052e78b65..b1ec0ccb377 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/FileContainer/FileContainerItem.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/FileContainer/FileContainerItem.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.Runtime.Serialization; using System.Text; diff --git a/src/Sdk/WebApi/WebApi/Contracts/Graph/Constants.cs b/src/Sdk/WebApi/WebApi/Contracts/Graph/Constants.cs index 45f20ecbd0d..17429776c5d 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/Graph/Constants.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/Graph/Constants.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using GitHub.Services.Common; diff --git a/src/Sdk/WebApi/WebApi/Contracts/Identity/IReadOnlyVssIdentity.cs b/src/Sdk/WebApi/WebApi/Contracts/Identity/IReadOnlyVssIdentity.cs index bda88d506a6..6722d80a955 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/Identity/IReadOnlyVssIdentity.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/Identity/IReadOnlyVssIdentity.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace GitHub.Services.Identity { diff --git a/src/Sdk/WebApi/WebApi/Contracts/Identity/IVssIdentity.cs b/src/Sdk/WebApi/WebApi/Contracts/Identity/IVssIdentity.cs index e8fb0fa52c1..a80b98d26dc 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/Identity/IVssIdentity.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/Identity/IVssIdentity.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace GitHub.Services.Identity { diff --git a/src/Sdk/WebApi/WebApi/Contracts/Identity/Identity.cs b/src/Sdk/WebApi/WebApi/Contracts/Identity/Identity.cs index eb9b896ada8..d3aef3186b9 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/Identity/Identity.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/Identity/Identity.cs @@ -1,4 +1,4 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Collections.Generic; using System.ComponentModel; diff --git a/src/Sdk/WebApi/WebApi/Contracts/Identity/IdentityDescriptor.cs b/src/Sdk/WebApi/WebApi/Contracts/Identity/IdentityDescriptor.cs index 9d6b7e141de..e56361a474b 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/Identity/IdentityDescriptor.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/Identity/IdentityDescriptor.cs @@ -1,4 +1,4 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Collections.Generic; using System.ComponentModel; diff --git a/src/Sdk/WebApi/WebApi/Contracts/Identity/IdentityEnumerations.cs b/src/Sdk/WebApi/WebApi/Contracts/Identity/IdentityEnumerations.cs index fdcf8e78c10..e1e6c337c08 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/Identity/IdentityEnumerations.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/Identity/IdentityEnumerations.cs @@ -1,4 +1,4 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Runtime.Serialization; using System.Xml.Serialization; diff --git a/src/Sdk/WebApi/WebApi/Contracts/Identity/IdentityMetaType.cs b/src/Sdk/WebApi/WebApi/Contracts/Identity/IdentityMetaType.cs index 3ffcf165d4e..c08ac7c9d50 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/Identity/IdentityMetaType.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/Identity/IdentityMetaType.cs @@ -1,4 +1,4 @@ - + namespace GitHub.Services.Identity { public enum IdentityMetaType diff --git a/src/Sdk/WebApi/WebApi/Contracts/Location/AccessMapping.cs b/src/Sdk/WebApi/WebApi/Contracts/Location/AccessMapping.cs index 31b00a9df7d..b72d9bc8988 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/Location/AccessMapping.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/Location/AccessMapping.cs @@ -1,4 +1,4 @@ -using GitHub.Services.Common; +using GitHub.Services.Common; using GitHub.Services.WebApi; using System; using System.Diagnostics; diff --git a/src/Sdk/WebApi/WebApi/Contracts/Location/ConnectionData.cs b/src/Sdk/WebApi/WebApi/Contracts/Location/ConnectionData.cs index a3916c22d91..f3243b9237e 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/Location/ConnectionData.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/Location/ConnectionData.cs @@ -1,4 +1,4 @@ -using GitHub.Services.Common; +using GitHub.Services.Common; using GitHub.Services.Common.Internal; using GitHub.Services.WebApi; using System; diff --git a/src/Sdk/WebApi/WebApi/Contracts/Location/Constants.cs b/src/Sdk/WebApi/WebApi/Contracts/Location/Constants.cs index d825e0665f0..3f3d868e233 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/Location/Constants.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/Location/Constants.cs @@ -1,4 +1,4 @@ -using GitHub.Services.Common; +using GitHub.Services.Common; using System; using System.ComponentModel; using System.Runtime.Serialization; diff --git a/src/Sdk/WebApi/WebApi/Contracts/Location/LocationMapping.cs b/src/Sdk/WebApi/WebApi/Contracts/Location/LocationMapping.cs index 24d73a2bd1f..eedc6313522 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/Location/LocationMapping.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/Location/LocationMapping.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Diagnostics; using System.Runtime.Serialization; using System.Xml; diff --git a/src/Sdk/WebApi/WebApi/Contracts/Location/ServiceDefinition.cs b/src/Sdk/WebApi/WebApi/Contracts/Location/ServiceDefinition.cs index 4954914b787..7449ad08854 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/Location/ServiceDefinition.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/Location/ServiceDefinition.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; diff --git a/src/Sdk/WebApi/WebApi/Contracts/Patch/AddPatchOperation.cs b/src/Sdk/WebApi/WebApi/Contracts/Patch/AddPatchOperation.cs index 6242ecfb3e0..54351436f2d 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/Patch/AddPatchOperation.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/Patch/AddPatchOperation.cs @@ -1,4 +1,4 @@ -using System.Collections; +using System.Collections; using System.ComponentModel; using GitHub.Services.Common; using GitHub.Services.WebApi.Patch.Json; diff --git a/src/Sdk/WebApi/WebApi/Contracts/Patch/Exceptions.cs b/src/Sdk/WebApi/WebApi/Contracts/Patch/Exceptions.cs index a9d4ca455de..6443c0027c2 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/Patch/Exceptions.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/Patch/Exceptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.Serialization; using GitHub.Services.Common; diff --git a/src/Sdk/WebApi/WebApi/Contracts/Patch/IPatchDocument.cs b/src/Sdk/WebApi/WebApi/Contracts/Patch/IPatchDocument.cs index b4a3a119e86..099688a5b7c 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/Patch/IPatchDocument.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/Patch/IPatchDocument.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace GitHub.Services.WebApi.Patch { diff --git a/src/Sdk/WebApi/WebApi/Contracts/Patch/IPatchOperation.cs b/src/Sdk/WebApi/WebApi/Contracts/Patch/IPatchOperation.cs index 03abda6308a..d1af4929601 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/Patch/IPatchOperation.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/Patch/IPatchOperation.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace GitHub.Services.WebApi.Patch { diff --git a/src/Sdk/WebApi/WebApi/Contracts/Patch/IPatchOperationApplied.cs b/src/Sdk/WebApi/WebApi/Contracts/Patch/IPatchOperationApplied.cs index ad8926e832d..c9633a71b12 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/Patch/IPatchOperationApplied.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/Patch/IPatchOperationApplied.cs @@ -1,4 +1,4 @@ -namespace GitHub.Services.WebApi.Patch +namespace GitHub.Services.WebApi.Patch { /// /// Event for when a patch operation has been applied. diff --git a/src/Sdk/WebApi/WebApi/Contracts/Patch/IPatchOperationApplying.cs b/src/Sdk/WebApi/WebApi/Contracts/Patch/IPatchOperationApplying.cs index fd41c848842..bd0c51b33a5 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/Patch/IPatchOperationApplying.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/Patch/IPatchOperationApplying.cs @@ -1,4 +1,4 @@ -namespace GitHub.Services.WebApi.Patch +namespace GitHub.Services.WebApi.Patch { /// /// Event for when a patch operation is about to be applied diff --git a/src/Sdk/WebApi/WebApi/Contracts/Patch/Json/JsonPatchOperation.cs b/src/Sdk/WebApi/WebApi/Contracts/Patch/Json/JsonPatchOperation.cs index 08cf4516a5b..906e3cf4eb3 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/Patch/Json/JsonPatchOperation.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/Patch/Json/JsonPatchOperation.cs @@ -1,4 +1,4 @@ -using System.Runtime.Serialization; +using System.Runtime.Serialization; namespace GitHub.Services.WebApi.Patch.Json { diff --git a/src/Sdk/WebApi/WebApi/Contracts/Patch/ObjectDictionaryConverter.cs b/src/Sdk/WebApi/WebApi/Contracts/Patch/ObjectDictionaryConverter.cs index fec6cb8b993..4970c32fc17 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/Patch/ObjectDictionaryConverter.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/Patch/ObjectDictionaryConverter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using Newtonsoft.Json; using Newtonsoft.Json.Converters; diff --git a/src/Sdk/WebApi/WebApi/Contracts/Patch/Operation.cs b/src/Sdk/WebApi/WebApi/Contracts/Patch/Operation.cs index 10883914ae2..9386ef3060f 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/Patch/Operation.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/Patch/Operation.cs @@ -1,4 +1,4 @@ -namespace GitHub.Services.WebApi.Patch +namespace GitHub.Services.WebApi.Patch { // See RFC 6902 - JSON Patch for more details. // http://www.faqs.org/rfcs/rfc6902.html diff --git a/src/Sdk/WebApi/WebApi/Contracts/Patch/PatchOperation.cs b/src/Sdk/WebApi/WebApi/Contracts/Patch/PatchOperation.cs index 433100c77d9..88d4cd71066 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/Patch/PatchOperation.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/Patch/PatchOperation.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; diff --git a/src/Sdk/WebApi/WebApi/Contracts/Patch/PatchOperationAppliedEventArgs.cs b/src/Sdk/WebApi/WebApi/Contracts/Patch/PatchOperationAppliedEventArgs.cs index b647e7ad271..1b0d329b631 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/Patch/PatchOperationAppliedEventArgs.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/Patch/PatchOperationAppliedEventArgs.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace GitHub.Services.WebApi.Patch { diff --git a/src/Sdk/WebApi/WebApi/Contracts/Patch/PatchOperationApplyingEventArgs.cs b/src/Sdk/WebApi/WebApi/Contracts/Patch/PatchOperationApplyingEventArgs.cs index 584bf821898..56f1e9104b9 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/Patch/PatchOperationApplyingEventArgs.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/Patch/PatchOperationApplyingEventArgs.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace GitHub.Services.WebApi.Patch { diff --git a/src/Sdk/WebApi/WebApi/Contracts/Patch/RemovePatchOperation.cs b/src/Sdk/WebApi/WebApi/Contracts/Patch/RemovePatchOperation.cs index 051613176b7..e42651e19bd 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/Patch/RemovePatchOperation.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/Patch/RemovePatchOperation.cs @@ -1,4 +1,4 @@ -using System.Collections; +using System.Collections; using System.ComponentModel; using GitHub.Services.Common; using GitHub.Services.WebApi.Patch.Json; diff --git a/src/Sdk/WebApi/WebApi/Contracts/Patch/ReplacePatchOperation.cs b/src/Sdk/WebApi/WebApi/Contracts/Patch/ReplacePatchOperation.cs index 281da154af1..4a81b905e82 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/Patch/ReplacePatchOperation.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/Patch/ReplacePatchOperation.cs @@ -1,4 +1,4 @@ -using System.Collections; +using System.Collections; using System.ComponentModel; using GitHub.Services.Common; using GitHub.Services.WebApi.Patch.Json; diff --git a/src/Sdk/WebApi/WebApi/Contracts/Patch/TestPatchOperation.cs b/src/Sdk/WebApi/WebApi/Contracts/Patch/TestPatchOperation.cs index aff55d20f2b..7481cbcb9ae 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/Patch/TestPatchOperation.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/Patch/TestPatchOperation.cs @@ -1,4 +1,4 @@ -using System.Collections; +using System.Collections; using GitHub.Services.Common; using GitHub.Services.WebApi.Patch.Json; diff --git a/src/Sdk/WebApi/WebApi/Contracts/Profile/AttributeDescriptor.cs b/src/Sdk/WebApi/WebApi/Contracts/Profile/AttributeDescriptor.cs index b6f99a851de..62d61706a75 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/Profile/AttributeDescriptor.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/Profile/AttributeDescriptor.cs @@ -1,4 +1,4 @@ -using GitHub.Services.Common; +using GitHub.Services.Common; using System; using System.Collections.Generic; using System.Runtime.Serialization; diff --git a/src/Sdk/WebApi/WebApi/Contracts/Profile/AttributesContainer.cs b/src/Sdk/WebApi/WebApi/Contracts/Profile/AttributesContainer.cs index 79ad73be84f..10e6ccbb120 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/Profile/AttributesContainer.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/Profile/AttributesContainer.cs @@ -1,4 +1,4 @@ -using GitHub.Services.Common; +using GitHub.Services.Common; using System; using System.Collections.Generic; using System.Linq; diff --git a/src/Sdk/WebApi/WebApi/Contracts/Profile/AttributesQueryContext.cs b/src/Sdk/WebApi/WebApi/Contracts/Profile/AttributesQueryContext.cs index 94db2400a20..6439fce5ad1 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/Profile/AttributesQueryContext.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/Profile/AttributesQueryContext.cs @@ -1,4 +1,4 @@ -using GitHub.Services.Common; +using GitHub.Services.Common; using System; using System.Runtime.Serialization; diff --git a/src/Sdk/WebApi/WebApi/Contracts/Profile/Avatar.cs b/src/Sdk/WebApi/WebApi/Contracts/Profile/Avatar.cs index b38f1d9f6ae..4d583d1463c 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/Profile/Avatar.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/Profile/Avatar.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.Serialization; namespace GitHub.Services.Profile diff --git a/src/Sdk/WebApi/WebApi/Contracts/Profile/CoreProfileAttribute.cs b/src/Sdk/WebApi/WebApi/Contracts/Profile/CoreProfileAttribute.cs index 2fcbcba446a..986f51b78b2 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/Profile/CoreProfileAttribute.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/Profile/CoreProfileAttribute.cs @@ -1,4 +1,4 @@ -using System.Runtime.Serialization; +using System.Runtime.Serialization; namespace GitHub.Services.Profile { diff --git a/src/Sdk/WebApi/WebApi/Contracts/Profile/ITimeStamped.cs b/src/Sdk/WebApi/WebApi/Contracts/Profile/ITimeStamped.cs index dd3eb87adb3..59afcaf2848 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/Profile/ITimeStamped.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/Profile/ITimeStamped.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.Serialization; namespace GitHub.Services.Profile diff --git a/src/Sdk/WebApi/WebApi/Contracts/Profile/IVersioned.cs b/src/Sdk/WebApi/WebApi/Contracts/Profile/IVersioned.cs index cb622d5ecda..30a2a3e7e54 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/Profile/IVersioned.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/Profile/IVersioned.cs @@ -1,4 +1,4 @@ -using System.Runtime.Serialization; +using System.Runtime.Serialization; namespace GitHub.Services.Profile { diff --git a/src/Sdk/WebApi/WebApi/Contracts/Profile/Profile.cs b/src/Sdk/WebApi/WebApi/Contracts/Profile/Profile.cs index 42fb13324c3..10777ca6367 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/Profile/Profile.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/Profile/Profile.cs @@ -1,4 +1,4 @@ -using GitHub.Services.Common; +using GitHub.Services.Common; using System; using System.Collections.Generic; using System.Linq; diff --git a/src/Sdk/WebApi/WebApi/Contracts/Profile/ProfileAttribute.cs b/src/Sdk/WebApi/WebApi/Contracts/Profile/ProfileAttribute.cs index b62aac92ab8..6cd5b760a14 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/Profile/ProfileAttribute.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/Profile/ProfileAttribute.cs @@ -1,4 +1,4 @@ -using System.Runtime.Serialization; +using System.Runtime.Serialization; namespace GitHub.Services.Profile { diff --git a/src/Sdk/WebApi/WebApi/Contracts/Profile/ProfileAttributeBase.cs b/src/Sdk/WebApi/WebApi/Contracts/Profile/ProfileAttributeBase.cs index f667c3da589..4fae27c8e5a 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/Profile/ProfileAttributeBase.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/Profile/ProfileAttributeBase.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.Serialization; namespace GitHub.Services.Profile diff --git a/src/Sdk/WebApi/WebApi/Contracts/Profile/ProfileQueryContext.cs b/src/Sdk/WebApi/WebApi/Contracts/Profile/ProfileQueryContext.cs index b7e6b67bd02..69d8ad1ba8b 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/Profile/ProfileQueryContext.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/Profile/ProfileQueryContext.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.Serialization; namespace GitHub.Services.Profile diff --git a/src/Sdk/WebApi/WebApi/Contracts/PropertiesCollection.cs b/src/Sdk/WebApi/WebApi/Contracts/PropertiesCollection.cs index 03e868ac5b8..c09aa1de926 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/PropertiesCollection.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/PropertiesCollection.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections; using System.Collections.Generic; using System.Reflection; diff --git a/src/Sdk/WebApi/WebApi/Contracts/ReferenceLink/ReferenceLink.cs b/src/Sdk/WebApi/WebApi/Contracts/ReferenceLink/ReferenceLink.cs index 583efb56c75..c2d470ec91c 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/ReferenceLink/ReferenceLink.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/ReferenceLink/ReferenceLink.cs @@ -1,4 +1,4 @@ -using GitHub.Services.Common; +using GitHub.Services.Common; using System; using System.Runtime.Serialization; diff --git a/src/Sdk/WebApi/WebApi/Contracts/ReferenceLink/ReferenceLinks.cs b/src/Sdk/WebApi/WebApi/Contracts/ReferenceLink/ReferenceLinks.cs index aa348892bc2..426439eedea 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/ReferenceLink/ReferenceLinks.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/ReferenceLink/ReferenceLinks.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; diff --git a/src/Sdk/WebApi/WebApi/Contracts/SignedUrl/SignedUrl.cs b/src/Sdk/WebApi/WebApi/Contracts/SignedUrl/SignedUrl.cs index 1802e7fe282..ece793cdb09 100644 --- a/src/Sdk/WebApi/WebApi/Contracts/SignedUrl/SignedUrl.cs +++ b/src/Sdk/WebApi/WebApi/Contracts/SignedUrl/SignedUrl.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.Serialization; namespace GitHub.Services.WebApi diff --git a/src/Sdk/WebApi/WebApi/Exceptions/FileContainerExceptions.cs b/src/Sdk/WebApi/WebApi/Exceptions/FileContainerExceptions.cs index 4216c95e773..e3892cf3da9 100644 --- a/src/Sdk/WebApi/WebApi/Exceptions/FileContainerExceptions.cs +++ b/src/Sdk/WebApi/WebApi/Exceptions/FileContainerExceptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Diagnostics.CodeAnalysis; using GitHub.Services.Common; using GitHub.Services.WebApi; diff --git a/src/Sdk/WebApi/WebApi/Exceptions/LocationExceptions.cs b/src/Sdk/WebApi/WebApi/Exceptions/LocationExceptions.cs index 44b44cf2f88..634b516be78 100644 --- a/src/Sdk/WebApi/WebApi/Exceptions/LocationExceptions.cs +++ b/src/Sdk/WebApi/WebApi/Exceptions/LocationExceptions.cs @@ -1,4 +1,4 @@ -using GitHub.Services.Common; +using GitHub.Services.Common; using System; using System.Diagnostics.CodeAnalysis; using System.Runtime.Serialization; diff --git a/src/Sdk/WebApi/WebApi/Exceptions/SecurityExceptions.cs b/src/Sdk/WebApi/WebApi/Exceptions/SecurityExceptions.cs index 2c67437d161..c88066f6eb9 100644 --- a/src/Sdk/WebApi/WebApi/Exceptions/SecurityExceptions.cs +++ b/src/Sdk/WebApi/WebApi/Exceptions/SecurityExceptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Diagnostics.CodeAnalysis; using System.Reflection; using System.Runtime.Serialization; diff --git a/src/Sdk/WebApi/WebApi/Exceptions/VssApiResourceExceptions.cs b/src/Sdk/WebApi/WebApi/Exceptions/VssApiResourceExceptions.cs index 9eac0865f99..4cf82a14a15 100644 --- a/src/Sdk/WebApi/WebApi/Exceptions/VssApiResourceExceptions.cs +++ b/src/Sdk/WebApi/WebApi/Exceptions/VssApiResourceExceptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using GitHub.Services.Common; diff --git a/src/Sdk/WebApi/WebApi/HttpClients/FileContainerHttpClient.cs b/src/Sdk/WebApi/WebApi/HttpClients/FileContainerHttpClient.cs index e6c8e4efea4..8503adcb238 100644 --- a/src/Sdk/WebApi/WebApi/HttpClients/FileContainerHttpClient.cs +++ b/src/Sdk/WebApi/WebApi/HttpClients/FileContainerHttpClient.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.Specialized; using System.ComponentModel; diff --git a/src/Sdk/WebApi/WebApi/HttpClients/LocationHttpClient.cs b/src/Sdk/WebApi/WebApi/HttpClients/LocationHttpClient.cs index 56a14940be4..7c56b7c4112 100644 --- a/src/Sdk/WebApi/WebApi/HttpClients/LocationHttpClient.cs +++ b/src/Sdk/WebApi/WebApi/HttpClients/LocationHttpClient.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Globalization; diff --git a/src/Sdk/WebApi/WebApi/JsonUtility.cs b/src/Sdk/WebApi/WebApi/JsonUtility.cs index 9dd6824d164..b010f8c12d5 100644 --- a/src/Sdk/WebApi/WebApi/JsonUtility.cs +++ b/src/Sdk/WebApi/WebApi/JsonUtility.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.IO; using System.IO.Compression; diff --git a/src/Sdk/WebApi/WebApi/Jwt/IJsonWebTokenHeaderProvider.cs b/src/Sdk/WebApi/WebApi/Jwt/IJsonWebTokenHeaderProvider.cs index 831392961b5..816096511c8 100644 --- a/src/Sdk/WebApi/WebApi/Jwt/IJsonWebTokenHeaderProvider.cs +++ b/src/Sdk/WebApi/WebApi/Jwt/IJsonWebTokenHeaderProvider.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; namespace GitHub.Services.WebApi.Jwt diff --git a/src/Sdk/WebApi/WebApi/Jwt/JsonWebToken.cs b/src/Sdk/WebApi/WebApi/Jwt/JsonWebToken.cs index 15216cb14cd..d202b07b2bb 100644 --- a/src/Sdk/WebApi/WebApi/Jwt/JsonWebToken.cs +++ b/src/Sdk/WebApi/WebApi/Jwt/JsonWebToken.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Net; using System.Net.Http; diff --git a/src/Sdk/WebApi/WebApi/Jwt/JsonWebTokenConstants.cs b/src/Sdk/WebApi/WebApi/Jwt/JsonWebTokenConstants.cs index af08b3c2886..e023296d02e 100644 --- a/src/Sdk/WebApi/WebApi/Jwt/JsonWebTokenConstants.cs +++ b/src/Sdk/WebApi/WebApi/Jwt/JsonWebTokenConstants.cs @@ -1,4 +1,4 @@ -using System.Security.Claims; +using System.Security.Claims; namespace GitHub.Services.WebApi.Jwt { diff --git a/src/Sdk/WebApi/WebApi/Jwt/JsonWebTokenExceptions.cs b/src/Sdk/WebApi/WebApi/Jwt/JsonWebTokenExceptions.cs index 6e726795cf7..f46adabc4a9 100644 --- a/src/Sdk/WebApi/WebApi/Jwt/JsonWebTokenExceptions.cs +++ b/src/Sdk/WebApi/WebApi/Jwt/JsonWebTokenExceptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Diagnostics.CodeAnalysis; using GitHub.Services.Common; diff --git a/src/Sdk/WebApi/WebApi/Jwt/JsonWebTokenUtilities.cs b/src/Sdk/WebApi/WebApi/Jwt/JsonWebTokenUtilities.cs index 8f1c6c69935..b2dae882eeb 100644 --- a/src/Sdk/WebApi/WebApi/Jwt/JsonWebTokenUtilities.cs +++ b/src/Sdk/WebApi/WebApi/Jwt/JsonWebTokenUtilities.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Security.Claims; using System.Text; diff --git a/src/Sdk/WebApi/WebApi/Jwt/JsonWebTokenValidationParameters.cs b/src/Sdk/WebApi/WebApi/Jwt/JsonWebTokenValidationParameters.cs index 0a704c23c99..91397e6b9fd 100644 --- a/src/Sdk/WebApi/WebApi/Jwt/JsonWebTokenValidationParameters.cs +++ b/src/Sdk/WebApi/WebApi/Jwt/JsonWebTokenValidationParameters.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Security.Claims; namespace GitHub.Services.WebApi.Jwt diff --git a/src/Sdk/WebApi/WebApi/Jwt/UnixEpochDateTimeConverter.cs b/src/Sdk/WebApi/WebApi/Jwt/UnixEpochDateTimeConverter.cs index a9ea246d5d8..1aaeec0b2e9 100644 --- a/src/Sdk/WebApi/WebApi/Jwt/UnixEpochDateTimeConverter.cs +++ b/src/Sdk/WebApi/WebApi/Jwt/UnixEpochDateTimeConverter.cs @@ -1,4 +1,4 @@ -using System; +using System; using GitHub.Services.Common; using Newtonsoft.Json; using Newtonsoft.Json.Converters; diff --git a/src/Sdk/WebApi/WebApi/Location/Interfaces.cs b/src/Sdk/WebApi/WebApi/Location/Interfaces.cs index 7abbe24c131..bf4784b0474 100644 --- a/src/Sdk/WebApi/WebApi/Location/Interfaces.cs +++ b/src/Sdk/WebApi/WebApi/Location/Interfaces.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; diff --git a/src/Sdk/WebApi/WebApi/Location/LocationCacheManager.cs b/src/Sdk/WebApi/WebApi/Location/LocationCacheManager.cs index 0013e5841df..a766a298551 100644 --- a/src/Sdk/WebApi/WebApi/Location/LocationCacheManager.cs +++ b/src/Sdk/WebApi/WebApi/Location/LocationCacheManager.cs @@ -1,4 +1,4 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Collections.Generic; using System.Diagnostics; diff --git a/src/Sdk/WebApi/WebApi/Location/LocationServerMapCache.cs b/src/Sdk/WebApi/WebApi/Location/LocationServerMapCache.cs index 4ae35563445..424adaafc19 100644 --- a/src/Sdk/WebApi/WebApi/Location/LocationServerMapCache.cs +++ b/src/Sdk/WebApi/WebApi/Location/LocationServerMapCache.cs @@ -1,4 +1,4 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Collections.Generic; using System.IO; diff --git a/src/Sdk/WebApi/WebApi/Location/LocationService.cs b/src/Sdk/WebApi/WebApi/Location/LocationService.cs index 09a6b96766f..fe053ab5d45 100644 --- a/src/Sdk/WebApi/WebApi/Location/LocationService.cs +++ b/src/Sdk/WebApi/WebApi/Location/LocationService.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Concurrent; using System.Threading; using System.Threading.Tasks; diff --git a/src/Sdk/WebApi/WebApi/Location/LocationXmlOperator.cs b/src/Sdk/WebApi/WebApi/Location/LocationXmlOperator.cs index 417e370d9bc..15ce46bc6eb 100644 --- a/src/Sdk/WebApi/WebApi/Location/LocationXmlOperator.cs +++ b/src/Sdk/WebApi/WebApi/Location/LocationXmlOperator.cs @@ -1,4 +1,4 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Collections.Generic; using System.IO; diff --git a/src/Sdk/WebApi/WebApi/Location/ServerDataProvider.cs b/src/Sdk/WebApi/WebApi/Location/ServerDataProvider.cs index c1997a1b753..4785fcf0a3e 100644 --- a/src/Sdk/WebApi/WebApi/Location/ServerDataProvider.cs +++ b/src/Sdk/WebApi/WebApi/Location/ServerDataProvider.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; diff --git a/src/Sdk/WebApi/WebApi/OAuth/IVssOAuthTokenParameterProvider.cs b/src/Sdk/WebApi/WebApi/OAuth/IVssOAuthTokenParameterProvider.cs index eb013eceaca..0ea2433f10a 100644 --- a/src/Sdk/WebApi/WebApi/OAuth/IVssOAuthTokenParameterProvider.cs +++ b/src/Sdk/WebApi/WebApi/OAuth/IVssOAuthTokenParameterProvider.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; namespace GitHub.Services.OAuth diff --git a/src/Sdk/WebApi/WebApi/OAuth/VssOAuthAccessToken.cs b/src/Sdk/WebApi/WebApi/OAuth/VssOAuthAccessToken.cs index bcbd49a61db..db7e917cc4a 100644 --- a/src/Sdk/WebApi/WebApi/OAuth/VssOAuthAccessToken.cs +++ b/src/Sdk/WebApi/WebApi/OAuth/VssOAuthAccessToken.cs @@ -1,4 +1,4 @@ -using System; +using System; using GitHub.Services.Common; using GitHub.Services.WebApi.Jwt; diff --git a/src/Sdk/WebApi/WebApi/OAuth/VssOAuthAccessTokenCredential.cs b/src/Sdk/WebApi/WebApi/OAuth/VssOAuthAccessTokenCredential.cs index 77fd9f913a2..5bce1d11751 100644 --- a/src/Sdk/WebApi/WebApi/OAuth/VssOAuthAccessTokenCredential.cs +++ b/src/Sdk/WebApi/WebApi/OAuth/VssOAuthAccessTokenCredential.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Net.Http; using GitHub.Services.Common; using GitHub.Services.WebApi.Jwt; diff --git a/src/Sdk/WebApi/WebApi/OAuth/VssOAuthClientCredential.cs b/src/Sdk/WebApi/WebApi/OAuth/VssOAuthClientCredential.cs index b64ed569273..1a03dcb4d95 100644 --- a/src/Sdk/WebApi/WebApi/OAuth/VssOAuthClientCredential.cs +++ b/src/Sdk/WebApi/WebApi/OAuth/VssOAuthClientCredential.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using GitHub.Services.Common; diff --git a/src/Sdk/WebApi/WebApi/OAuth/VssOAuthClientCredentialType.cs b/src/Sdk/WebApi/WebApi/OAuth/VssOAuthClientCredentialType.cs index 61837c2c74a..3e587ac4496 100644 --- a/src/Sdk/WebApi/WebApi/OAuth/VssOAuthClientCredentialType.cs +++ b/src/Sdk/WebApi/WebApi/OAuth/VssOAuthClientCredentialType.cs @@ -1,4 +1,4 @@ -namespace GitHub.Services.OAuth +namespace GitHub.Services.OAuth { /// /// Lists the supported client credential types diff --git a/src/Sdk/WebApi/WebApi/OAuth/VssOAuthClientCredentialsGrant.cs b/src/Sdk/WebApi/WebApi/OAuth/VssOAuthClientCredentialsGrant.cs index ceb06d3a2e2..f59f9f3754b 100644 --- a/src/Sdk/WebApi/WebApi/OAuth/VssOAuthClientCredentialsGrant.cs +++ b/src/Sdk/WebApi/WebApi/OAuth/VssOAuthClientCredentialsGrant.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; namespace GitHub.Services.OAuth diff --git a/src/Sdk/WebApi/WebApi/OAuth/VssOAuthConstants.cs b/src/Sdk/WebApi/WebApi/OAuth/VssOAuthConstants.cs index dbff7277607..e9e1765b4a3 100644 --- a/src/Sdk/WebApi/WebApi/OAuth/VssOAuthConstants.cs +++ b/src/Sdk/WebApi/WebApi/OAuth/VssOAuthConstants.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace GitHub.Services.OAuth { diff --git a/src/Sdk/WebApi/WebApi/OAuth/VssOAuthCredential.cs b/src/Sdk/WebApi/WebApi/OAuth/VssOAuthCredential.cs index 78cf4fc9fa4..5ecf29f5578 100644 --- a/src/Sdk/WebApi/WebApi/OAuth/VssOAuthCredential.cs +++ b/src/Sdk/WebApi/WebApi/OAuth/VssOAuthCredential.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using System.Net; using System.Net.Http; diff --git a/src/Sdk/WebApi/WebApi/OAuth/VssOAuthExceptions.cs b/src/Sdk/WebApi/WebApi/OAuth/VssOAuthExceptions.cs index 5ebf86f9a8d..9251c0aac6b 100644 --- a/src/Sdk/WebApi/WebApi/OAuth/VssOAuthExceptions.cs +++ b/src/Sdk/WebApi/WebApi/OAuth/VssOAuthExceptions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.Serialization; using GitHub.Services.Common; diff --git a/src/Sdk/WebApi/WebApi/OAuth/VssOAuthGrant.cs b/src/Sdk/WebApi/WebApi/OAuth/VssOAuthGrant.cs index f27435297f8..596d9433d92 100644 --- a/src/Sdk/WebApi/WebApi/OAuth/VssOAuthGrant.cs +++ b/src/Sdk/WebApi/WebApi/OAuth/VssOAuthGrant.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; namespace GitHub.Services.OAuth diff --git a/src/Sdk/WebApi/WebApi/OAuth/VssOAuthGrantType.cs b/src/Sdk/WebApi/WebApi/OAuth/VssOAuthGrantType.cs index 23834cb1537..387ff52596f 100644 --- a/src/Sdk/WebApi/WebApi/OAuth/VssOAuthGrantType.cs +++ b/src/Sdk/WebApi/WebApi/OAuth/VssOAuthGrantType.cs @@ -1,4 +1,4 @@ -namespace GitHub.Services.OAuth +namespace GitHub.Services.OAuth { /// /// Lists the supported authorization grant types diff --git a/src/Sdk/WebApi/WebApi/OAuth/VssOAuthJwtBearerAssertion.cs b/src/Sdk/WebApi/WebApi/OAuth/VssOAuthJwtBearerAssertion.cs index 6e451beb212..e06993a78c6 100644 --- a/src/Sdk/WebApi/WebApi/OAuth/VssOAuthJwtBearerAssertion.cs +++ b/src/Sdk/WebApi/WebApi/OAuth/VssOAuthJwtBearerAssertion.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Security.Claims; using GitHub.Services.WebApi; diff --git a/src/Sdk/WebApi/WebApi/OAuth/VssOAuthJwtBearerClientCredential.cs b/src/Sdk/WebApi/WebApi/OAuth/VssOAuthJwtBearerClientCredential.cs index 970fb72df5b..e0a7c76fd55 100644 --- a/src/Sdk/WebApi/WebApi/OAuth/VssOAuthJwtBearerClientCredential.cs +++ b/src/Sdk/WebApi/WebApi/OAuth/VssOAuthJwtBearerClientCredential.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using GitHub.Services.Common; using GitHub.Services.WebApi; diff --git a/src/Sdk/WebApi/WebApi/OAuth/VssOAuthTokenHttpClient.cs b/src/Sdk/WebApi/WebApi/OAuth/VssOAuthTokenHttpClient.cs index 994675e41e0..b43718c1653 100644 --- a/src/Sdk/WebApi/WebApi/OAuth/VssOAuthTokenHttpClient.cs +++ b/src/Sdk/WebApi/WebApi/OAuth/VssOAuthTokenHttpClient.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Net; using System.Net.Http; diff --git a/src/Sdk/WebApi/WebApi/OAuth/VssOAuthTokenParameters.cs b/src/Sdk/WebApi/WebApi/OAuth/VssOAuthTokenParameters.cs index e214121ec3e..4c85430a9e7 100644 --- a/src/Sdk/WebApi/WebApi/OAuth/VssOAuthTokenParameters.cs +++ b/src/Sdk/WebApi/WebApi/OAuth/VssOAuthTokenParameters.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using Newtonsoft.Json; diff --git a/src/Sdk/WebApi/WebApi/OAuth/VssOAuthTokenProvider.cs b/src/Sdk/WebApi/WebApi/OAuth/VssOAuthTokenProvider.cs index 84122a49434..9e615a6f519 100644 --- a/src/Sdk/WebApi/WebApi/OAuth/VssOAuthTokenProvider.cs +++ b/src/Sdk/WebApi/WebApi/OAuth/VssOAuthTokenProvider.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; using System.IO; using System.Text; diff --git a/src/Sdk/WebApi/WebApi/OAuth/VssOAuthTokenRequest.cs b/src/Sdk/WebApi/WebApi/OAuth/VssOAuthTokenRequest.cs index d9b40606cb4..56733bc68cb 100644 --- a/src/Sdk/WebApi/WebApi/OAuth/VssOAuthTokenRequest.cs +++ b/src/Sdk/WebApi/WebApi/OAuth/VssOAuthTokenRequest.cs @@ -1,4 +1,4 @@ -using GitHub.Services.Common; +using GitHub.Services.Common; namespace GitHub.Services.OAuth { diff --git a/src/Sdk/WebApi/WebApi/OAuth/VssOAuthTokenResponse.cs b/src/Sdk/WebApi/WebApi/OAuth/VssOAuthTokenResponse.cs index 8ecf34271bd..a2a06901049 100644 --- a/src/Sdk/WebApi/WebApi/OAuth/VssOAuthTokenResponse.cs +++ b/src/Sdk/WebApi/WebApi/OAuth/VssOAuthTokenResponse.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.Serialization; namespace GitHub.Services.OAuth diff --git a/src/Sdk/WebApi/WebApi/Profile/ProfileArgumentValidation.cs b/src/Sdk/WebApi/WebApi/Profile/ProfileArgumentValidation.cs index ff27f4257d8..f9ee9e625e6 100644 --- a/src/Sdk/WebApi/WebApi/Profile/ProfileArgumentValidation.cs +++ b/src/Sdk/WebApi/WebApi/Profile/ProfileArgumentValidation.cs @@ -1,4 +1,4 @@ -using GitHub.Services.Common; +using GitHub.Services.Common; using System; namespace GitHub.Services.Profile diff --git a/src/Sdk/WebApi/WebApi/ProxyAuthenticationRequiredException.cs b/src/Sdk/WebApi/WebApi/ProxyAuthenticationRequiredException.cs index 8d5261719ec..76057ce0915 100644 --- a/src/Sdk/WebApi/WebApi/ProxyAuthenticationRequiredException.cs +++ b/src/Sdk/WebApi/WebApi/ProxyAuthenticationRequiredException.cs @@ -1,4 +1,4 @@ -using System; +using System; using GitHub.Services.Common; namespace GitHub.Services.WebApi diff --git a/src/Sdk/WebApi/WebApi/ResourceLocationIds.cs b/src/Sdk/WebApi/WebApi/ResourceLocationIds.cs index 74146067189..cb65dd74607 100644 --- a/src/Sdk/WebApi/WebApi/ResourceLocationIds.cs +++ b/src/Sdk/WebApi/WebApi/ResourceLocationIds.cs @@ -1,4 +1,4 @@ -using System; +using System; using GitHub.Services.Common; namespace GitHub.Services.FileContainer diff --git a/src/Sdk/WebApi/WebApi/TaskExtensions.cs b/src/Sdk/WebApi/WebApi/TaskExtensions.cs index 621a653eb07..14255550f8d 100644 --- a/src/Sdk/WebApi/WebApi/TaskExtensions.cs +++ b/src/Sdk/WebApi/WebApi/TaskExtensions.cs @@ -1,4 +1,4 @@ -using System.ComponentModel; +using System.ComponentModel; using System.Net.Http; using System.Threading.Tasks; diff --git a/src/Sdk/WebApi/WebApi/Utilities/AsyncLock.cs b/src/Sdk/WebApi/WebApi/Utilities/AsyncLock.cs index 2b5bd9d6081..18ea039671c 100644 --- a/src/Sdk/WebApi/WebApi/Utilities/AsyncLock.cs +++ b/src/Sdk/WebApi/WebApi/Utilities/AsyncLock.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading; using System.Threading.Tasks; diff --git a/src/Sdk/WebApi/WebApi/Utilities/BaseSecuredObject.cs b/src/Sdk/WebApi/WebApi/Utilities/BaseSecuredObject.cs index 60fe702c705..b717c58ad3b 100644 --- a/src/Sdk/WebApi/WebApi/Utilities/BaseSecuredObject.cs +++ b/src/Sdk/WebApi/WebApi/Utilities/BaseSecuredObject.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.Serialization; namespace GitHub.Services.WebApi diff --git a/src/Sdk/WebApi/WebApi/Utilities/ClientGeneratorAttributes.cs b/src/Sdk/WebApi/WebApi/Utilities/ClientGeneratorAttributes.cs index cde87c0f1b4..992c2087390 100644 --- a/src/Sdk/WebApi/WebApi/Utilities/ClientGeneratorAttributes.cs +++ b/src/Sdk/WebApi/WebApi/Utilities/ClientGeneratorAttributes.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace GitHub.Services.WebApi.Internal { diff --git a/src/Sdk/WebApi/WebApi/Utilities/ISecuredObject.cs b/src/Sdk/WebApi/WebApi/Utilities/ISecuredObject.cs index 977542d61bf..eed0b20c678 100644 --- a/src/Sdk/WebApi/WebApi/Utilities/ISecuredObject.cs +++ b/src/Sdk/WebApi/WebApi/Utilities/ISecuredObject.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; namespace GitHub.Services.WebApi diff --git a/src/Sdk/WebApi/WebApi/Utilities/UserAgentUtility.cs b/src/Sdk/WebApi/WebApi/Utilities/UserAgentUtility.cs index 6a8d74cc72f..a7e6f967e98 100644 --- a/src/Sdk/WebApi/WebApi/Utilities/UserAgentUtility.cs +++ b/src/Sdk/WebApi/WebApi/Utilities/UserAgentUtility.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; diff --git a/src/Sdk/WebApi/WebApi/Utilities/XmlSerializableDataContractExtensions.cs b/src/Sdk/WebApi/WebApi/Utilities/XmlSerializableDataContractExtensions.cs index 338a785472a..9ad2342dc29 100644 --- a/src/Sdk/WebApi/WebApi/Utilities/XmlSerializableDataContractExtensions.cs +++ b/src/Sdk/WebApi/WebApi/Utilities/XmlSerializableDataContractExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; diff --git a/src/Sdk/WebApi/WebApi/VssApiResourceLocation.cs b/src/Sdk/WebApi/WebApi/VssApiResourceLocation.cs index 3a3628675eb..6f7878dc0eb 100644 --- a/src/Sdk/WebApi/WebApi/VssApiResourceLocation.cs +++ b/src/Sdk/WebApi/WebApi/VssApiResourceLocation.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.Serialization; using System.ComponentModel; using GitHub.Services.Location; diff --git a/src/Sdk/WebApi/WebApi/VssApiResourceLocationCollection.cs b/src/Sdk/WebApi/WebApi/VssApiResourceLocationCollection.cs index 9f4439c7ddf..0ce468819f1 100644 --- a/src/Sdk/WebApi/WebApi/VssApiResourceLocationCollection.cs +++ b/src/Sdk/WebApi/WebApi/VssApiResourceLocationCollection.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; diff --git a/src/Sdk/WebApi/WebApi/VssApiResourceVersion.cs b/src/Sdk/WebApi/WebApi/VssApiResourceVersion.cs index b23236f7850..449450bd339 100644 --- a/src/Sdk/WebApi/WebApi/VssApiResourceVersion.cs +++ b/src/Sdk/WebApi/WebApi/VssApiResourceVersion.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Globalization; using System.Runtime.Serialization; using System.Text; diff --git a/src/Sdk/WebApi/WebApi/VssApiResourceVersionExtensions.cs b/src/Sdk/WebApi/WebApi/VssApiResourceVersionExtensions.cs index 92a9777a4cf..378bcb695bd 100644 --- a/src/Sdk/WebApi/WebApi/VssApiResourceVersionExtensions.cs +++ b/src/Sdk/WebApi/WebApi/VssApiResourceVersionExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; diff --git a/src/Sdk/WebApi/WebApi/VssCamelCasePropertyNamesContractResolver.cs b/src/Sdk/WebApi/WebApi/VssCamelCasePropertyNamesContractResolver.cs index 84e7a6c0f88..f105ac555f3 100644 --- a/src/Sdk/WebApi/WebApi/VssCamelCasePropertyNamesContractResolver.cs +++ b/src/Sdk/WebApi/WebApi/VssCamelCasePropertyNamesContractResolver.cs @@ -1,4 +1,4 @@ -using System; +using System; using Newtonsoft.Json.Serialization; namespace GitHub.Services.WebApi diff --git a/src/Sdk/WebApi/WebApi/VssClientHttpRequestSettings.cs b/src/Sdk/WebApi/WebApi/VssClientHttpRequestSettings.cs index f092217e947..81ba7c2f38b 100644 --- a/src/Sdk/WebApi/WebApi/VssClientHttpRequestSettings.cs +++ b/src/Sdk/WebApi/WebApi/VssClientHttpRequestSettings.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using System.Diagnostics; using System.Globalization; diff --git a/src/Sdk/WebApi/WebApi/VssClientSettings.cs b/src/Sdk/WebApi/WebApi/VssClientSettings.cs index b2c0b49150e..d9444ae3c37 100644 --- a/src/Sdk/WebApi/WebApi/VssClientSettings.cs +++ b/src/Sdk/WebApi/WebApi/VssClientSettings.cs @@ -1,4 +1,4 @@ -using System.IO; +using System.IO; using GitHub.Services.Common; using GitHub.Services.Common.ClientStorage; diff --git a/src/Sdk/WebApi/WebApi/VssConnectMode.cs b/src/Sdk/WebApi/WebApi/VssConnectMode.cs index 07ae1b94e14..79ea7908186 100644 --- a/src/Sdk/WebApi/WebApi/VssConnectMode.cs +++ b/src/Sdk/WebApi/WebApi/VssConnectMode.cs @@ -1,4 +1,4 @@ -namespace GitHub.Services.WebApi +namespace GitHub.Services.WebApi { public enum VssConnectMode { diff --git a/src/Sdk/WebApi/WebApi/VssConnection.cs b/src/Sdk/WebApi/WebApi/VssConnection.cs index 38bfad8c766..a765d809a0f 100644 --- a/src/Sdk/WebApi/WebApi/VssConnection.cs +++ b/src/Sdk/WebApi/WebApi/VssConnection.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.ComponentModel; diff --git a/src/Sdk/WebApi/WebApi/VssConnectionParameterKeys.cs b/src/Sdk/WebApi/WebApi/VssConnectionParameterKeys.cs index 402605d6921..0e44e883f6b 100644 --- a/src/Sdk/WebApi/WebApi/VssConnectionParameterKeys.cs +++ b/src/Sdk/WebApi/WebApi/VssConnectionParameterKeys.cs @@ -1,4 +1,4 @@ -using System.ComponentModel; +using System.ComponentModel; namespace GitHub.Services.WebApi.Internal { diff --git a/src/Sdk/WebApi/WebApi/VssHttpClientBase.cs b/src/Sdk/WebApi/WebApi/VssHttpClientBase.cs index d5a9c8b11f7..bd70fd5ea6e 100644 --- a/src/Sdk/WebApi/WebApi/VssHttpClientBase.cs +++ b/src/Sdk/WebApi/WebApi/VssHttpClientBase.cs @@ -1,4 +1,4 @@ -//----------------------------------------------------------------------- +//----------------------------------------------------------------------- // // Copyright (C) 2009-2014 All Rights Reserved // diff --git a/src/Sdk/WebApi/WebApi/VssHttpUriUtility.cs b/src/Sdk/WebApi/WebApi/VssHttpUriUtility.cs index 1e56f9fc632..15ea881911a 100644 --- a/src/Sdk/WebApi/WebApi/VssHttpUriUtility.cs +++ b/src/Sdk/WebApi/WebApi/VssHttpUriUtility.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Text; diff --git a/src/Sdk/WebApi/WebApi/VssJsonCollectionWrapper.cs b/src/Sdk/WebApi/WebApi/VssJsonCollectionWrapper.cs index 12553764f34..7f7a424b223 100644 --- a/src/Sdk/WebApi/WebApi/VssJsonCollectionWrapper.cs +++ b/src/Sdk/WebApi/WebApi/VssJsonCollectionWrapper.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections; using System.Linq; using System.Runtime.Serialization; diff --git a/src/Sdk/WebApi/WebApi/VssJsonCreationConverter.cs b/src/Sdk/WebApi/WebApi/VssJsonCreationConverter.cs index 7c50ddbcbc8..b03944d9f37 100644 --- a/src/Sdk/WebApi/WebApi/VssJsonCreationConverter.cs +++ b/src/Sdk/WebApi/WebApi/VssJsonCreationConverter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Reflection; using Newtonsoft.Json; using Newtonsoft.Json.Linq; diff --git a/src/Sdk/WebApi/WebApi/VssJsonMediaTypeFormatter.cs b/src/Sdk/WebApi/WebApi/VssJsonMediaTypeFormatter.cs index 4abf5b0e0bf..788338d7760 100644 --- a/src/Sdk/WebApi/WebApi/VssJsonMediaTypeFormatter.cs +++ b/src/Sdk/WebApi/WebApi/VssJsonMediaTypeFormatter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections; using System.IO; using System.Linq; diff --git a/src/Sdk/WebApi/WebApi/VssRequestTimerTrace.cs b/src/Sdk/WebApi/WebApi/VssRequestTimerTrace.cs index bcbf6f42682..7a6dbbcfc64 100644 --- a/src/Sdk/WebApi/WebApi/VssRequestTimerTrace.cs +++ b/src/Sdk/WebApi/WebApi/VssRequestTimerTrace.cs @@ -1,4 +1,4 @@ -using GitHub.Services.Common; +using GitHub.Services.Common; using System; using System.Collections.Generic; using System.Diagnostics; diff --git a/src/Sdk/WebApi/WebApi/VssResponseContext.cs b/src/Sdk/WebApi/WebApi/VssResponseContext.cs index 8fb664435e6..ff61a88b790 100644 --- a/src/Sdk/WebApi/WebApi/VssResponseContext.cs +++ b/src/Sdk/WebApi/WebApi/VssResponseContext.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Net; diff --git a/src/Sdk/WebApi/WebApi/VssSecureJsonConverter.cs b/src/Sdk/WebApi/WebApi/VssSecureJsonConverter.cs index 3280dfb6d76..868a8b20c9d 100644 --- a/src/Sdk/WebApi/WebApi/VssSecureJsonConverter.cs +++ b/src/Sdk/WebApi/WebApi/VssSecureJsonConverter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.ComponentModel; using Newtonsoft.Json; using Newtonsoft.Json.Converters; diff --git a/src/Sdk/WebApi/WebApi/VssServiceResponseException.cs b/src/Sdk/WebApi/WebApi/VssServiceResponseException.cs index e4aa84a736d..e65a35b3868 100644 --- a/src/Sdk/WebApi/WebApi/VssServiceResponseException.cs +++ b/src/Sdk/WebApi/WebApi/VssServiceResponseException.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Diagnostics.CodeAnalysis; using System.Net; using System.Runtime.Serialization; diff --git a/src/Sdk/WebApi/WebApi/VssSigningCredentials.cs b/src/Sdk/WebApi/WebApi/VssSigningCredentials.cs index 6b7e0c34846..108f7d9f8db 100644 --- a/src/Sdk/WebApi/WebApi/VssSigningCredentials.cs +++ b/src/Sdk/WebApi/WebApi/VssSigningCredentials.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Security.Cryptography; using GitHub.Services.Common; diff --git a/src/Sdk/WebApi/WebApi/WrappedException.cs b/src/Sdk/WebApi/WebApi/WrappedException.cs index a202b0ea26b..d34dc5099c5 100644 --- a/src/Sdk/WebApi/WebApi/WrappedException.cs +++ b/src/Sdk/WebApi/WebApi/WrappedException.cs @@ -1,4 +1,4 @@ -using GitHub.Services.Common; +using GitHub.Services.Common; using Newtonsoft.Json; using System; using System.Collections.Generic; diff --git a/src/Test/L0/CommandLineParserL0.cs b/src/Test/L0/CommandLineParserL0.cs index e502868ba3b..b78da1d57cc 100644 --- a/src/Test/L0/CommandLineParserL0.cs +++ b/src/Test/L0/CommandLineParserL0.cs @@ -1,4 +1,4 @@ -using Moq; +using Moq; using System.Runtime.CompilerServices; using Xunit; diff --git a/src/Test/L0/ConstantGenerationL0.cs b/src/Test/L0/ConstantGenerationL0.cs index f3c1b8f9eaf..a20448c3a10 100644 --- a/src/Test/L0/ConstantGenerationL0.cs +++ b/src/Test/L0/ConstantGenerationL0.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using GitHub.Runner.Sdk; using Xunit; diff --git a/src/Test/L0/Container/DockerUtilL0.cs b/src/Test/L0/Container/DockerUtilL0.cs index a872f8de70f..a28d55da577 100644 --- a/src/Test/L0/Container/DockerUtilL0.cs +++ b/src/Test/L0/Container/DockerUtilL0.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using GitHub.Runner.Worker.Container; using Xunit; diff --git a/src/Test/L0/DotnetsdkDownloadScriptL0.cs b/src/Test/L0/DotnetsdkDownloadScriptL0.cs index 9d3fbd26c69..37cb5e5e7f2 100644 --- a/src/Test/L0/DotnetsdkDownloadScriptL0.cs +++ b/src/Test/L0/DotnetsdkDownloadScriptL0.cs @@ -1,4 +1,4 @@ -using Xunit; +using Xunit; using System.IO; using System.Net.Http; using System.Threading.Tasks; diff --git a/src/Test/L0/ExtensionManagerL0.cs b/src/Test/L0/ExtensionManagerL0.cs index 98207ab59b4..83b7fe06d0c 100644 --- a/src/Test/L0/ExtensionManagerL0.cs +++ b/src/Test/L0/ExtensionManagerL0.cs @@ -1,4 +1,4 @@ -using GitHub.Runner.Worker; +using GitHub.Runner.Worker; using System; using System.Collections.Generic; using System.Linq; diff --git a/src/Test/L0/Listener/Configuration/ArgumentValidatorTestsL0.cs b/src/Test/L0/Listener/Configuration/ArgumentValidatorTestsL0.cs index 68128a645e1..284a448fdfe 100644 --- a/src/Test/L0/Listener/Configuration/ArgumentValidatorTestsL0.cs +++ b/src/Test/L0/Listener/Configuration/ArgumentValidatorTestsL0.cs @@ -1,4 +1,4 @@ -using GitHub.Runner.Listener.Configuration; +using GitHub.Runner.Listener.Configuration; using Xunit; namespace GitHub.Runner.Common.Tests.Listener.Configuration diff --git a/src/Test/L0/Listener/Configuration/NativeWindowsServiceHelperL0.cs b/src/Test/L0/Listener/Configuration/NativeWindowsServiceHelperL0.cs index 8623a7872d0..63979317883 100644 --- a/src/Test/L0/Listener/Configuration/NativeWindowsServiceHelperL0.cs +++ b/src/Test/L0/Listener/Configuration/NativeWindowsServiceHelperL0.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/src/Test/L0/Listener/Configuration/RunnerCredentialL0.cs b/src/Test/L0/Listener/Configuration/RunnerCredentialL0.cs index 609a7129498..f52d76fd93c 100644 --- a/src/Test/L0/Listener/Configuration/RunnerCredentialL0.cs +++ b/src/Test/L0/Listener/Configuration/RunnerCredentialL0.cs @@ -1,4 +1,4 @@ -using GitHub.Runner.Listener; +using GitHub.Runner.Listener; using GitHub.Runner.Listener.Configuration; using GitHub.Services.Common; using GitHub.Services.OAuth; diff --git a/src/Test/L0/Listener/SelfUpdaterL0.cs b/src/Test/L0/Listener/SelfUpdaterL0.cs index 26ba65e7192..73e5286e7d2 100644 --- a/src/Test/L0/Listener/SelfUpdaterL0.cs +++ b/src/Test/L0/Listener/SelfUpdaterL0.cs @@ -47,7 +47,7 @@ private async Task FetchLatestRunner() httpClientHandler.AllowAutoRedirect = false; using (var client = new HttpClient(httpClientHandler)) { - var response = await client.SendAsync(new HttpRequestMessage(HttpMethod.Get, "https://github.com/actions/runner/releases/latest")); + var response = await client.SendAsync(new HttpRequestMessage(HttpMethod.Get, "https://github.com/mattrwi/runner/releases/latest")); if (response.StatusCode == System.Net.HttpStatusCode.Redirect) { var redirectUrl = response.Headers.Location.ToString(); @@ -58,14 +58,14 @@ private async Task FetchLatestRunner() latestVersion = match.Groups["version"].Value; #if !OS_WINDOWS - _packageUrl = $"https://github.com/actions/runner/releases/download/v{latestVersion}/actions-runner-{BuildConstants.RunnerPackage.PackageName}-{latestVersion}.tar.gz"; + _packageUrl = $"https://github.com/mattrwi/runner/releases/download/v{latestVersion}/actions-runner-{BuildConstants.RunnerPackage.PackageName}-{latestVersion}.tar.gz"; #else - _packageUrl = $"https://github.com/actions/runner/releases/download/v{latestVersion}/actions-runner-{BuildConstants.RunnerPackage.PackageName}-{latestVersion}.zip"; + _packageUrl = $"https://github.com/mattrwi/runner/releases/download/v{latestVersion}/actions-runner-{BuildConstants.RunnerPackage.PackageName}-{latestVersion}.zip"; #endif } else { - throw new Exception("The latest runner version could not be determined so a download URL could not be generated for it. Please check the location header of the redirect response of 'https://github.com/actions/runner/releases/latest'"); + throw new Exception("The latest runner version could not be determined so a download URL could not be generated for it. Please check the location header of the redirect response of 'https://github.com/mattrwi/runner/releases/latest'"); } } } @@ -207,7 +207,7 @@ public async void TestSelfUpdateAsync_DownloadRetry() hc.SetSingleton(new HttpClientHandlerFactory()); _runnerServer.Setup(x => x.GetPackageAsync("agent", BuildConstants.RunnerPackage.PackageName, "2.999.0", true, It.IsAny())) - .Returns(Task.FromResult(new PackageMetadata() { Platform = BuildConstants.RunnerPackage.PackageName, Version = new PackageVersion("2.999.0"), DownloadUrl = $"https://github.com/actions/runner/notexists" })); + .Returns(Task.FromResult(new PackageMetadata() { Platform = BuildConstants.RunnerPackage.PackageName, Version = new PackageVersion("2.999.0"), DownloadUrl = $"https://github.com/mattrwi/runner/notexists" })); var p1 = new ProcessInvokerWrapper(); p1.Initialize(hc); diff --git a/src/Test/L0/Listener/SelfUpdaterV2L0.cs b/src/Test/L0/Listener/SelfUpdaterV2L0.cs index 5115a6bbb7f..41a800d6414 100644 --- a/src/Test/L0/Listener/SelfUpdaterV2L0.cs +++ b/src/Test/L0/Listener/SelfUpdaterV2L0.cs @@ -47,7 +47,7 @@ private async Task FetchLatestRunner() httpClientHandler.AllowAutoRedirect = false; using (var client = new HttpClient(httpClientHandler)) { - var response = await client.SendAsync(new HttpRequestMessage(HttpMethod.Get, "https://github.com/actions/runner/releases/latest")); + var response = await client.SendAsync(new HttpRequestMessage(HttpMethod.Get, "https://github.com/mattrwi/runner/releases/latest")); if (response.StatusCode == System.Net.HttpStatusCode.Redirect) { var redirectUrl = response.Headers.Location.ToString(); @@ -58,14 +58,14 @@ private async Task FetchLatestRunner() latestVersion = match.Groups["version"].Value; #if !OS_WINDOWS - _packageUrl = $"https://github.com/actions/runner/releases/download/v{latestVersion}/actions-runner-{BuildConstants.RunnerPackage.PackageName}-{latestVersion}.tar.gz"; + _packageUrl = $"https://github.com/mattrwi/runner/releases/download/v{latestVersion}/actions-runner-{BuildConstants.RunnerPackage.PackageName}-{latestVersion}.tar.gz"; #else - _packageUrl = $"https://github.com/actions/runner/releases/download/v{latestVersion}/actions-runner-{BuildConstants.RunnerPackage.PackageName}-{latestVersion}.zip"; + _packageUrl = $"https://github.com/mattrwi/runner/releases/download/v{latestVersion}/actions-runner-{BuildConstants.RunnerPackage.PackageName}-{latestVersion}.zip"; #endif } else { - throw new Exception("The latest runner version could not be determined so a download URL could not be generated for it. Please check the location header of the redirect response of 'https://github.com/actions/runner/releases/latest'"); + throw new Exception("The latest runner version could not be determined so a download URL could not be generated for it. Please check the location header of the redirect response of 'https://github.com/mattrwi/runner/releases/latest'"); } } } @@ -167,7 +167,7 @@ public async void TestSelfUpdateAsync_DownloadRetry() { TargetVersion = "2.999.0", OS = BuildConstants.RunnerPackage.PackageName, - DownloadUrl = "https://github.com/actions/runner/notexists" + DownloadUrl = "https://github.com/mattrwi/runner/notexists" }; var ex = await Assert.ThrowsAsync(() => updater.SelfUpdate(message, _jobDispatcher.Object, true, hc.RunnerShutdownToken)); diff --git a/src/Test/L0/ProcessExtensionL0.cs b/src/Test/L0/ProcessExtensionL0.cs index e9791250b20..45f04b2ae19 100644 --- a/src/Test/L0/ProcessExtensionL0.cs +++ b/src/Test/L0/ProcessExtensionL0.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; diff --git a/src/Test/L0/ServiceInterfacesL0.cs b/src/Test/L0/ServiceInterfacesL0.cs index 59b890285be..d00d2ae835a 100644 --- a/src/Test/L0/ServiceInterfacesL0.cs +++ b/src/Test/L0/ServiceInterfacesL0.cs @@ -1,4 +1,4 @@ -using GitHub.Runner.Listener; +using GitHub.Runner.Listener; using GitHub.Runner.Listener.Check; using GitHub.Runner.Listener.Configuration; using GitHub.Runner.Worker; diff --git a/src/Test/L0/TestHostContext.cs b/src/Test/L0/TestHostContext.cs index 124bcd5bd06..c03b197b6b4 100644 --- a/src/Test/L0/TestHostContext.cs +++ b/src/Test/L0/TestHostContext.cs @@ -1,4 +1,4 @@ -using GitHub.Runner.Common.Util; +using GitHub.Runner.Common.Util; using System; using System.Collections.Concurrent; using System.Globalization; diff --git a/src/Test/L0/TestUtil.cs b/src/Test/L0/TestUtil.cs index c6c60be56a7..644c8c42f08 100644 --- a/src/Test/L0/TestUtil.cs +++ b/src/Test/L0/TestUtil.cs @@ -1,4 +1,4 @@ -using System.IO; +using System.IO; using Xunit; using GitHub.Runner.Sdk; using System.Runtime.CompilerServices; diff --git a/src/Test/L0/Util/StringUtilL0.cs b/src/Test/L0/Util/StringUtilL0.cs index f6eed8ccf47..236d2347e58 100644 --- a/src/Test/L0/Util/StringUtilL0.cs +++ b/src/Test/L0/Util/StringUtilL0.cs @@ -1,4 +1,4 @@ -using GitHub.Runner.Sdk; +using GitHub.Runner.Sdk; using System.Globalization; using Xunit; diff --git a/src/Test/L0/Util/TaskResultUtilL0.cs b/src/Test/L0/Util/TaskResultUtilL0.cs index 331e71555dc..abbc3ebaad9 100644 --- a/src/Test/L0/Util/TaskResultUtilL0.cs +++ b/src/Test/L0/Util/TaskResultUtilL0.cs @@ -1,4 +1,4 @@ -using GitHub.DistributedTask.WebApi; +using GitHub.DistributedTask.WebApi; using GitHub.Runner.Common.Util; using Xunit; diff --git a/src/Test/L0/Util/UrlUtilL0.cs b/src/Test/L0/Util/UrlUtilL0.cs index a75d0c6dc74..a02f2387387 100644 --- a/src/Test/L0/Util/UrlUtilL0.cs +++ b/src/Test/L0/Util/UrlUtilL0.cs @@ -12,9 +12,9 @@ public class UrlUtilL0 public void GetCredentialEmbeddedUrl_NoUsernameAndPassword() { // Act. - Uri result = UrlUtil.GetCredentialEmbeddedUrl(new Uri("https://github.com/actions/runner.git"), string.Empty, string.Empty); + Uri result = UrlUtil.GetCredentialEmbeddedUrl(new Uri("https://github.com/mattrwi/runner.git"), string.Empty, string.Empty); // Actual - Assert.Equal("https://github.com/actions/runner.git", result.AbsoluteUri); + Assert.Equal("https://github.com/mattrwi/runner.git", result.AbsoluteUri); } [Fact] @@ -23,9 +23,9 @@ public void GetCredentialEmbeddedUrl_NoUsernameAndPassword() public void GetCredentialEmbeddedUrl_NoUsername() { // Act. - Uri result = UrlUtil.GetCredentialEmbeddedUrl(new Uri("https://github.com/actions/runner.git"), string.Empty, "password123"); + Uri result = UrlUtil.GetCredentialEmbeddedUrl(new Uri("https://github.com/mattrwi/runner.git"), string.Empty, "password123"); // Actual - Assert.Equal("https://emptyusername:password123@github.com/actions/runner.git", result.AbsoluteUri); + Assert.Equal("https://emptyusername:password123@github.com/mattrwi/runner.git", result.AbsoluteUri); } [Fact] @@ -34,9 +34,9 @@ public void GetCredentialEmbeddedUrl_NoUsername() public void GetCredentialEmbeddedUrl_NoPassword() { // Act. - Uri result = UrlUtil.GetCredentialEmbeddedUrl(new Uri("https://github.com/actions/runner.git"), "user123", string.Empty); + Uri result = UrlUtil.GetCredentialEmbeddedUrl(new Uri("https://github.com/mattrwi/runner.git"), "user123", string.Empty); // Actual - Assert.Equal("https://user123@github.com/actions/runner.git", result.AbsoluteUri); + Assert.Equal("https://user123@github.com/mattrwi/runner.git", result.AbsoluteUri); } [Fact] @@ -45,9 +45,9 @@ public void GetCredentialEmbeddedUrl_NoPassword() public void GetCredentialEmbeddedUrl_HasUsernameAndPassword() { // Act. - Uri result = UrlUtil.GetCredentialEmbeddedUrl(new Uri("https://github.com/actions/runner.git"), "user123", "password123"); + Uri result = UrlUtil.GetCredentialEmbeddedUrl(new Uri("https://github.com/mattrwi/runner.git"), "user123", "password123"); // Actual - Assert.Equal("https://user123:password123@github.com/actions/runner.git", result.AbsoluteUri); + Assert.Equal("https://user123:password123@github.com/mattrwi/runner.git", result.AbsoluteUri); } [Fact] @@ -56,9 +56,9 @@ public void GetCredentialEmbeddedUrl_HasUsernameAndPassword() public void GetCredentialEmbeddedUrl_UsernameAndPasswordEncoding() { // Act. - Uri result = UrlUtil.GetCredentialEmbeddedUrl(new Uri("https://github.com/actions/runner.git"), "user 123", "password 123"); + Uri result = UrlUtil.GetCredentialEmbeddedUrl(new Uri("https://github.com/mattrwi/runner.git"), "user 123", "password 123"); // Actual - Assert.Equal("https://user%20123:password%20123@github.com/actions/runner.git", result.AbsoluteUri); + Assert.Equal("https://user%20123:password%20123@github.com/mattrwi/runner.git", result.AbsoluteUri); } } } diff --git a/src/Test/L0/Util/VssUtilL0.cs b/src/Test/L0/Util/VssUtilL0.cs index 1743b876281..e3ae41ea646 100644 --- a/src/Test/L0/Util/VssUtilL0.cs +++ b/src/Test/L0/Util/VssUtilL0.cs @@ -24,7 +24,7 @@ public void VerifyOverwriteVssConnectionSetting() trace.Info("Set httptimeout to 360."); Environment.SetEnvironmentVariable("GITHUB_ACTIONS_RUNNER_HTTP_TIMEOUT", "360"); - var connect = VssUtil.CreateConnection(new Uri("https://github.com/actions/runner"), new VssCredentials()); + var connect = VssUtil.CreateConnection(new Uri("https://github.com/mattrwi/runner"), new VssCredentials()); // Assert. Assert.Equal("10", connect.Settings.MaxRetryRequest.ToString()); @@ -35,7 +35,7 @@ public void VerifyOverwriteVssConnectionSetting() trace.Info("Set httptimeout to 3600."); Environment.SetEnvironmentVariable("GITHUB_ACTIONS_RUNNER_HTTP_TIMEOUT", "3600"); - connect = VssUtil.CreateConnection(new Uri("https://github.com/actions/runner"), new VssCredentials()); + connect = VssUtil.CreateConnection(new Uri("https://github.com/mattrwi/runner"), new VssCredentials()); // Assert. Assert.Equal("10", connect.Settings.MaxRetryRequest.ToString()); diff --git a/src/Test/L0/Worker/ActionCommandL0.cs b/src/Test/L0/Worker/ActionCommandL0.cs index 314c437fa72..2a1735e56fb 100644 --- a/src/Test/L0/Worker/ActionCommandL0.cs +++ b/src/Test/L0/Worker/ActionCommandL0.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using Xunit; diff --git a/src/Test/L0/Worker/ActionCommandManagerL0.cs b/src/Test/L0/Worker/ActionCommandManagerL0.cs index 3a1f8f70fe9..f1885d2aea8 100644 --- a/src/Test/L0/Worker/ActionCommandManagerL0.cs +++ b/src/Test/L0/Worker/ActionCommandManagerL0.cs @@ -40,9 +40,9 @@ public void EnablePluginInternalCommand() _commandManager.EnablePluginInternalCommand(); - Assert.True(_commandManager.TryProcessCommand(_ec.Object, "##[internal-set-repo-path repoFullName=actions/runner;workspaceRepo=true]somepath", null)); + Assert.True(_commandManager.TryProcessCommand(_ec.Object, "##[internal-set-repo-path repoFullName=mattrwi/runner;workspaceRepo=true]somepath", null)); - _pipelineDirectoryManager.Verify(x => x.UpdateRepositoryDirectory(_ec.Object, "actions/runner", "somepath", true), Times.Once); + _pipelineDirectoryManager.Verify(x => x.UpdateRepositoryDirectory(_ec.Object, "mattrwi/runner", "somepath", true), Times.Once); } } @@ -67,13 +67,13 @@ public void DisablePluginInternalCommand() _commandManager.EnablePluginInternalCommand(); - Assert.True(_commandManager.TryProcessCommand(_ec.Object, "##[internal-set-repo-path repoFullName=actions/runner;workspaceRepo=true]somepath", null)); + Assert.True(_commandManager.TryProcessCommand(_ec.Object, "##[internal-set-repo-path repoFullName=mattrwi/runner;workspaceRepo=true]somepath", null)); _commandManager.DisablePluginInternalCommand(); - Assert.False(_commandManager.TryProcessCommand(_ec.Object, "##[internal-set-repo-path repoFullName=actions/runner;workspaceRepo=true]somepath", null)); + Assert.False(_commandManager.TryProcessCommand(_ec.Object, "##[internal-set-repo-path repoFullName=mattrwi/runner;workspaceRepo=true]somepath", null)); - _pipelineDirectoryManager.Verify(x => x.UpdateRepositoryDirectory(_ec.Object, "actions/runner", "somepath", true), Times.Once); + _pipelineDirectoryManager.Verify(x => x.UpdateRepositoryDirectory(_ec.Object, "mattrwi/runner", "somepath", true), Times.Once); } } diff --git a/src/Test/L0/Worker/ActionRunnerL0.cs b/src/Test/L0/Worker/ActionRunnerL0.cs index 30842c99b11..16d2436c7b6 100644 --- a/src/Test/L0/Worker/ActionRunnerL0.cs +++ b/src/Test/L0/Worker/ActionRunnerL0.cs @@ -335,7 +335,7 @@ public async void WarnInvalidInputs() Id = actionId, Reference = new Pipelines.RepositoryPathReference() { - Name = "actions/runner", + Name = "mattrwi/runner", Ref = "v1" }, Inputs = actionInputs diff --git a/src/Test/L0/Worker/JobExtensionL0.cs b/src/Test/L0/Worker/JobExtensionL0.cs index 5db32d47a30..69a3ec5745d 100644 --- a/src/Test/L0/Worker/JobExtensionL0.cs +++ b/src/Test/L0/Worker/JobExtensionL0.cs @@ -116,7 +116,7 @@ private TestHostContext CreateTestContext([CallerMemberName] String testName = " Guid jobId = Guid.NewGuid(); _message = new Pipelines.AgentJobRequestMessage(plan, timeline, jobId, "test", "test", null, null, null, new Dictionary(), new List(), new Pipelines.JobResources(), new Pipelines.ContextData.DictionaryContextData(), new Pipelines.WorkspaceOptions(), steps, null, null, null, null, null); GitHubContext github = new(); - github["repository"] = new Pipelines.ContextData.StringContextData("actions/runner"); + github["repository"] = new Pipelines.ContextData.StringContextData("mattrwi/runner"); github["secret_source"] = new Pipelines.ContextData.StringContextData("Actions"); _message.ContextData.Add("github", github); _message.Resources.Endpoints.Add(new ServiceEndpoint() diff --git a/src/Test/L0/Worker/PipelineDirectoryManagerL0.cs b/src/Test/L0/Worker/PipelineDirectoryManagerL0.cs index faabf9ef89a..fdb9f55243f 100644 --- a/src/Test/L0/Worker/PipelineDirectoryManagerL0.cs +++ b/src/Test/L0/Worker/PipelineDirectoryManagerL0.cs @@ -148,7 +148,7 @@ public void UpdatesRepositoryDirectoryWorkspaceRepo() _trackingManager.Setup(x => x.LoadIfExists(_ec.Object, _trackingFile)).Returns(_existingConfig); // Act. - _pipelineDirectoryManager.UpdateRepositoryDirectory(_ec.Object, "actions/runner", Path.Combine(hc.GetDirectory(WellKnownDirectory.Work), _existingConfig.PipelineDirectory, "my_new_path"), true); + _pipelineDirectoryManager.UpdateRepositoryDirectory(_ec.Object, "mattrwi/runner", Path.Combine(hc.GetDirectory(WellKnownDirectory.Work), _existingConfig.PipelineDirectory, "my_new_path"), true); // Assert. _trackingManager.Verify(x => x.LoadIfExists(_ec.Object, _trackingFile)); @@ -206,13 +206,13 @@ private TestHostContext Setup( _ec.Setup(x => x.Global).Returns(new GlobalContext()); GitHubContext githubContext = new(); - _ec.Setup(x => x.GetGitHubContext("repository")).Returns("actions/runner"); + _ec.Setup(x => x.GetGitHubContext("repository")).Returns("mattrwi/runner"); // Store the expected tracking file path. _trackingFile = Path.Combine( hc.GetDirectory(WellKnownDirectory.Work), Constants.Pipeline.Path.PipelineMappingDirectory, - "actions/runner", + "mattrwi/runner", Constants.Pipeline.Path.TrackingConfigFile); _workspaceOptions = new Pipelines.WorkspaceOptions(); diff --git a/src/Test/L0/Worker/TrackingManagerL0.cs b/src/Test/L0/Worker/TrackingManagerL0.cs index a016943371c..8fee50f2a10 100644 --- a/src/Test/L0/Worker/TrackingManagerL0.cs +++ b/src/Test/L0/Worker/TrackingManagerL0.cs @@ -24,7 +24,7 @@ public TestHostContext Setup([CallerMemberName] string name = "") // Setup the execution context. _ec = new Mock(); GitHubContext githubContext = new(); - _ec.Setup(x => x.GetGitHubContext("repository")).Returns("actions/runner"); + _ec.Setup(x => x.GetGitHubContext("repository")).Returns("mattrwi/runner"); // Setup the tracking manager. _trackingManager = new TrackingManager(); @@ -51,10 +51,10 @@ public void CreatesTrackingConfig() TrackingConfig config = _trackingManager.LoadIfExists(_ec.Object, trackingFile); Assert.Equal("runner", config.PipelineDirectory); Assert.Equal($"runner{Path.DirectorySeparatorChar}runner", config.WorkspaceDirectory); - Assert.Equal("actions/runner", config.RepositoryName); + Assert.Equal("mattrwi/runner", config.RepositoryName); Assert.Equal(1, config.Repositories.Count); - Assert.Equal($"runner{Path.DirectorySeparatorChar}runner", config.Repositories["actions/runner"].RepositoryPath); + Assert.Equal($"runner{Path.DirectorySeparatorChar}runner", config.Repositories["mattrwi/runner"].RepositoryPath); // Manipulate the expected seconds due to loss of granularity when the // date-time-offset is serialized in a friendly format. @@ -80,11 +80,11 @@ public void LoadsTrackingConfig() // Assert. Assert.NotNull(config); - Assert.Equal("actions/runner", config.RepositoryName); + Assert.Equal("mattrwi/runner", config.RepositoryName); Assert.Equal("runner", config.PipelineDirectory); Assert.Equal($"runner{Path.DirectorySeparatorChar}runner", config.WorkspaceDirectory); Assert.Equal(1, config.Repositories.Count); - Assert.Equal($"runner{Path.DirectorySeparatorChar}runner", config.Repositories["actions/runner"].RepositoryPath); + Assert.Equal($"runner{Path.DirectorySeparatorChar}runner", config.Repositories["mattrwi/runner"].RepositoryPath); } } @@ -113,7 +113,7 @@ public void UpdatesTrackingConfigJobRunProperties() using (TestHostContext hc = Setup()) { // Arrange. - TrackingConfig config = new() { RepositoryName = "actions/runner" }; + TrackingConfig config = new() { RepositoryName = "mattrwi/runner" }; string trackingFile = Path.Combine(_workFolder, "trackingconfig.json"); // Act. @@ -122,7 +122,7 @@ public void UpdatesTrackingConfigJobRunProperties() // Assert. config = _trackingManager.LoadIfExists(_ec.Object, trackingFile); Assert.NotNull(config); - Assert.Equal("actions/runner", config.RepositoryName); + Assert.Equal("mattrwi/runner", config.RepositoryName); } } } diff --git a/src/Test/Properties.cs b/src/Test/Properties.cs index a4bcec543f2..217120083bf 100644 --- a/src/Test/Properties.cs +++ b/src/Test/Properties.cs @@ -1,3 +1,3 @@ -using Xunit; +using Xunit; [assembly: CollectionBehavior(DisableTestParallelization = true)] diff --git a/src/Test/Test.csproj b/src/Test/Test.csproj index 1beddbfc251..1afcb9142b2 100644 --- a/src/Test/Test.csproj +++ b/src/Test/Test.csproj @@ -1,8 +1,5 @@ - net6.0 - win-x64;win-x86;linux-x64;linux-arm64;linux-arm;osx-x64;osx-arm64;win-arm64 - true NU1701;NU1603;NU1603;xUnit2013; diff --git a/src/dev.sh b/src/dev.sh index 8536aae665f..a19562d57be 100755 --- a/src/dev.sh +++ b/src/dev.sh @@ -82,7 +82,7 @@ if [[ "$CURRENT_PLATFORM" == 'windows' ]]; then exit 1 fi elif [[ "$CURRENT_PLATFORM" == 'linux' ]]; then - if [[ ("$RUNTIME_ID" != 'linux-x64') && ("$RUNTIME_ID" != 'linux-x86') && ("$RUNTIME_ID" != 'linux-arm64') && ("$RUNTIME_ID" != 'linux-arm') ]]; then + if [[ ("$RUNTIME_ID" != 'linux-x64') && ("$RUNTIME_ID" != 'linux-x86') && ("$RUNTIME_ID" != 'linux-arm64') && ("$RUNTIME_ID" != 'linux-arm') && ( "$RUNTIME_ID" != 'linux-s390x' ) ]]; then echo "Failed: Can't build $RUNTIME_ID package $CURRENT_PLATFORM" >&2 exit 1 fi diff --git a/src/dir.proj b/src/dir.proj index 056a312e8f8..036782c3469 100644 --- a/src/dir.proj +++ b/src/dir.proj @@ -1,64 +1,64 @@ - - - - - + + + + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - + - - + + - - - - - - - - - + + + + + + + + + - - - - - + + + + + - - - - + + + + - - - - - + + + + + - - + + @@ -66,8 +66,8 @@ - - + +