Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
24afd202
R
roslyn
项目概览
lwm1986
/
roslyn
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
roslyn
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
24afd202
编写于
2月 08, 2020
作者:
C
Cyrus Najmabadi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Simplify by moving to extensions
上级
97615144
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
41 addition
and
40 deletion
+41
-40
src/Workspaces/CSharp/Portable/LanguageServices/CSharpSyntaxFactsService.cs
...arp/Portable/LanguageServices/CSharpSyntaxFactsService.cs
+0
-6
src/Workspaces/CSharp/Portable/LanguageServices/CSharpSyntaxKindsService.cs
...arp/Portable/LanguageServices/CSharpSyntaxKindsService.cs
+2
-0
src/Workspaces/Core/Portable/LanguageServices/SyntaxFactsService/ISyntaxFactsService.cs
...anguageServices/SyntaxFactsService/ISyntaxFactsService.cs
+0
-2
src/Workspaces/Core/Portable/LanguageServices/SyntaxFactsService/ISyntaxFactsServiceExtensions.cs
...vices/SyntaxFactsService/ISyntaxFactsServiceExtensions.cs
+18
-12
src/Workspaces/Core/Portable/LanguageServices/SyntaxFactsService/ISyntaxKindsService.cs
...anguageServices/SyntaxFactsService/ISyntaxKindsService.cs
+14
-8
src/Workspaces/VisualBasic/Portable/LanguageServices/VisualBasicSyntaxFactsService.vb
...ortable/LanguageServices/VisualBasicSyntaxFactsService.vb
+0
-8
src/Workspaces/VisualBasic/Portable/LanguageServices/VisualBasicSyntaxKindsService.vb
...ortable/LanguageServices/VisualBasicSyntaxKindsService.vb
+7
-4
未找到文件。
src/Workspaces/CSharp/Portable/LanguageServices/CSharpSyntaxFactsService.cs
浏览文件 @
24afd202
...
@@ -1483,12 +1483,6 @@ public bool IsPossibleTupleContext(SyntaxTree syntaxTree, int position, Cancella
...
@@ -1483,12 +1483,6 @@ public bool IsPossibleTupleContext(SyntaxTree syntaxTree, int position, Cancella
public
SyntaxNode
GetExpressionOfExpressionStatement
(
SyntaxNode
node
)
public
SyntaxNode
GetExpressionOfExpressionStatement
(
SyntaxNode
node
)
=>
((
ExpressionStatementSyntax
)
node
).
Expression
;
=>
((
ExpressionStatementSyntax
)
node
).
Expression
;
public
bool
IsNullLiteralExpression
(
SyntaxNode
node
)
=>
node
.
Kind
()
==
SyntaxKind
.
NullLiteralExpression
;
public
bool
IsDefaultLiteralExpression
(
SyntaxNode
node
)
=>
node
.
Kind
()
==
SyntaxKind
.
DefaultLiteralExpression
;
public
bool
IsBinaryExpression
(
SyntaxNode
node
)
public
bool
IsBinaryExpression
(
SyntaxNode
node
)
=>
node
is
BinaryExpressionSyntax
;
=>
node
is
BinaryExpressionSyntax
;
...
...
src/Workspaces/CSharp/Portable/LanguageServices/CSharpSyntaxKindsService.cs
浏览文件 @
24afd202
...
@@ -44,11 +44,13 @@ public override TSyntaxKind Convert<TSyntaxKind>(int kind)
...
@@ -44,11 +44,13 @@ public override TSyntaxKind Convert<TSyntaxKind>(int kind)
public
override
int
BaseExpression
=>
(
int
)
SyntaxKind
.
BaseExpression
;
public
override
int
BaseExpression
=>
(
int
)
SyntaxKind
.
BaseExpression
;
public
override
int
CharacterLiteralExpression
=>
(
int
)
SyntaxKind
.
CharacterLiteralExpression
;
public
override
int
CharacterLiteralExpression
=>
(
int
)
SyntaxKind
.
CharacterLiteralExpression
;
public
override
int
ConditionalAccessExpression
=>
(
int
)
SyntaxKind
.
ConditionalAccessExpression
;
public
override
int
ConditionalAccessExpression
=>
(
int
)
SyntaxKind
.
ConditionalAccessExpression
;
public
override
int
DefaultLiteralExpression
=>
(
int
)
SyntaxKind
.
DefaultLiteralExpression
;
public
override
int
FalseLiteralExpression
=>
(
int
)
SyntaxKind
.
FalseLiteralExpression
;
public
override
int
FalseLiteralExpression
=>
(
int
)
SyntaxKind
.
FalseLiteralExpression
;
public
override
int
InvocationExpression
=>
(
int
)
SyntaxKind
.
InvocationExpression
;
public
override
int
InvocationExpression
=>
(
int
)
SyntaxKind
.
InvocationExpression
;
public
override
int
LogicalAndExpression
=>
(
int
)
SyntaxKind
.
LogicalAndExpression
;
public
override
int
LogicalAndExpression
=>
(
int
)
SyntaxKind
.
LogicalAndExpression
;
public
override
int
LogicalOrExpression
=>
(
int
)
SyntaxKind
.
LogicalOrExpression
;
public
override
int
LogicalOrExpression
=>
(
int
)
SyntaxKind
.
LogicalOrExpression
;
public
override
int
ObjectCreationExpression
=>
(
int
)
SyntaxKind
.
ObjectCreationExpression
;
public
override
int
ObjectCreationExpression
=>
(
int
)
SyntaxKind
.
ObjectCreationExpression
;
public
override
int
NullLiteralExpression
=>
(
int
)
SyntaxKind
.
NullLiteralExpression
;
public
override
int
ParenthesizedExpression
=>
(
int
)
SyntaxKind
.
ParenthesizedExpression
;
public
override
int
ParenthesizedExpression
=>
(
int
)
SyntaxKind
.
ParenthesizedExpression
;
public
override
int
QueryExpression
=>
(
int
)
SyntaxKind
.
QueryExpression
;
public
override
int
QueryExpression
=>
(
int
)
SyntaxKind
.
QueryExpression
;
public
override
int
ReferenceEqualsExpression
=>
(
int
)
SyntaxKind
.
EqualsExpression
;
public
override
int
ReferenceEqualsExpression
=>
(
int
)
SyntaxKind
.
EqualsExpression
;
...
...
src/Workspaces/Core/Portable/LanguageServices/SyntaxFactsService/ISyntaxFactsService.cs
浏览文件 @
24afd202
...
@@ -96,8 +96,6 @@ internal interface ISyntaxFactsService : ILanguageService
...
@@ -96,8 +96,6 @@ internal interface ISyntaxFactsService : ILanguageService
bool
IsDocumentationComment
(
SyntaxNode
node
);
bool
IsDocumentationComment
(
SyntaxNode
node
);
bool
IsNumericLiteralExpression
(
SyntaxNode
node
);
bool
IsNumericLiteralExpression
(
SyntaxNode
node
);
bool
IsNullLiteralExpression
(
SyntaxNode
node
);
bool
IsDefaultLiteralExpression
(
SyntaxNode
node
);
bool
IsLiteralExpression
(
SyntaxNode
node
);
bool
IsLiteralExpression
(
SyntaxNode
node
);
string
GetText
(
int
kind
);
string
GetText
(
int
kind
);
...
...
src/Workspaces/Core/Portable/LanguageServices/SyntaxFactsService/ISyntaxFactsServiceExtensions.cs
浏览文件 @
24afd202
...
@@ -223,21 +223,33 @@ public static bool IsQualifiedName(this ISyntaxFactsService syntaxFacts, [NotNul
...
@@ -223,21 +223,33 @@ public static bool IsQualifiedName(this ISyntaxFactsService syntaxFacts, [NotNul
public
static
bool
IsTupleType
(
this
ISyntaxFactsService
syntaxFacts
,
[
NotNullWhen
(
true
)]
SyntaxNode
?
node
)
public
static
bool
IsTupleType
(
this
ISyntaxFactsService
syntaxFacts
,
[
NotNullWhen
(
true
)]
SyntaxNode
?
node
)
=>
node
?.
RawKind
==
syntaxFacts
.
SyntaxKinds
.
TupleType
;
=>
node
?.
RawKind
==
syntaxFacts
.
SyntaxKinds
.
TupleType
;
public
static
bool
IsCharacterLiteralExpression
(
this
ISyntaxFactsService
syntaxFacts
,
[
NotNullWhen
(
true
)]
SyntaxNode
?
node
)
=>
node
?.
RawKind
==
syntaxFacts
.
SyntaxKinds
.
CharacterLiteralExpression
;
public
static
bool
IsDefaultLiteralExpression
(
this
ISyntaxFactsService
syntaxFacts
,
[
NotNullWhen
(
true
)]
SyntaxNode
?
node
)
=>
node
?.
RawKind
==
syntaxFacts
.
SyntaxKinds
.
DefaultLiteralExpression
;
public
static
bool
IsFalseLiteralExpression
(
this
ISyntaxFactsService
syntaxFacts
,
[
NotNullWhen
(
true
)]
SyntaxNode
?
node
)
=>
node
?.
RawKind
==
syntaxFacts
.
SyntaxKinds
.
FalseLiteralExpression
;
public
static
bool
IsNullLiteralExpression
(
this
ISyntaxFactsService
syntaxFacts
,
[
NotNullWhen
(
true
)]
SyntaxNode
?
node
)
=>
node
?.
RawKind
==
syntaxFacts
.
SyntaxKinds
.
NullLiteralExpression
;
public
static
bool
IsStringLiteralExpression
(
this
ISyntaxFactsService
syntaxFacts
,
[
NotNullWhen
(
true
)]
SyntaxNode
?
node
)
=>
node
?.
RawKind
==
syntaxFacts
.
SyntaxKinds
.
StringLiteralExpression
;
public
static
bool
IsTrueLiteralExpression
(
this
ISyntaxFactsService
syntaxFacts
,
[
NotNullWhen
(
true
)]
SyntaxNode
?
node
)
=>
node
?.
RawKind
==
syntaxFacts
.
SyntaxKinds
.
TrueLiteralExpression
;
public
static
bool
IsAwaitExpression
(
this
ISyntaxFactsService
syntaxFacts
,
[
NotNullWhen
(
true
)]
SyntaxNode
?
node
)
public
static
bool
IsAwaitExpression
(
this
ISyntaxFactsService
syntaxFacts
,
[
NotNullWhen
(
true
)]
SyntaxNode
?
node
)
=>
node
?.
RawKind
==
syntaxFacts
.
SyntaxKinds
.
AwaitExpression
;
=>
node
?.
RawKind
==
syntaxFacts
.
SyntaxKinds
.
AwaitExpression
;
public
static
bool
IsBaseExpression
(
this
ISyntaxFactsService
syntaxFacts
,
[
NotNullWhen
(
true
)]
SyntaxNode
?
node
)
public
static
bool
IsBaseExpression
(
this
ISyntaxFactsService
syntaxFacts
,
[
NotNullWhen
(
true
)]
SyntaxNode
?
node
)
=>
node
?.
RawKind
==
syntaxFacts
.
SyntaxKinds
.
BaseExpression
;
=>
node
?.
RawKind
==
syntaxFacts
.
SyntaxKinds
.
BaseExpression
;
public
static
bool
IsCharacterLiteralExpression
(
this
ISyntaxFactsService
syntaxFacts
,
[
NotNullWhen
(
true
)]
SyntaxNode
?
node
)
=>
node
?.
RawKind
==
syntaxFacts
.
SyntaxKinds
.
CharacterLiteralExpression
;
public
static
bool
IsConditionalAccessExpression
(
this
ISyntaxFactsService
syntaxFacts
,
[
NotNullWhen
(
true
)]
SyntaxNode
?
node
)
public
static
bool
IsConditionalAccessExpression
(
this
ISyntaxFactsService
syntaxFacts
,
[
NotNullWhen
(
true
)]
SyntaxNode
?
node
)
=>
node
?.
RawKind
==
syntaxFacts
.
SyntaxKinds
.
ConditionalAccessExpression
;
=>
node
?.
RawKind
==
syntaxFacts
.
SyntaxKinds
.
ConditionalAccessExpression
;
public
static
bool
IsFalseLiteralExpression
(
this
ISyntaxFactsService
syntaxFacts
,
[
NotNullWhen
(
true
)]
SyntaxNode
?
node
)
=>
node
?.
RawKind
==
syntaxFacts
.
SyntaxKinds
.
FalseLiteralExpression
;
public
static
bool
IsInvocationExpression
(
this
ISyntaxFactsService
syntaxFacts
,
[
NotNullWhen
(
true
)]
SyntaxNode
?
node
)
public
static
bool
IsInvocationExpression
(
this
ISyntaxFactsService
syntaxFacts
,
[
NotNullWhen
(
true
)]
SyntaxNode
?
node
)
=>
node
?.
RawKind
==
syntaxFacts
.
SyntaxKinds
.
InvocationExpression
;
=>
node
?.
RawKind
==
syntaxFacts
.
SyntaxKinds
.
InvocationExpression
;
...
@@ -259,15 +271,9 @@ public static bool IsQueryExpression(this ISyntaxFactsService syntaxFacts, [NotN
...
@@ -259,15 +271,9 @@ public static bool IsQueryExpression(this ISyntaxFactsService syntaxFacts, [NotN
public
static
bool
IsSimpleMemberAccessExpression
(
this
ISyntaxFactsService
syntaxFacts
,
[
NotNullWhen
(
true
)]
SyntaxNode
?
node
)
public
static
bool
IsSimpleMemberAccessExpression
(
this
ISyntaxFactsService
syntaxFacts
,
[
NotNullWhen
(
true
)]
SyntaxNode
?
node
)
=>
node
?.
RawKind
==
syntaxFacts
.
SyntaxKinds
.
SimpleMemberAccessExpression
;
=>
node
?.
RawKind
==
syntaxFacts
.
SyntaxKinds
.
SimpleMemberAccessExpression
;
public
static
bool
IsStringLiteralExpression
(
this
ISyntaxFactsService
syntaxFacts
,
[
NotNullWhen
(
true
)]
SyntaxNode
?
node
)
=>
node
?.
RawKind
==
syntaxFacts
.
SyntaxKinds
.
StringLiteralExpression
;
public
static
bool
IsThisExpression
(
this
ISyntaxFactsService
syntaxFacts
,
[
NotNullWhen
(
true
)]
SyntaxNode
?
node
)
public
static
bool
IsThisExpression
(
this
ISyntaxFactsService
syntaxFacts
,
[
NotNullWhen
(
true
)]
SyntaxNode
?
node
)
=>
node
?.
RawKind
==
syntaxFacts
.
SyntaxKinds
.
ThisExpression
;
=>
node
?.
RawKind
==
syntaxFacts
.
SyntaxKinds
.
ThisExpression
;
public
static
bool
IsTrueLiteralExpression
(
this
ISyntaxFactsService
syntaxFacts
,
[
NotNullWhen
(
true
)]
SyntaxNode
?
node
)
=>
node
?.
RawKind
==
syntaxFacts
.
SyntaxKinds
.
TrueLiteralExpression
;
public
static
bool
IsTupleExpression
(
this
ISyntaxFactsService
syntaxFacts
,
[
NotNullWhen
(
true
)]
SyntaxNode
?
node
)
public
static
bool
IsTupleExpression
(
this
ISyntaxFactsService
syntaxFacts
,
[
NotNullWhen
(
true
)]
SyntaxNode
?
node
)
=>
node
?.
RawKind
==
syntaxFacts
.
SyntaxKinds
.
TupleExpression
;
=>
node
?.
RawKind
==
syntaxFacts
.
SyntaxKinds
.
TupleExpression
;
...
...
src/Workspaces/Core/Portable/LanguageServices/SyntaxFactsService/ISyntaxKindsService.cs
浏览文件 @
24afd202
...
@@ -35,12 +35,17 @@ internal interface ISyntaxKindsService : ILanguageService
...
@@ -35,12 +35,17 @@ internal interface ISyntaxKindsService : ILanguageService
int
TupleType
{
get
;
}
int
TupleType
{
get
;
}
int
CharacterLiteralExpression
{
get
;
}
int
DefaultLiteralExpression
{
get
;
}
int
FalseLiteralExpression
{
get
;
}
int
NullLiteralExpression
{
get
;
}
int
StringLiteralExpression
{
get
;
}
int
TrueLiteralExpression
{
get
;
}
int
AnonymousObjectCreationExpression
{
get
;
}
int
AnonymousObjectCreationExpression
{
get
;
}
int
AwaitExpression
{
get
;
}
int
AwaitExpression
{
get
;
}
int
BaseExpression
{
get
;
}
int
BaseExpression
{
get
;
}
int
CharacterLiteralExpression
{
get
;
}
int
ConditionalAccessExpression
{
get
;
}
int
ConditionalAccessExpression
{
get
;
}
int
FalseLiteralExpression
{
get
;
}
int
InvocationExpression
{
get
;
}
int
InvocationExpression
{
get
;
}
/// <summary>
/// <summary>
...
@@ -59,10 +64,8 @@ internal interface ISyntaxKindsService : ILanguageService
...
@@ -59,10 +64,8 @@ internal interface ISyntaxKindsService : ILanguageService
int
ReferenceEqualsExpression
{
get
;
}
int
ReferenceEqualsExpression
{
get
;
}
int
ReferenceNotEqualsExpression
{
get
;
}
int
ReferenceNotEqualsExpression
{
get
;
}
int
SimpleMemberAccessExpression
{
get
;
}
int
SimpleMemberAccessExpression
{
get
;
}
int
StringLiteralExpression
{
get
;
}
int
TernaryConditionalExpression
{
get
;
}
int
TernaryConditionalExpression
{
get
;
}
int
ThisExpression
{
get
;
}
int
ThisExpression
{
get
;
}
int
TrueLiteralExpression
{
get
;
}
int
TupleExpression
{
get
;
}
int
TupleExpression
{
get
;
}
int
EndOfFileToken
{
get
;
}
int
EndOfFileToken
{
get
;
}
...
@@ -109,12 +112,17 @@ internal abstract class AbstractSyntaxKindsService : ISyntaxKindsService
...
@@ -109,12 +112,17 @@ internal abstract class AbstractSyntaxKindsService : ISyntaxKindsService
public
abstract
int
TupleType
{
get
;
}
public
abstract
int
TupleType
{
get
;
}
public
abstract
int
CharacterLiteralExpression
{
get
;
}
public
abstract
int
DefaultLiteralExpression
{
get
;
}
public
abstract
int
FalseLiteralExpression
{
get
;
}
public
abstract
int
NullLiteralExpression
{
get
;
}
public
abstract
int
StringLiteralExpression
{
get
;
}
public
abstract
int
TrueLiteralExpression
{
get
;
}
public
abstract
int
AnonymousObjectCreationExpression
{
get
;
}
public
abstract
int
AnonymousObjectCreationExpression
{
get
;
}
public
abstract
int
AwaitExpression
{
get
;
}
public
abstract
int
AwaitExpression
{
get
;
}
public
abstract
int
BaseExpression
{
get
;
}
public
abstract
int
BaseExpression
{
get
;
}
public
abstract
int
CharacterLiteralExpression
{
get
;
}
public
abstract
int
ConditionalAccessExpression
{
get
;
}
public
abstract
int
ConditionalAccessExpression
{
get
;
}
public
abstract
int
FalseLiteralExpression
{
get
;
}
public
abstract
int
InvocationExpression
{
get
;
}
public
abstract
int
InvocationExpression
{
get
;
}
public
abstract
int
LogicalAndExpression
{
get
;
}
public
abstract
int
LogicalAndExpression
{
get
;
}
public
abstract
int
LogicalOrExpression
{
get
;
}
public
abstract
int
LogicalOrExpression
{
get
;
}
...
@@ -124,10 +132,8 @@ internal abstract class AbstractSyntaxKindsService : ISyntaxKindsService
...
@@ -124,10 +132,8 @@ internal abstract class AbstractSyntaxKindsService : ISyntaxKindsService
public
abstract
int
ReferenceEqualsExpression
{
get
;
}
public
abstract
int
ReferenceEqualsExpression
{
get
;
}
public
abstract
int
ReferenceNotEqualsExpression
{
get
;
}
public
abstract
int
ReferenceNotEqualsExpression
{
get
;
}
public
abstract
int
SimpleMemberAccessExpression
{
get
;
}
public
abstract
int
SimpleMemberAccessExpression
{
get
;
}
public
abstract
int
StringLiteralExpression
{
get
;
}
public
abstract
int
TernaryConditionalExpression
{
get
;
}
public
abstract
int
TernaryConditionalExpression
{
get
;
}
public
abstract
int
ThisExpression
{
get
;
}
public
abstract
int
ThisExpression
{
get
;
}
public
abstract
int
TrueLiteralExpression
{
get
;
}
public
abstract
int
TupleExpression
{
get
;
}
public
abstract
int
TupleExpression
{
get
;
}
public
abstract
int
EndOfFileToken
{
get
;
}
public
abstract
int
EndOfFileToken
{
get
;
}
...
...
src/Workspaces/VisualBasic/Portable/LanguageServices/VisualBasicSyntaxFactsService.vb
浏览文件 @
24afd202
...
@@ -1509,14 +1509,6 @@ Namespace Microsoft.CodeAnalysis.VisualBasic
...
@@ -1509,14 +1509,6 @@ Namespace Microsoft.CodeAnalysis.VisualBasic
Return
DirectCast
(
node
,
ExpressionStatementSyntax
).
Expression
Return
DirectCast
(
node
,
ExpressionStatementSyntax
).
Expression
End
Function
End
Function
Public
Function
IsNullLiteralExpression
(
node
As
SyntaxNode
)
As
Boolean
Implements
ISyntaxFactsService
.
IsNullLiteralExpression
Return
node
.
Kind
()
=
SyntaxKind
.
NothingLiteralExpression
End
Function
Public
Function
IsDefaultLiteralExpression
(
node
As
SyntaxNode
)
As
Boolean
Implements
ISyntaxFactsService
.
IsDefaultLiteralExpression
Return
IsNullLiteralExpression
(
node
)
End
Function
Public
Function
IsBinaryExpression
(
node
As
SyntaxNode
)
As
Boolean
Implements
ISyntaxFactsService
.
IsBinaryExpression
Public
Function
IsBinaryExpression
(
node
As
SyntaxNode
)
As
Boolean
Implements
ISyntaxFactsService
.
IsBinaryExpression
Return
TypeOf
node
Is
BinaryExpressionSyntax
Return
TypeOf
node
Is
BinaryExpressionSyntax
End
Function
End
Function
...
...
src/Workspaces/VisualBasic/Portable/LanguageServices/VisualBasicSyntaxKindsService.vb
浏览文件 @
24afd202
...
@@ -37,12 +37,17 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.LanguageServices
...
@@ -37,12 +37,17 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.LanguageServices
Public
Overrides
ReadOnly
Property
TupleType
As
Integer
=
SyntaxKind
.
TupleType
Public
Overrides
ReadOnly
Property
TupleType
As
Integer
=
SyntaxKind
.
TupleType
Public
Overrides
ReadOnly
Property
CharacterLiteralExpression
As
Integer
=
SyntaxKind
.
CharacterLiteralExpression
Public
Overrides
ReadOnly
Property
DefaultLiteralExpression
As
Integer
=
SyntaxKind
.
NothingLiteralExpression
Public
Overrides
ReadOnly
Property
FalseLiteralExpression
As
Integer
=
SyntaxKind
.
FalseLiteralExpression
Public
Overrides
ReadOnly
Property
NullLiteralExpression
As
Integer
=
SyntaxKind
.
NothingLiteralExpression
Public
Overrides
ReadOnly
Property
StringLiteralExpression
As
Integer
=
SyntaxKind
.
StringLiteralExpression
Public
Overrides
ReadOnly
Property
TrueLiteralExpression
As
Integer
=
SyntaxKind
.
TrueLiteralExpression
Public
Overrides
ReadOnly
Property
AnonymousObjectCreationExpression
As
Integer
=
SyntaxKind
.
AnonymousObjectCreationExpression
Public
Overrides
ReadOnly
Property
AnonymousObjectCreationExpression
As
Integer
=
SyntaxKind
.
AnonymousObjectCreationExpression
Public
Overrides
ReadOnly
Property
AwaitExpression
As
Integer
=
SyntaxKind
.
AwaitExpression
Public
Overrides
ReadOnly
Property
AwaitExpression
As
Integer
=
SyntaxKind
.
AwaitExpression
Public
Overrides
ReadOnly
Property
BaseExpression
As
Integer
=
SyntaxKind
.
MyBaseExpression
Public
Overrides
ReadOnly
Property
BaseExpression
As
Integer
=
SyntaxKind
.
MyBaseExpression
Public
Overrides
ReadOnly
Property
CharacterLiteralExpression
As
Integer
=
SyntaxKind
.
CharacterLiteralExpression
Public
Overrides
ReadOnly
Property
ConditionalAccessExpression
As
Integer
=
SyntaxKind
.
ConditionalAccessExpression
Public
Overrides
ReadOnly
Property
ConditionalAccessExpression
As
Integer
=
SyntaxKind
.
ConditionalAccessExpression
Public
Overrides
ReadOnly
Property
FalseLiteralExpression
As
Integer
=
SyntaxKind
.
FalseLiteralExpression
Public
Overrides
ReadOnly
Property
InvocationExpression
As
Integer
=
SyntaxKind
.
InvocationExpression
Public
Overrides
ReadOnly
Property
InvocationExpression
As
Integer
=
SyntaxKind
.
InvocationExpression
Public
Overrides
ReadOnly
Property
LogicalAndExpression
As
Integer
=
SyntaxKind
.
AndAlsoExpression
Public
Overrides
ReadOnly
Property
LogicalAndExpression
As
Integer
=
SyntaxKind
.
AndAlsoExpression
Public
Overrides
ReadOnly
Property
LogicalOrExpression
As
Integer
=
SyntaxKind
.
OrElseExpression
Public
Overrides
ReadOnly
Property
LogicalOrExpression
As
Integer
=
SyntaxKind
.
OrElseExpression
...
@@ -52,10 +57,8 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.LanguageServices
...
@@ -52,10 +57,8 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.LanguageServices
Public
Overrides
ReadOnly
Property
ReferenceEqualsExpression
As
Integer
=
SyntaxKind
.
IsExpression
Public
Overrides
ReadOnly
Property
ReferenceEqualsExpression
As
Integer
=
SyntaxKind
.
IsExpression
Public
Overrides
ReadOnly
Property
ReferenceNotEqualsExpression
As
Integer
=
SyntaxKind
.
IsNotExpression
Public
Overrides
ReadOnly
Property
ReferenceNotEqualsExpression
As
Integer
=
SyntaxKind
.
IsNotExpression
Public
Overrides
ReadOnly
Property
SimpleMemberAccessExpression
As
Integer
=
SyntaxKind
.
SimpleMemberAccessExpression
Public
Overrides
ReadOnly
Property
SimpleMemberAccessExpression
As
Integer
=
SyntaxKind
.
SimpleMemberAccessExpression
Public
Overrides
ReadOnly
Property
StringLiteralExpression
As
Integer
=
SyntaxKind
.
StringLiteralExpression
Public
Overrides
ReadOnly
Property
TernaryConditionalExpression
As
Integer
=
SyntaxKind
.
TernaryConditionalExpression
Public
Overrides
ReadOnly
Property
TernaryConditionalExpression
As
Integer
=
SyntaxKind
.
TernaryConditionalExpression
Public
Overrides
ReadOnly
Property
ThisExpression
As
Integer
=
SyntaxKind
.
MeExpression
Public
Overrides
ReadOnly
Property
ThisExpression
As
Integer
=
SyntaxKind
.
MeExpression
Public
Overrides
ReadOnly
Property
TrueLiteralExpression
As
Integer
=
SyntaxKind
.
TrueLiteralExpression
Public
Overrides
ReadOnly
Property
TupleExpression
As
Integer
=
SyntaxKind
.
TupleExpression
Public
Overrides
ReadOnly
Property
TupleExpression
As
Integer
=
SyntaxKind
.
TupleExpression
Public
Overrides
ReadOnly
Property
EndOfFileToken
As
Integer
=
SyntaxKind
.
EndOfFileToken
Public
Overrides
ReadOnly
Property
EndOfFileToken
As
Integer
=
SyntaxKind
.
EndOfFileToken
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录