From a7d768bb26ba4a079a0015e39befb3bb71e5cdf5 Mon Sep 17 00:00:00 2001
From: gewarren <24882762+gewarren@users.noreply.github.com>
Date: Sun, 1 Dec 2024 01:36:16 +0000
Subject: [PATCH] =?UTF-8?q?Bot=20=F0=9F=A4=96=20generated=20CleanRepo=20to?=
=?UTF-8?q?ol=20run?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../sdk/media/mermaidjs/ChainSequence.md | 35 -------------
.../ChainedTokenCredentialAuthFlow.md | 29 -----------
.../DefaultAzureCredentialAuthFlow.md | 51 -------------------
.../DefaultAzureCredentialExcludes.md | 29 -----------
.../compiler-messages/cs8802.md | 49 ------------------
5 files changed, 193 deletions(-)
delete mode 100644 docs/azure/sdk/media/mermaidjs/ChainSequence.md
delete mode 100644 docs/azure/sdk/media/mermaidjs/ChainedTokenCredentialAuthFlow.md
delete mode 100644 docs/azure/sdk/media/mermaidjs/DefaultAzureCredentialAuthFlow.md
delete mode 100644 docs/azure/sdk/media/mermaidjs/DefaultAzureCredentialExcludes.md
delete mode 100644 docs/csharp/language-reference/compiler-messages/cs8802.md
diff --git a/docs/azure/sdk/media/mermaidjs/ChainSequence.md b/docs/azure/sdk/media/mermaidjs/ChainSequence.md
deleted file mode 100644
index 10982f7638ef1..0000000000000
--- a/docs/azure/sdk/media/mermaidjs/ChainSequence.md
+++ /dev/null
@@ -1,35 +0,0 @@
----
-ms.topic: include
-ms.date: 08/07/2024
----
-
-```mermaid
-%% STEPS TO GENERATE IMAGE
-%% =======================
-%% 1. Install mermaid CLI v10.9.1 (see https://github.com/mermaid-js/mermaid-cli/blob/master/README.md):
-%% npm i -g @mermaid-js/mermaid-cli@10.9.1
-%% 2. Run command: mmdc -i ChainSequence.md -o ../../media/mermaidjs/ChainSequence.svg
-
-sequenceDiagram
- autonumber;
-
- participant A as .NET app;
- participant B as Credential chain;
- participant C as TokenCredential instance;
-
- A->>B: Authenticate to Microsoft Entra ID;
- activate B;
- B->>B: GetToken;
- loop Traverse TokenCredential collection until AccessToken received
- B->>C: Fetch token;
- activate C;
- C->>C: GetToken;
- break when Result is AccessToken
- C-->>B: Result;
- end;
- deactivate C;
- end;
-
- B-->>A: AccessToken;
- deactivate B;
-```
diff --git a/docs/azure/sdk/media/mermaidjs/ChainedTokenCredentialAuthFlow.md b/docs/azure/sdk/media/mermaidjs/ChainedTokenCredentialAuthFlow.md
deleted file mode 100644
index e3a4efd5d0ff6..0000000000000
--- a/docs/azure/sdk/media/mermaidjs/ChainedTokenCredentialAuthFlow.md
+++ /dev/null
@@ -1,29 +0,0 @@
----
-ms.topic: include
-ms.date: 08/07/2024
----
-
-```mermaid
-%% STEPS TO GENERATE IMAGE
-%% =======================
-%% 1. Install mermaid CLI v10.9.1 (see https://github.com/mermaid-js/mermaid-cli/blob/master/README.md):
-%% npm i -g @mermaid-js/mermaid-cli@10.9.1
-%% 2. Run command: mmdc -i ChainedTokenCredentialAuthFlow.md -o ../../media/mermaidjs/ChainedTokenCredentialAuthFlow.svg
-
-%%{
- init: {
- 'theme': 'base',
- 'themeVariables': {
- 'tertiaryBorderColor': '#fff',
- 'tertiaryColor': '#fff'
- }
- }
-}%%
-
-flowchart LR;
- C(Managed Identity):::deployed --> D(Visual Studio):::developer;
-
- %% Define styles for credential type boxes
- classDef deployed fill:#95C37E, stroke:#71AD4C, stroke-width:2px;
- classDef developer fill:#F5AF6F, stroke:#EB7C39, stroke-width:2px;
-```
diff --git a/docs/azure/sdk/media/mermaidjs/DefaultAzureCredentialAuthFlow.md b/docs/azure/sdk/media/mermaidjs/DefaultAzureCredentialAuthFlow.md
deleted file mode 100644
index 377eb05685e99..0000000000000
--- a/docs/azure/sdk/media/mermaidjs/DefaultAzureCredentialAuthFlow.md
+++ /dev/null
@@ -1,51 +0,0 @@
----
-ms.topic: include
-ms.date: 08/07/2024
----
-
-```mermaid
-%% STEPS TO GENERATE IMAGE
-%% =======================
-%% 1. Install mermaid CLI v10.9.1 (see https://github.com/mermaid-js/mermaid-cli/blob/master/README.md):
-%% npm i -g @mermaid-js/mermaid-cli@10.9.1
-%% 2. Run command: mmdc -i DefaultAzureCredentialAuthFlow.md -o ../../media/mermaidjs/DefaultAzureCredentialAuthFlow.svg
-
-%%{
- init: {
- 'theme': 'base',
- 'themeVariables': {
- 'tertiaryBorderColor': '#fff',
- 'tertiaryColor': '#fff'
- }
- }
-}%%
-
-flowchart LR;
- accTitle: DefaultAzureCredential authentication flow;
- accDescr: Flowchart showing the credential chain implemented by DefaultAzureCredential;
-
- subgraph CREDENTIAL TYPES;
- direction LR;
- Deployed(Deployed service):::deployed ~~~ Developer(Developer tool):::developer ~~~ Interactive(Interactive):::interactive;
- end;
-
- subgraph CREDENTIALS;
- direction LR;
- A(Environment):::deployed --> B(Workload Identity):::deployed --> C(Managed Identity):::deployed --> D(Visual Studio):::developer --> E(Azure CLI):::developer --> F(Azure PowerShell):::developer --> G(Azure Developer CLI):::developer --> H(Interactive browser):::interactive;
- end;
-
- %% Define styles for credential type boxes
- classDef deployed fill:#95C37E, stroke:#71AD4C, stroke-width:2px;
- classDef developer fill:#F5AF6F, stroke:#EB7C39, stroke-width:2px;
- classDef interactive fill:#A5A5A5, stroke:#828282, stroke-dasharray:5 5, stroke-width:2px;
-
- %% Add API ref links to credential type boxes
- click A "https://learn.microsoft.com/dotnet/api/azure.identity.environmentcredential?view=azure-dotnet" _blank;
- click B "https://learn.microsoft.com/dotnet/api/azure.identity.workloadidentitycredential?view=azure-dotnet" _blank;
- click C "https://learn.microsoft.com/dotnet/api/azure.identity.managedidentitycredential?view=azure-dotnet" _blank;
- click D "https://learn.microsoft.com/dotnet/api/azure.identity.visualstudiocredential?view=azure-dotnet" _blank;
- click E "https://learn.microsoft.com/dotnet/api/azure.identity.azureclicredential?view=azure-dotnet" _blank;
- click F "https://learn.microsoft.com/dotnet/api/azure.identity.azurepowershellcredential?view=azure-dotnet" _blank;
- click G "https://learn.microsoft.com/dotnet/api/azure.identity.azuredeveloperclicredential?view=azure-dotnet" _blank
- click H "https://learn.microsoft.com/dotnet/api/azure.identity.interactivebrowsercredential?view=azure-dotnet" _blank;
-```
diff --git a/docs/azure/sdk/media/mermaidjs/DefaultAzureCredentialExcludes.md b/docs/azure/sdk/media/mermaidjs/DefaultAzureCredentialExcludes.md
deleted file mode 100644
index 10769fb09f86e..0000000000000
--- a/docs/azure/sdk/media/mermaidjs/DefaultAzureCredentialExcludes.md
+++ /dev/null
@@ -1,29 +0,0 @@
----
-ms.topic: include
-ms.date: 08/07/2024
----
-
-```mermaid
-%% STEPS TO GENERATE IMAGE
-%% =======================
-%% 1. Install mermaid CLI v10.9.1 (see https://github.com/mermaid-js/mermaid-cli/blob/master/README.md):
-%% npm i -g @mermaid-js/mermaid-cli@10.9.1
-%% 2. Run command: mmdc -i DefaultAzureCredentialExcludes.md -o ../../media/mermaidjs/DefaultAzureCredentialExcludes.svg
-
-%%{
- init: {
- 'theme': 'base',
- 'themeVariables': {
- 'tertiaryBorderColor': '#fff',
- 'tertiaryColor': '#fff'
- }
- }
-}%%
-
-flowchart LR;
- C(Managed Identity):::deployed --> D(Visual Studio):::developer --> E(Azure CLI):::developer --> F(Azure PowerShell):::developer --> G(Azure Developer CLI):::developer;
-
- %% Define styles for credential type boxes
- classDef deployed fill:#95C37E, stroke:#71AD4C, stroke-width:2px;
- classDef developer fill:#F5AF6F, stroke:#EB7C39, stroke-width:2px;
-```
diff --git a/docs/csharp/language-reference/compiler-messages/cs8802.md b/docs/csharp/language-reference/compiler-messages/cs8802.md
deleted file mode 100644
index 1c3f6782f528f..0000000000000
--- a/docs/csharp/language-reference/compiler-messages/cs8802.md
+++ /dev/null
@@ -1,49 +0,0 @@
----
-description: "Compiler Error CS8802"
-title: "Compiler Error CS8802"
-ms.date: 11/24/2024
-f1_keywords:
- - "CS8802"
-helpviewer_keywords:
- - "CS8802"
----
-# Compiler Error CS8802
-
-Only one compilation unit can have top-level statements.
-
-This error indicates that there are two or more [top-level statements](../../fundamentals/program-structure/top-level-statements.md) in a single compilation unit (single project or a single group of files compiled into a single binary file).
-
-## Example
-
-The following sample of single compilation unit generates CS8802:
-
-```xml
-
-
-
- net8.0
-
-
-```
-
-```csharp
-// EntryFile.cs
-
-int a = 0;
-```
-
-```csharp
-// SecondaryEntryFile.cs
-
-int b = 1; // CS8802: The top level statement already exists in EntryFile.cs
-```
-
-## To correct this error
-
-Use only one top-level statement in the project.
-
Top-level statements acts as an entry point to the program, so only one file may have top-level statement. All other statements must be defined as members of classes or structs.
-
-## See also
-
-- [Top-level statements](../../fundamentals/program-structure/top-level-statements.md)
-- [CS8803](./cs8803.md)