Share via


AnalyzerConfig.Parse Method

Definition

Overloads

Parse(SourceText, String)

Parses an editor config file text located at the given path. No parsing errors are reported. If any line contains a parse error, it is dropped.

Parse(String, String)

Parses an editor config file text located at the given path. No parsing errors are reported. If any line contains a parse error, it is dropped.

Parse(SourceText, String)

Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs

Parses an editor config file text located at the given path. No parsing errors are reported. If any line contains a parse error, it is dropped.

public static Microsoft.CodeAnalysis.AnalyzerConfig Parse (Microsoft.CodeAnalysis.Text.SourceText text, string pathToFile);
public static Microsoft.CodeAnalysis.AnalyzerConfig Parse (Microsoft.CodeAnalysis.Text.SourceText text, string? pathToFile);
static member Parse : Microsoft.CodeAnalysis.Text.SourceText * string -> Microsoft.CodeAnalysis.AnalyzerConfig
Public Shared Function Parse (text As SourceText, pathToFile As String) As AnalyzerConfig

Parameters

text
SourceText
pathToFile
String

Returns

Applies to

Parse(String, String)

Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs
Source:
AnalyzerConfig.cs

Parses an editor config file text located at the given path. No parsing errors are reported. If any line contains a parse error, it is dropped.

public static Microsoft.CodeAnalysis.AnalyzerConfig Parse (string text, string pathToFile);
public static Microsoft.CodeAnalysis.AnalyzerConfig Parse (string text, string? pathToFile);
static member Parse : string * string -> Microsoft.CodeAnalysis.AnalyzerConfig
Public Shared Function Parse (text As String, pathToFile As String) As AnalyzerConfig

Parameters

text
String
pathToFile
String

Returns

Applies to