Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
e4e9725a
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,发现更多精彩内容 >>
未验证
提交
e4e9725a
编写于
2月 12, 2020
作者:
C
Charles Stoner
提交者:
GitHub
2月 12, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix typos (#41580)
上级
52afb597
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
65 addition
and
65 deletion
+65
-65
src/Compilers/CSharp/Portable/Symbols/TypeSymbol.cs
src/Compilers/CSharp/Portable/Symbols/TypeSymbol.cs
+1
-1
src/Compilers/CSharp/Test/Symbol/Symbols/Source/NullablePublicAPITests.cs
...harp/Test/Symbol/Symbols/Source/NullablePublicAPITests.cs
+6
-6
src/Compilers/CSharp/Test/Symbol/Symbols/Source/UpdatedContainingSymbolAndNullableAnntotationTests.cs
...rce/UpdatedContainingSymbolAndNullableAnntotationTests.cs
+1
-1
src/Compilers/CSharp/Test/Symbol/Symbols/SymbolEqualityTests.cs
...mpilers/CSharp/Test/Symbol/Symbols/SymbolEqualityTests.cs
+3
-3
src/Compilers/Core/Portable/Serialization/ObjectWriter.cs
src/Compilers/Core/Portable/Serialization/ObjectWriter.cs
+1
-1
src/Compilers/VisualBasic/Portable/CodeGen/EmitExpression.vb
src/Compilers/VisualBasic/Portable/CodeGen/EmitExpression.vb
+1
-1
src/Compilers/VisualBasic/Test/Emit/CodeGen/CodeGenNullable.vb
...ompilers/VisualBasic/Test/Emit/CodeGen/CodeGenNullable.vb
+52
-52
未找到文件。
src/Compilers/CSharp/Portable/Symbols/TypeSymbol.cs
浏览文件 @
e4e9725a
...
...
@@ -621,7 +621,7 @@ internal TypeSymbol SetUnknownNullabilityForReferenceTypes()
(
type
)
=>
type
.
SetUnknownNullabilityForReferenceTypes
();
/// <summary>
/// Merges features of the type with an
n
other type where there is an identity conversion between them.
/// Merges features of the type with another type where there is an identity conversion between them.
/// The features to be merged are
/// object vs dynamic (dynamic wins), tuple names (dropped in case of conflict), and nullable
/// annotations (e.g. in type arguments).
...
...
src/Compilers/CSharp/Test/Symbol/Symbols/Source/NullablePublicAPITests.cs
浏览文件 @
e4e9725a
...
...
@@ -3330,7 +3330,7 @@ void LocalFunction(object? o2)
}
[
Fact
]
public
void
NestedLambdaReinfer
r
ence_SpeculativeParamReference
()
public
void
NestedLambdaReinference_SpeculativeParamReference
()
{
var
source
=
@"
using System;
...
...
@@ -3373,7 +3373,7 @@ public static void M(object? o)
}
[
Fact
]
public
void
NestedLambdaReinfer
r
ence_GetDeclaredSymbolParameter
()
public
void
NestedLambdaReinference_GetDeclaredSymbolParameter
()
{
var
source
=
@"
using System;
...
...
@@ -3401,7 +3401,7 @@ public static void M(object? o)
}
[
Fact
]
public
void
NestedLambdaReinfer
r
ence_NestedLocalDeclaration
()
public
void
NestedLambdaReinference_NestedLocalDeclaration
()
{
var
source
=
@"
using System;
...
...
@@ -3474,7 +3474,7 @@ void assertParent(SyntaxNode node)
}
[
Fact
]
public
void
NestedLambdaReinfer
r
ence_InInitializers
()
public
void
NestedLambdaReinference_InInitializers
()
{
var
source
=
@"
using System;
...
...
@@ -3529,7 +3529,7 @@ class C
}
[
Fact
]
public
void
NestedLambdaReinfer
r
ence_PartialExplicitTypes
()
public
void
NestedLambdaReinference_PartialExplicitTypes
()
{
var
source
=
@"
using System;
...
...
@@ -3589,7 +3589,7 @@ public static void M(object? o)
}
[
Fact
]
public
void
NestedLambdaReinfer
r
ence_AttributeAndInitializers
()
public
void
NestedLambdaReinference_AttributeAndInitializers
()
{
var
source
=
@"
using System;
...
...
src/Compilers/CSharp/Test/Symbol/Symbols/Source/UpdatedContainingSymbolAndNullableAnntotationTests.cs
浏览文件 @
e4e9725a
...
...
@@ -9,7 +9,7 @@
namespace
Microsoft.CodeAnalysis.CSharp.UnitTests
{
public
class
UpdatedContainingSymbolAndNullableAnn
t
otationTests
:
CSharpTestBase
public
class
UpdatedContainingSymbolAndNullableAnnotationTests
:
CSharpTestBase
{
[
Fact
]
public
void
LocalSymbols
()
...
...
src/Compilers/CSharp/Test/Symbol/Symbols/SymbolEqualityTests.cs
浏览文件 @
e4e9725a
...
...
@@ -755,7 +755,7 @@ public void SemanticModel_SubstitutedField_Equality()
@"
#nullable enable
public class A<T>
where T : class //not nec
ce
sary, but makes it easier to reason about the resulting fields
where T : class //not nec
es
sary, but makes it easier to reason about the resulting fields
{
public A<T> field = null!;
public static void M(A<T> t)
...
...
@@ -806,7 +806,7 @@ public void SemanticModel_SubstitutedMethod_Equality()
@"
#nullable enable
public class A<T>
where T : class //not nec
ce
sary, but makes it easier to reason about the resulting fields
where T : class //not nec
es
sary, but makes it easier to reason about the resulting fields
{
public A<T> M(A<T> t)
{
...
...
@@ -863,7 +863,7 @@ public void SemanticModel_SubstitutedEvent_Equality()
@"
#nullable enable
public class A<T>
where T : class //not nec
ce
sary, but makes it easier to reason about the resulting fields
where T : class //not nec
es
sary, but makes it easier to reason about the resulting fields
{
public event System.EventHandler<T> MyEvent;
public static void M(A<T> t)
...
...
src/Compilers/Core/Portable/Serialization/ObjectWriter.cs
浏览文件 @
e4e9725a
...
...
@@ -171,7 +171,7 @@ public void WriteValue(object value)
if
(
typeInfo
.
IsPrimitive
)
{
// Note: int, double, bool, char, have been chosen to go first as they're they
// common values of literals in code, and so would be
ht
e likely hits if we do
// common values of literals in code, and so would be
th
e likely hits if we do
// have a primitive type we're serializing out.
if
(
value
.
GetType
()
==
typeof
(
int
))
{
...
...
src/Compilers/VisualBasic/Portable/CodeGen/EmitExpression.vb
浏览文件 @
e4e9725a
...
...
@@ -324,7 +324,7 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.CodeGen
' We are calling the expression on a copy of the target anyway,
' so even if T is a struct, we don't need to make sure we call the expression on the original target.
' We currently have an adress on the stack. Duplicate it, and load the value of the address.
' We currently have an ad
d
ress on the stack. Duplicate it, and load the value of the address.
_builder
.
EmitOpCode
(
ILOpCode
.
Dup
)
EmitLoadIndirect
(
receiverType
,
receiver
.
Syntax
)
EmitBox
(
receiverType
,
receiver
.
Syntax
)
...
...
src/Compilers/VisualBasic/Test/Emit/CodeGen/CodeGenNullable.vb
浏览文件 @
e4e9725a
...
...
@@ -5029,7 +5029,7 @@ End Module
<
Fact
()
>
<
WorkItem
(
38305
,
"https://github.com/dotnet/roslyn/issues/38305"
)
>
Public
Sub
BooleanExpression_04
()
Dim
verif
y
er
=
CompileAndVerify
(
Dim
verif
i
er
=
CompileAndVerify
(
<
compilation
>
<
file
name
=
"a.vb"
><
!
[
CDATA
[
Option Explicit On
...
...
@@ -5059,7 +5059,7 @@ End Module
]]
></
file
>
</
compilation
>
)
verif
y
er
.
VerifyIL
(
"Module1.Test1"
,
verif
i
er
.
VerifyIL
(
"Module1.Test1"
,
<
!
[
CDATA
[
{
//
Code
size
48
(
0
x30
)
...
...
@@ -5093,7 +5093,7 @@ End Module
<
Fact
()
>
<
WorkItem
(
38305
,
"https://github.com/dotnet/roslyn/issues/38305"
)
>
Public
Sub
BooleanExpression_05
()
Dim
verif
y
er
=
CompileAndVerify
(
Dim
verif
i
er
=
CompileAndVerify
(
<
compilation
>
<
file
name
=
"a.vb"
><
!
[
CDATA
[
Option Explicit On
...
...
@@ -5122,7 +5122,7 @@ Module Module1
End
Module
]]
></
file
>
</
compilation
>
)
verif
y
er
.
VerifyIL
(
"Module1.Test1"
,
verif
i
er
.
VerifyIL
(
"Module1.Test1"
,
<
!
[
CDATA
[
{
//
Code
size
30
(
0
x1e
)
...
...
@@ -5150,7 +5150,7 @@ End Module
<
Fact
()
>
<
WorkItem
(
38305
,
"https://github.com/dotnet/roslyn/issues/38305"
)
>
Public
Sub
BooleanExpression_06
()
Dim
verif
y
er
=
CompileAndVerify
(
Dim
verif
i
er
=
CompileAndVerify
(
<
compilation
>
<
file
name
=
"a.vb"
><
!
[
CDATA
[
Option Explicit On
...
...
@@ -5179,7 +5179,7 @@ Module Module1
End
Module
]]
></
file
>
</
compilation
>
)
verif
y
er
.
VerifyIL
(
"Module1.Test1"
,
verif
i
er
.
VerifyIL
(
"Module1.Test1"
,
<
!
[
CDATA
[
{
//
Code
size
30
(
0
x1e
)
...
...
@@ -5207,7 +5207,7 @@ End Module
<
Fact
()
>
<
WorkItem
(
38305
,
"https://github.com/dotnet/roslyn/issues/38305"
)
>
Public
Sub
BooleanExpression_07
()
Dim
verif
y
er
=
CompileAndVerify
(
Dim
verif
i
er
=
CompileAndVerify
(
<
compilation
>
<
file
name
=
"a.vb"
><
!
[
CDATA
[
Option Explicit On
...
...
@@ -5236,7 +5236,7 @@ Module Module1
End
Module
]]
></
file
>
</
compilation
>
)
verif
y
er
.
VerifyIL
(
"Module1.Test1"
,
verif
i
er
.
VerifyIL
(
"Module1.Test1"
,
<
!
[
CDATA
[
{
//
Code
size
30
(
0
x1e
)
...
...
@@ -5264,7 +5264,7 @@ End Module
<
Fact
()
>
<
WorkItem
(
38305
,
"https://github.com/dotnet/roslyn/issues/38305"
)
>
Public
Sub
BooleanExpression_08
()
Dim
verif
y
er
=
CompileAndVerify
(
Dim
verif
i
er
=
CompileAndVerify
(
<
compilation
>
<
file
name
=
"a.vb"
><
!
[
CDATA
[
Option Explicit On
...
...
@@ -5290,7 +5290,7 @@ End Module
]]
></
file
>
</
compilation
>
)
verif
y
er
.
VerifyIL
(
"Module1.Test1"
,
verif
i
er
.
VerifyIL
(
"Module1.Test1"
,
<
!
[
CDATA
[
{
//
Code
size
10
(
0
xa
)
...
...
@@ -5309,7 +5309,7 @@ End Module
<
Fact
()
>
<
WorkItem
(
38305
,
"https://github.com/dotnet/roslyn/issues/38305"
)
>
Public
Sub
BooleanExpression_09
()
Dim
verif
y
er
=
CompileAndVerify
(
Dim
verif
i
er
=
CompileAndVerify
(
<
compilation
>
<
file
name
=
"a.vb"
><
!
[
CDATA
[
Option Explicit On
...
...
@@ -5334,7 +5334,7 @@ Module Module1
End
Module
]]
></
file
>
</
compilation
>
)
verif
y
er
.
VerifyIL
(
"Module1.Test1"
,
verif
i
er
.
VerifyIL
(
"Module1.Test1"
,
<
!
[
CDATA
[
{
//
Code
size
15
(
0
xf
)
...
...
@@ -5356,7 +5356,7 @@ End Module
<
Fact
()
>
<
WorkItem
(
38305
,
"https://github.com/dotnet/roslyn/issues/38305"
)
>
Public
Sub
BooleanExpression_10
()
Dim
verif
y
er
=
CompileAndVerify
(
Dim
verif
i
er
=
CompileAndVerify
(
<
compilation
>
<
file
name
=
"a.vb"
><
!
[
CDATA
[
Option Explicit On
...
...
@@ -5381,7 +5381,7 @@ Module Module1
End
Module
]]
></
file
>
</
compilation
>
)
verif
y
er
.
VerifyIL
(
"Module1.Test1"
,
verif
i
er
.
VerifyIL
(
"Module1.Test1"
,
<
!
[
CDATA
[
{
//
Code
size
10
(
0
xa
)
...
...
@@ -5400,7 +5400,7 @@ End Module
<
Fact
()
>
<
WorkItem
(
38305
,
"https://github.com/dotnet/roslyn/issues/38305"
)
>
Public
Sub
BooleanExpression_11
()
Dim
verif
y
er
=
CompileAndVerify
(
Dim
verif
i
er
=
CompileAndVerify
(
<
compilation
>
<
file
name
=
"a.vb"
><
!
[
CDATA
[
Option Explicit On
...
...
@@ -5425,7 +5425,7 @@ Module Module1
End
Module
]]
></
file
>
</
compilation
>
)
verif
y
er
.
VerifyIL
(
"Module1.Test1"
,
verif
i
er
.
VerifyIL
(
"Module1.Test1"
,
<
!
[
CDATA
[
{
//
Code
size
23
(
0
x17
)
...
...
@@ -5451,7 +5451,7 @@ End Module
<
Fact
()
>
<
WorkItem
(
38305
,
"https://github.com/dotnet/roslyn/issues/38305"
)
>
Public
Sub
BooleanExpression_12
()
Dim
verif
y
er
=
CompileAndVerify
(
Dim
verif
i
er
=
CompileAndVerify
(
<
compilation
>
<
file
name
=
"a.vb"
><
!
[
CDATA
[
Option Explicit On
...
...
@@ -5477,7 +5477,7 @@ End Module
]]
></
file
>
</
compilation
>
)
verif
y
er
.
VerifyIL
(
"Module1.Test1"
,
verif
i
er
.
VerifyIL
(
"Module1.Test1"
,
<
!
[
CDATA
[
{
//
Code
size
10
(
0
xa
)
...
...
@@ -5496,7 +5496,7 @@ End Module
<
Fact
()
>
<
WorkItem
(
38305
,
"https://github.com/dotnet/roslyn/issues/38305"
)
>
Public
Sub
BooleanExpression_13
()
Dim
verif
y
er
=
CompileAndVerify
(
Dim
verif
i
er
=
CompileAndVerify
(
<
compilation
>
<
file
name
=
"a.vb"
><
!
[
CDATA
[
Option Explicit On
...
...
@@ -5521,7 +5521,7 @@ Module Module1
End
Module
]]
></
file
>
</
compilation
>
)
verif
y
er
.
VerifyIL
(
"Module1.Test1"
,
verif
i
er
.
VerifyIL
(
"Module1.Test1"
,
<
!
[
CDATA
[
{
//
Code
size
23
(
0
x17
)
...
...
@@ -5547,7 +5547,7 @@ End Module
<
Fact
()
>
<
WorkItem
(
38305
,
"https://github.com/dotnet/roslyn/issues/38305"
)
>
Public
Sub
BooleanExpression_14
()
Dim
verif
y
er
=
CompileAndVerify
(
Dim
verif
i
er
=
CompileAndVerify
(
<
compilation
>
<
file
name
=
"a.vb"
><
!
[
CDATA
[
Option Explicit On
...
...
@@ -5572,7 +5572,7 @@ Module Module1
End
Module
]]
></
file
>
</
compilation
>
)
verif
y
er
.
VerifyIL
(
"Module1.Test1"
,
verif
i
er
.
VerifyIL
(
"Module1.Test1"
,
<
!
[
CDATA
[
{
//
Code
size
10
(
0
xa
)
...
...
@@ -5591,7 +5591,7 @@ End Module
<
Fact
()
>
<
WorkItem
(
38305
,
"https://github.com/dotnet/roslyn/issues/38305"
)
>
Public
Sub
BooleanExpression_15
()
Dim
verif
y
er
=
CompileAndVerify
(
Dim
verif
i
er
=
CompileAndVerify
(
<
compilation
>
<
file
name
=
"a.vb"
><
!
[
CDATA
[
Option Explicit On
...
...
@@ -5616,7 +5616,7 @@ Module Module1
End
Module
]]
></
file
>
</
compilation
>
)
verif
y
er
.
VerifyIL
(
"Module1.Test1"
,
verif
i
er
.
VerifyIL
(
"Module1.Test1"
,
<
!
[
CDATA
[
{
//
Code
size
15
(
0
xf
)
...
...
@@ -5638,7 +5638,7 @@ End Module
<
Fact
()
>
<
WorkItem
(
38305
,
"https://github.com/dotnet/roslyn/issues/38305"
)
>
Public
Sub
BooleanExpression_16
()
Dim
verif
y
er
=
CompileAndVerify
(
Dim
verif
i
er
=
CompileAndVerify
(
<
compilation
>
<
file
name
=
"a.vb"
><
!
[
CDATA
[
Option Explicit On
...
...
@@ -5659,7 +5659,7 @@ Module Module1
End
Module
]]
></
file
>
</
compilation
>
)
verif
y
er
.
VerifyIL
(
"Module1.Test1"
,
verif
i
er
.
VerifyIL
(
"Module1.Test1"
,
<
!
[
CDATA
[
{
//
Code
size
4
(
0
x4
)
...
...
@@ -5676,7 +5676,7 @@ End Module
<
Fact
()
>
<
WorkItem
(
38305
,
"https://github.com/dotnet/roslyn/issues/38305"
)
>
Public
Sub
BooleanExpression_17
()
Dim
verif
y
er
=
CompileAndVerify
(
Dim
verif
i
er
=
CompileAndVerify
(
<
compilation
>
<
file
name
=
"a.vb"
><
!
[
CDATA
[
Option Explicit On
...
...
@@ -5697,7 +5697,7 @@ Module Module1
End
Module
]]
></
file
>
</
compilation
>
)
verif
y
er
.
VerifyIL
(
"Module1.Test1"
,
verif
i
er
.
VerifyIL
(
"Module1.Test1"
,
<
!
[
CDATA
[
{
//
Code
size
4
(
0
x4
)
...
...
@@ -5714,7 +5714,7 @@ End Module
<
Fact
()
>
<
WorkItem
(
38305
,
"https://github.com/dotnet/roslyn/issues/38305"
)
>
Public
Sub
BooleanExpression_18
()
Dim
verif
y
er
=
CompileAndVerify
(
Dim
verif
i
er
=
CompileAndVerify
(
<
compilation
>
<
file
name
=
"a.vb"
><
!
[
CDATA
[
Option Explicit On
...
...
@@ -5740,7 +5740,7 @@ End Module
]]
></
file
>
</
compilation
>
)
verif
y
er
.
VerifyIL
(
"Module1.Test1"
,
verif
i
er
.
VerifyIL
(
"Module1.Test1"
,
<
!
[
CDATA
[
{
//
Code
size
56
(
0
x38
)
...
...
@@ -5778,7 +5778,7 @@ End Module
<
Fact
()
>
<
WorkItem
(
38305
,
"https://github.com/dotnet/roslyn/issues/38305"
)
>
Public
Sub
BooleanExpression_19
()
Dim
verif
y
er
=
CompileAndVerify
(
Dim
verif
i
er
=
CompileAndVerify
(
<
compilation
>
<
file
name
=
"a.vb"
><
!
[
CDATA
[
Option Explicit On
...
...
@@ -5803,7 +5803,7 @@ Module Module1
End
Module
]]
></
file
>
</
compilation
>
)
verif
y
er
.
VerifyIL
(
"Module1.Test1"
,
verif
i
er
.
VerifyIL
(
"Module1.Test1"
,
<
!
[
CDATA
[
{
//
Code
size
38
(
0
x26
)
...
...
@@ -5834,7 +5834,7 @@ End Module
<
Fact
()
>
<
WorkItem
(
38305
,
"https://github.com/dotnet/roslyn/issues/38305"
)
>
Public
Sub
BooleanExpression_20
()
Dim
verif
y
er
=
CompileAndVerify
(
Dim
verif
i
er
=
CompileAndVerify
(
<
compilation
>
<
file
name
=
"a.vb"
><
!
[
CDATA
[
Option Explicit On
...
...
@@ -5864,7 +5864,7 @@ End Module
]]
></
file
>
</
compilation
>
)
verif
y
er
.
VerifyIL
(
"Module1.Test1"
,
verif
i
er
.
VerifyIL
(
"Module1.Test1"
,
<
!
[
CDATA
[
{
//
Code
size
37
(
0
x25
)
...
...
@@ -5894,7 +5894,7 @@ End Module
<
Fact
()
>
<
WorkItem
(
38305
,
"https://github.com/dotnet/roslyn/issues/38305"
)
>
Public
Sub
BooleanExpression_21
()
Dim
verif
y
er
=
CompileAndVerify
(
Dim
verif
i
er
=
CompileAndVerify
(
<
compilation
>
<
file
name
=
"a.vb"
><
!
[
CDATA
[
Option Explicit On
...
...
@@ -5920,7 +5920,7 @@ End Module
]]
></
file
>
</
compilation
>
)
verif
y
er
.
VerifyIL
(
"Module1.Test1"
,
verif
i
er
.
VerifyIL
(
"Module1.Test1"
,
<
!
[
CDATA
[
{
//
Code
size
53
(
0
x35
)
...
...
@@ -5956,7 +5956,7 @@ End Module
<
Fact
()
>
<
WorkItem
(
38305
,
"https://github.com/dotnet/roslyn/issues/38305"
)
>
Public
Sub
BooleanExpression_22
()
Dim
verif
y
er
=
CompileAndVerify
(
Dim
verif
i
er
=
CompileAndVerify
(
<
compilation
>
<
file
name
=
"a.vb"
><
!
[
CDATA
[
Option Explicit On
...
...
@@ -5982,7 +5982,7 @@ End Module
]]
></
file
>
</
compilation
>
)
verif
y
er
.
VerifyIL
(
"Module1.Test1"
,
verif
i
er
.
VerifyIL
(
"Module1.Test1"
,
<
!
[
CDATA
[
{
//
Code
size
134
(
0
x86
)
...
...
@@ -6052,7 +6052,7 @@ End Module
<
Fact
()
>
<
WorkItem
(
38305
,
"https://github.com/dotnet/roslyn/issues/38305"
)
>
Public
Sub
BooleanExpression_23
()
Dim
verif
y
er
=
CompileAndVerify
(
Dim
verif
i
er
=
CompileAndVerify
(
<
compilation
>
<
file
name
=
"a.vb"
><
!
[
CDATA
[
Option Explicit On
...
...
@@ -6078,7 +6078,7 @@ End Module
]]
></
file
>
</
compilation
>
)
verif
y
er
.
VerifyIL
(
"Module1.Test1"
,
verif
i
er
.
VerifyIL
(
"Module1.Test1"
,
<
!
[
CDATA
[
{
//
Code
size
149
(
0
x95
)
...
...
@@ -6153,7 +6153,7 @@ End Module
<
Fact
()
>
<
WorkItem
(
38305
,
"https://github.com/dotnet/roslyn/issues/38305"
)
>
Public
Sub
BooleanExpression_24
()
Dim
verif
y
er
=
CompileAndVerify
(
Dim
verif
i
er
=
CompileAndVerify
(
<
compilation
>
<
file
name
=
"a.vb"
><
!
[
CDATA
[
Option Explicit On
...
...
@@ -6179,7 +6179,7 @@ End Module
]]
></
file
>
</
compilation
>
)
verif
y
er
.
VerifyIL
(
"Module1.Test1"
,
verif
i
er
.
VerifyIL
(
"Module1.Test1"
,
<
!
[
CDATA
[
{
//
Code
size
53
(
0
x35
)
...
...
@@ -6215,7 +6215,7 @@ End Module
<
Fact
()
>
<
WorkItem
(
38305
,
"https://github.com/dotnet/roslyn/issues/38305"
)
>
Public
Sub
BooleanExpression_25
()
Dim
verif
y
er
=
CompileAndVerify
(
Dim
verif
i
er
=
CompileAndVerify
(
<
compilation
>
<
file
name
=
"a.vb"
><
!
[
CDATA
[
Option Explicit On
...
...
@@ -6241,7 +6241,7 @@ End Module
]]
></
file
>
</
compilation
>
)
verif
y
er
.
VerifyIL
(
"Module1.Test1"
,
verif
i
er
.
VerifyIL
(
"Module1.Test1"
,
<
!
[
CDATA
[
{
//
Code
size
53
(
0
x35
)
...
...
@@ -6277,7 +6277,7 @@ End Module
<
Fact
()
>
<
WorkItem
(
38305
,
"https://github.com/dotnet/roslyn/issues/38305"
)
>
Public
Sub
BooleanExpression_26
()
Dim
verif
y
er
=
CompileAndVerify
(
Dim
verif
i
er
=
CompileAndVerify
(
<
compilation
>
<
file
name
=
"a.vb"
><
!
[
CDATA
[
Option Explicit On
...
...
@@ -6307,7 +6307,7 @@ End Module
]]
></
file
>
</
compilation
>
)
verif
y
er
.
VerifyIL
(
"Module1.Test1"
,
verif
i
er
.
VerifyIL
(
"Module1.Test1"
,
<
!
[
CDATA
[
{
//
Code
size
93
(
0
x5d
)
...
...
@@ -6361,7 +6361,7 @@ End Module
<
Fact
()
>
<
WorkItem
(
38305
,
"https://github.com/dotnet/roslyn/issues/38305"
)
>
Public
Sub
BooleanExpression_27
()
Dim
verif
y
er
=
CompileAndVerify
(
Dim
verif
i
er
=
CompileAndVerify
(
<
compilation
>
<
file
name
=
"a.vb"
><
!
[
CDATA
[
Option Explicit On
...
...
@@ -6391,7 +6391,7 @@ End Module
]]
></
file
>
</
compilation
>
)
verif
y
er
.
VerifyIL
(
"Module1.Test1"
,
verif
i
er
.
VerifyIL
(
"Module1.Test1"
,
<
!
[
CDATA
[
{
//
Code
size
93
(
0
x5d
)
...
...
@@ -6445,7 +6445,7 @@ End Module
<
Fact
()
>
<
WorkItem
(
38305
,
"https://github.com/dotnet/roslyn/issues/38305"
)
>
Public
Sub
BooleanExpression_28
()
Dim
verif
y
er
=
CompileAndVerify
(
Dim
verif
i
er
=
CompileAndVerify
(
<
compilation
>
<
file
name
=
"a.vb"
><
!
[
CDATA
[
Option Explicit On
...
...
@@ -6471,7 +6471,7 @@ End Module
]]
></
file
>
</
compilation
>
)
verif
y
er
.
VerifyIL
(
"Module1.Test1"
,
verif
i
er
.
VerifyIL
(
"Module1.Test1"
,
<
!
[
CDATA
[
{
//
Code
size
68
(
0
x44
)
...
...
@@ -6512,7 +6512,7 @@ End Module
<
Fact
()
>
<
WorkItem
(
38305
,
"https://github.com/dotnet/roslyn/issues/38305"
)
>
Public
Sub
BooleanExpression_29
()
Dim
verif
y
er
=
CompileAndVerify
(
Dim
verif
i
er
=
CompileAndVerify
(
<
compilation
>
<
file
name
=
"a.vb"
><
!
[
CDATA
[
Option Explicit On
...
...
@@ -6538,7 +6538,7 @@ End Module
]]
></
file
>
</
compilation
>
)
verif
y
er
.
VerifyIL
(
"Module1.Test1"
,
verif
i
er
.
VerifyIL
(
"Module1.Test1"
,
<
!
[
CDATA
[
{
//
Code
size
68
(
0
x44
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录