VisualBasicSyntaxTree.Create 方法

定义

重载

Create(VisualBasicSyntaxNode, VisualBasicParseOptions, String, Encoding)

从语法节点创建新的语法树。

Create(VisualBasicSyntaxNode, VisualBasicParseOptions, String, Encoding, ImmutableDictionary<String,ReportDiagnostic>)

从语法节点创建新的语法树。

Create(VisualBasicSyntaxNode, VisualBasicParseOptions, String, Encoding)

Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb

从语法节点创建新的语法树。

public static Microsoft.CodeAnalysis.SyntaxTree Create (Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxNode root, Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions options = default, string path = "", System.Text.Encoding encoding = default);
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public static Microsoft.CodeAnalysis.SyntaxTree Create (Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxNode root, Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions options, string path, System.Text.Encoding encoding);
static member Create : Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxNode * Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions * string * System.Text.Encoding -> Microsoft.CodeAnalysis.SyntaxTree
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
static member Create : Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxNode * Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions * string * System.Text.Encoding -> Microsoft.CodeAnalysis.SyntaxTree
Public Shared Function Create (root As VisualBasicSyntaxNode, Optional options As VisualBasicParseOptions = Nothing, Optional path As String = "", Optional encoding As Encoding = Nothing) As SyntaxTree
Public Shared Function Create (root As VisualBasicSyntaxNode, options As VisualBasicParseOptions, path As String, encoding As Encoding) As SyntaxTree

参数

path
String
encoding
Encoding

返回

属性

适用于

Create(VisualBasicSyntaxNode, VisualBasicParseOptions, String, Encoding, ImmutableDictionary<String,ReportDiagnostic>)

Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb

从语法节点创建新的语法树。

public static Microsoft.CodeAnalysis.SyntaxTree Create (Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxNode root, Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions options = default, string path = "", System.Text.Encoding encoding = default, System.Collections.Immutable.ImmutableDictionary<string,Microsoft.CodeAnalysis.ReportDiagnostic> diagnosticOptions = default);
static member Create : Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxNode * Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions * string * System.Text.Encoding * System.Collections.Immutable.ImmutableDictionary<string, Microsoft.CodeAnalysis.ReportDiagnostic> -> Microsoft.CodeAnalysis.SyntaxTree
Public Shared Function Create (root As VisualBasicSyntaxNode, Optional options As VisualBasicParseOptions = Nothing, Optional path As String = "", Optional encoding As Encoding = Nothing, Optional diagnosticOptions As ImmutableDictionary(Of String, ReportDiagnostic) = Nothing) As SyntaxTree

参数

path
String
encoding
Encoding
diagnosticOptions
ImmutableDictionary<String,ReportDiagnostic>

已过时的参数。 现在应通过诊断选项 SyntaxTreeOptionsProvider

返回

适用于