Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
c14a73f0
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,发现更多精彩内容 >>
提交
c14a73f0
编写于
10月 14, 2015
作者:
J
Jared Parsons
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fixed a bug
上级
a286defd
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
46 addition
and
50 deletion
+46
-50
src/EditorFeatures/Core/Shared/Utilities/ForegroundThreadAffinitizedObject.cs
...ore/Shared/Utilities/ForegroundThreadAffinitizedObject.cs
+0
-4
src/VisualStudio/Core/Test/CodeModel/CSharp/CodeAttributeTests.vb
...alStudio/Core/Test/CodeModel/CSharp/CodeAttributeTests.vb
+46
-46
未找到文件。
src/EditorFeatures/Core/Shared/Utilities/ForegroundThreadAffinitizedObject.cs
浏览文件 @
c14a73f0
...
...
@@ -132,10 +132,6 @@ public bool IsValid()
public
void
AssertIsForeground
()
{
#if DEBUG
Debug
.
Assert
(
IsForeground
());
#endif
Contract
.
ThrowIfFalse
(
IsForeground
());
}
...
...
src/VisualStudio/Core/Test/CodeModel/CSharp/CodeAttributeTests.vb
浏览文件 @
c14a73f0
...
...
@@ -9,7 +9,7 @@ Namespace Microsoft.VisualStudio.LanguageServices.UnitTests.CodeModel.CSharp
#Region "GetStartPoint() tests"
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
GetStartPoint1
()
Dim
code
=
<
Code
>
using
System
;
...
...
@@ -42,7 +42,7 @@ class C { }
End
Sub
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
GetStartPoint2
()
Dim
code
=
<
Code
>
using
System
;
...
...
@@ -80,7 +80,7 @@ class C { }
#Region "GetEndPoint() tests"
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
GetEndPoint1
()
Dim
code
=
<
Code
>
using
System
;
...
...
@@ -113,7 +113,7 @@ class C { }
End
Sub
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
GetEndPoint2
()
Dim
code
=
<
Code
>
using
System
;
...
...
@@ -150,7 +150,7 @@ class C { }
#Region "AttributeArgument GetStartPoint() tests"
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
GetAttributeArgumentStartPoint1
()
Dim
code
=
<
Code
>
...
...
@@ -189,7 +189,7 @@ class FooAttribute : Attribute
TextPoint
(
line
:
=
3
,
lineOffset
:
=
16
,
absoluteOffset
:
=
31
,
lineLength
:
=
33
)))
End
Sub
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
GetAttributeArgumentStartPoint2
()
Dim
code
=
<
Code
>
...
...
@@ -228,7 +228,7 @@ class FooAttribute : Attribute
TextPoint
(
line
:
=
3
,
lineOffset
:
=
19
,
absoluteOffset
:
=
34
,
lineLength
:
=
33
)))
End
Sub
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
GetAttributeArgumentStartPoint3
()
Dim
code
=
<
Code
>
...
...
@@ -271,7 +271,7 @@ class FooAttribute : Attribute
#Region "AttributeArgument GetEndPoint() tests"
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
GetAttributeArgumentEndPoint1
()
Dim
code
=
<
Code
>
...
...
@@ -311,7 +311,7 @@ End Class
TextPoint
(
line
:
=
3
,
lineOffset
:
=
17
,
absoluteOffset
:
=
32
,
lineLength
:
=
33
)))
End
Sub
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
GetAttributeArgumentEndPoint2
()
Dim
code
=
<
Code
>
...
...
@@ -351,7 +351,7 @@ End Class
TextPoint
(
line
:
=
3
,
lineOffset
:
=
24
,
absoluteOffset
:
=
39
,
lineLength
:
=
33
)))
End
Sub
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
GetAttributeArgumentEndPoint3
()
Dim
code
=
<
Code
>
...
...
@@ -394,7 +394,7 @@ End Class
#End Region
#Region "FullName tests"
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
GetFullName1
()
Dim
code
=
<
Code
>
...
...
@@ -407,7 +407,7 @@ class C { }
TestFullName
(
code
,
"System.SerializableAttribute"
)
End
Sub
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
GetFullName2
()
Dim
code
=
<
Code
>
...
...
@@ -421,7 +421,7 @@ class C { }
#End Region
#Region "Parent tests"
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
GetParent1
()
Dim
code
=
<
Code
>
...
...
@@ -434,7 +434,7 @@ class C { }
TestParent
(
code
,
IsElement
(
"C"
,
kind
:
=
EnvDTE
.
vsCMElement
.
vsCMElementClass
))
End
Sub
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
GetParent2
()
Dim
code
=
<
Code
>
...
...
@@ -449,7 +449,7 @@ class C { }
#End Region
#Region "Attribute argument tests"
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
GetArguments1
()
Dim
code
=
<
Code
>
...
...
@@ -462,7 +462,7 @@ class C { }
TestAttributeArguments
(
code
,
NoElements
)
End
Sub
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
GetArguments2
()
Dim
code
=
<
Code
>
...
...
@@ -475,7 +475,7 @@ class C { }
TestAttributeArguments
(
code
,
NoElements
)
End
Sub
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
GetArguments3
()
Dim
code
=
<
Code
>
...
...
@@ -488,7 +488,7 @@ class C { }
TestAttributeArguments
(
code
,
IsAttributeArgument
(
value
:
=
"true"
))
End
Sub
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
GetArguments4
()
Dim
code
=
<
Code
>
...
...
@@ -504,7 +504,7 @@ class CAttribute : Attribute { }
#End Region
#Region "Target tests"
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
GetTarget1
()
Dim
code
=
<
Code
>
...
...
@@ -519,7 +519,7 @@ class C { }
#End Region
#Region "Value tests"
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
GetValue1
()
Dim
code
=
<
Code
>
...
...
@@ -532,7 +532,7 @@ class C { }
TestValue
(
code
,
""
)
End
Sub
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
GetValue2
()
Dim
code
=
<
Code
>
...
...
@@ -545,7 +545,7 @@ class C { }
TestValue
(
code
,
""
)
End
Sub
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
GetValue3
()
Dim
code
=
<
Code
>
...
...
@@ -559,7 +559,7 @@ class C { }
End
Sub
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
GetValue4
()
Dim
code
=
<
Code
>
...
...
@@ -574,7 +574,7 @@ class CAttribute : Attribute { }
#End Region
#Region "AddAttributeArgument tests"
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
AddAttributeArgument1
()
Dim
code
=
<
Code
>
...
...
@@ -596,7 +596,7 @@ class C { }
End
Sub
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
AddAttributeArgument2
()
Dim
code
=
<
Code
>
...
...
@@ -618,7 +618,7 @@ class C { }
End
Sub
<
ConditionalFact
(
GetType
(
x86
),
Skip
:
=
"https://github.com/dotnet/roslyn/issues/5800"
),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
),
Skip
:
=
"https://github.com/dotnet/roslyn/issues/5800"
),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
AddAttributeArgument3
()
Dim
code
=
<
Code
>
...
...
@@ -643,7 +643,7 @@ class CAttribute : Attribute { }
#Region "Delete tests"
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
Delete1
()
Dim
code
=
<
Code
>
...
...
@@ -663,7 +663,7 @@ class C
TestDelete
(
code
,
expected
)
End
Sub
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
Delete2
()
Dim
code
=
<
Code
>
...
...
@@ -680,7 +680,7 @@ class C { }
TestDelete
(
code
,
expected
)
End
Sub
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
Delete3
()
Dim
code
=
<
Code
>
...
...
@@ -698,7 +698,7 @@ class C { }
TestDelete
(
code
,
expected
)
End
Sub
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
Delete4
()
Dim
code
=
<
Code
>
...
...
@@ -712,7 +712,7 @@ class C { }
TestDelete
(
code
,
expected
)
End
Sub
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
Delete5
()
Dim
code
=
<
Code
>
...
...
@@ -727,7 +727,7 @@ class C { }
TestDelete
(
code
,
expected
)
End
Sub
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
Delete6
()
Dim
code
=
<
Code
>
...
...
@@ -743,7 +743,7 @@ class C { }
TestDelete
(
code
,
expected
)
End
Sub
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
Delete7
()
Dim
code
=
<
Code
><
!
[
CDATA
[
...
...
@@ -765,7 +765,7 @@ class C { }
TestDelete
(
code
,
expected
)
End
Sub
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
Delete8
()
Dim
code
=
<
Code
><
!
[
CDATA
[
...
...
@@ -785,7 +785,7 @@ class C { }
#Region "Delete attribute argument tests"
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
DeleteAttributeArgument1
()
Dim
code
=
<
Code
>
...
...
@@ -802,7 +802,7 @@ class C { }
TestDeleteAttributeArgument
(
code
,
expected
,
1
)
End
Sub
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
DeleteAttributeArgument2
()
Dim
code
=
<
Code
>
...
...
@@ -819,7 +819,7 @@ class CAttribute : Attribute { }
TestDeleteAttributeArgument
(
code
,
expected
,
1
)
End
Sub
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
DeleteAttributeArgument3
()
Dim
code
=
<
Code
>
...
...
@@ -839,7 +839,7 @@ class CAttribute : Attribute { }
#End Region
#Region "Set Name tests"
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
SetName1
()
Dim
code
=
<
Code
>
...
...
@@ -858,7 +858,7 @@ class C { }
#End Region
#Region "Set Target tests"
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
SetTarget1
()
Dim
code
=
<
Code
>
...
...
@@ -879,7 +879,7 @@ class C { }
TestSetTarget
(
code
,
expected
,
"assembly"
)
End
Sub
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
SetTarget2
()
Dim
code
=
<
Code
>
...
...
@@ -900,7 +900,7 @@ class C { }
TestSetTarget
(
code
,
expected
,
"assembly"
)
End
Sub
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
SetTarget3
()
Dim
code
=
<
Code
>
...
...
@@ -923,7 +923,7 @@ class C { }
#End Region
#Region "Set Value tests"
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
SetValue1
()
Dim
code
=
<
Code
>
...
...
@@ -944,7 +944,7 @@ class C { }
TestSetValue
(
code
,
expected
,
"true"
)
End
Sub
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
SetValue2
()
Dim
code
=
<
Code
>
...
...
@@ -965,7 +965,7 @@ class C { }
TestSetValue
(
code
,
expected
,
"true"
)
End
Sub
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
SetValue3
()
Dim
code
=
<
Code
>
...
...
@@ -986,7 +986,7 @@ class C { }
TestSetValue
(
code
,
expected
,
"true"
)
End
Sub
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
SetValue4
()
Dim
code
=
<
Code
>
...
...
@@ -1008,7 +1008,7 @@ class C { }
End
Sub
#End Region
<
ConditionalFact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
<
Conditional
Wpf
Fact
(
GetType
(
x86
)),
Trait
(
Traits
.
Feature
,
Traits
.
Features
.
CodeModel
)
>
Public
Sub
TypeDescriptor_GetProperties
()
Dim
code
=
<
Code
>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录