You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Learn about how to use the Roslyn Analyzer to help adhere to Durable Functions specific code constraints.
4
4
author: amdeel
5
5
ms.topic: conceptual
6
-
ms.date: 02/15/2023
6
+
ms.date: 08/05/2025
7
7
ms.author: azfuncdf
8
-
zone_pivot_groups: function-worker-process
9
8
---
10
9
11
10
# Durable Functions Rosyln Analyzer (C# only)
12
11
13
-
::: zone pivot="isolated"
14
-
The Durable Functions Roslyn Analyzer is a live code analyzer that guides C# users to adhere to Durable Functions specific [code constraints](./durable-functions-code-constraints.md). This analyzer is enabled by default to check your Durable Functions code and generate warnings and errors when there's any. A list of shipped analyzer rules can be found in the [analyzer release notes](https://github.com/microsoft/durabletask-dotnet/blob/main/src/Analyzers/AnalyzerReleases.Shipped.md).
12
+
The Durable Functions Roslyn Analyzer is a live code analyzer that guides C# users to adhere to Durable Functions specific [code constraints](./durable-functions-code-constraints.md). This analyzer is *enabled by default* to check your Durable Functions code and generate warnings and errors when there's any.
15
13
16
-
For more information on the .NET Isolated Analyzer (improvements, releases, bug fixes, etc.), visit [the durabletask-dotnet release notes page](https://github.com/microsoft/durabletask-dotnet/releases).
14
+
## .NET isolated analyzer
17
15
18
-
> [!NOTE]
19
-
> The .NET Isolated Roslyn Analyzer is only available starting from [Microsoft.Azure.Functions.Worker.Extensions.DurableTask v1.6.0](https://www.nuget.org/packages/Microsoft.Azure.Functions.Worker.Extensions.DurableTask/1.6.0).
20
-
21
-
::: zone-end
16
+
Find information (improvements, releases, bug fixes, etc.) about the Roslyn Analyzer for the NET isolated model on [the durabletask-dotnet release notes page](https://github.com/microsoft/durabletask-dotnet/releases).
22
17
23
-
::: zone pivot="in-proc"
18
+
A list of shipped analyzer rules can be found in the [analyzer release notes](https://github.com/microsoft/durabletask-dotnet/blob/main/src/Analyzers/AnalyzerReleases.Shipped.md).
24
19
25
-
The Durable Functions Roslyn Analyzer is a live code analyzer that guides C# users to adhere to Durable Functions specific [code constraints](./durable-functions-code-constraints.md). This analyzer is enabled by default to check your Durable Functions code and generate warnings and errors when there's any. Currently, the analyzer is only supported in the .NET in-process worker.
20
+
> [!NOTE]
21
+
> The .NET Isolated Roslyn Analyzer is only available starting from [Microsoft.Azure.Functions.Worker.Extensions.DurableTask v1.6.0](https://www.nuget.org/packages/Microsoft.Azure.Functions.Worker.Extensions.DurableTask/1.6.0).
26
22
27
-
The Roslyn Analyzer for the **in-process** model is available and provides diagnostics to enforce Durable Functions best practices. See the [Analyzer v0.2.0 release](https://github.com/Azure/azure-functions-durable-extension/releases/tag/Analyzer-v0.2.0) for details.
23
+
## .NET in-process analyzer
28
24
29
-
For updated information about the .NET In-Process Analyzer, visit [the durable-extension release notes page](https://github.com/Azure/azure-functions-durable-extension/releases).
25
+
Information regarding the Roslyn Analyzer for the **in-process** model can be found on the[Analyzer v0.2.0 release page](https://github.com/Azure/azure-functions-durable-extension/releases/tag/Analyzer-v0.2.0).
30
26
31
-
## Configuration
27
+
The following sections provide configuration instructions for more detailed analysis when using the .NET in-process analyzer.
0 commit comments