Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
2432336c
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,发现更多精彩内容 >>
提交
2432336c
编写于
1月 13, 2015
作者:
R
RoslynTeam
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix build break. (changeset 1396930)
上级
702a59af
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
9 addition
and
9 deletion
+9
-9
src/Samples/CSharp/AsyncPackage/AsyncLambdaVariableCodeFix.cs
...Samples/CSharp/AsyncPackage/AsyncLambdaVariableCodeFix.cs
+1
-1
src/Samples/CSharp/AsyncPackage/AsyncVoidAnalyzer.cs
src/Samples/CSharp/AsyncPackage/AsyncVoidAnalyzer.cs
+1
-1
src/Samples/CSharp/AsyncPackage/AsyncVoidCodeFix.cs
src/Samples/CSharp/AsyncPackage/AsyncVoidCodeFix.cs
+1
-1
src/Samples/CSharp/AsyncPackage/BlockingAsyncCodeFix.cs
src/Samples/CSharp/AsyncPackage/BlockingAsyncCodeFix.cs
+1
-1
src/Samples/CSharp/AsyncPackage/CancellationCodeFix.cs
src/Samples/CSharp/AsyncPackage/CancellationCodeFix.cs
+1
-1
src/Samples/CSharp/AsyncPackage/RenameAsyncAnalyzer.cs
src/Samples/CSharp/AsyncPackage/RenameAsyncAnalyzer.cs
+1
-1
src/Samples/CSharp/AsyncPackage/RenameAsyncCodeFix.cs
src/Samples/CSharp/AsyncPackage/RenameAsyncCodeFix.cs
+1
-1
src/Samples/CSharp/MakeConst/Impl/CodeFixProvider.cs
src/Samples/CSharp/MakeConst/Impl/CodeFixProvider.cs
+1
-1
src/Samples/VisualBasic/MakeConst/Impl/CodeFixProvider.vb
src/Samples/VisualBasic/MakeConst/Impl/CodeFixProvider.vb
+1
-1
未找到文件。
src/Samples/CSharp/AsyncPackage/AsyncLambdaVariableCodeFix.cs
浏览文件 @
2432336c
...
@@ -20,7 +20,7 @@ namespace AsyncPackage
...
@@ -20,7 +20,7 @@ namespace AsyncPackage
/// <summary>
/// <summary>
/// Codefix that changes the type of a variable to be Func of Task instead of a void-returning delegate type.
/// Codefix that changes the type of a variable to be Func of Task instead of a void-returning delegate type.
/// </summary>
/// </summary>
[
ExportCodeFixProvider
(
AsyncLambdaAnalyzer
.
AsyncLambdaId1
,
LanguageNames
.
CSharp
),
Shared
]
[
ExportCodeFixProvider
(
LanguageNames
.
CSharp
,
Name
=
AsyncLambdaAnalyzer
.
AsyncLambdaId1
),
Shared
]
public
class
AsyncLambdaVariableCodeFix
:
CodeFixProvider
public
class
AsyncLambdaVariableCodeFix
:
CodeFixProvider
{
{
public
sealed
override
ImmutableArray
<
string
>
GetFixableDiagnosticIds
()
public
sealed
override
ImmutableArray
<
string
>
GetFixableDiagnosticIds
()
...
...
src/Samples/CSharp/AsyncPackage/AsyncVoidAnalyzer.cs
浏览文件 @
2432336c
...
@@ -11,7 +11,7 @@ namespace AsyncPackage
...
@@ -11,7 +11,7 @@ namespace AsyncPackage
/// <summary>
/// <summary>
/// This Analyzer determines if a method is Async and needs to be returning a Task instead of having a void return type.
/// This Analyzer determines if a method is Async and needs to be returning a Task instead of having a void return type.
/// </summary>
/// </summary>
[
DiagnosticAnalyzer
]
[
DiagnosticAnalyzer
(
LanguageNames
.
CSharp
,
LanguageNames
.
VisualBasic
)
]
public
class
AsyncVoidAnalyzer
:
DiagnosticAnalyzer
public
class
AsyncVoidAnalyzer
:
DiagnosticAnalyzer
{
{
internal
const
string
AsyncVoidId
=
"Async001"
;
internal
const
string
AsyncVoidId
=
"Async001"
;
...
...
src/Samples/CSharp/AsyncPackage/AsyncVoidCodeFix.cs
浏览文件 @
2432336c
...
@@ -18,7 +18,7 @@ namespace AsyncPackage
...
@@ -18,7 +18,7 @@ namespace AsyncPackage
/// <summary>
/// <summary>
/// This codefix replaces the void return type with Task in any method declaration the AsyncVoidAnalyzer catches
/// This codefix replaces the void return type with Task in any method declaration the AsyncVoidAnalyzer catches
/// </summary>
/// </summary>
[
ExportCodeFixProvider
(
AsyncVoidAnalyzer
.
AsyncVoidId
,
LanguageNames
.
CSharp
),
Shared
]
[
ExportCodeFixProvider
(
LanguageNames
.
CSharp
,
Name
=
AsyncVoidAnalyzer
.
AsyncVoidId
),
Shared
]
public
class
AsyncVoidCodeFix
:
CodeFixProvider
public
class
AsyncVoidCodeFix
:
CodeFixProvider
{
{
public
sealed
override
ImmutableArray
<
string
>
GetFixableDiagnosticIds
()
public
sealed
override
ImmutableArray
<
string
>
GetFixableDiagnosticIds
()
...
...
src/Samples/CSharp/AsyncPackage/BlockingAsyncCodeFix.cs
浏览文件 @
2432336c
...
@@ -19,7 +19,7 @@ namespace AsyncPackage
...
@@ -19,7 +19,7 @@ namespace AsyncPackage
/// <summary>
/// <summary>
/// Codefix changes the synchronous operations to it's asynchronous equivalent.
/// Codefix changes the synchronous operations to it's asynchronous equivalent.
/// </summary>
/// </summary>
[
ExportCodeFixProvider
(
BlockingAsyncAnalyzer
.
BlockingAsyncId
,
LanguageNames
.
CSharp
),
Shared
]
[
ExportCodeFixProvider
(
LanguageNames
.
CSharp
,
Name
=
BlockingAsyncAnalyzer
.
BlockingAsyncId
),
Shared
]
public
class
BlockingAsyncCodeFix
:
CodeFixProvider
public
class
BlockingAsyncCodeFix
:
CodeFixProvider
{
{
public
sealed
override
ImmutableArray
<
string
>
GetFixableDiagnosticIds
()
public
sealed
override
ImmutableArray
<
string
>
GetFixableDiagnosticIds
()
...
...
src/Samples/CSharp/AsyncPackage/CancellationCodeFix.cs
浏览文件 @
2432336c
...
@@ -17,7 +17,7 @@ namespace AsyncPackage
...
@@ -17,7 +17,7 @@ namespace AsyncPackage
/// <summary>
/// <summary>
/// Codefix that changes the type of a variable to be Func of Task instead of a void-returning delegate type.
/// Codefix that changes the type of a variable to be Func of Task instead of a void-returning delegate type.
/// </summary>
/// </summary>
[
ExportCodeFixProvider
(
CancellationAnalyzer
.
CancellationId
,
LanguageNames
.
CSharp
),
Shared
]
[
ExportCodeFixProvider
(
LanguageNames
.
CSharp
,
Name
=
CancellationAnalyzer
.
CancellationId
),
Shared
]
public
class
CancellationCodeFix
:
CodeFixProvider
public
class
CancellationCodeFix
:
CodeFixProvider
{
{
public
sealed
override
ImmutableArray
<
string
>
GetFixableDiagnosticIds
()
public
sealed
override
ImmutableArray
<
string
>
GetFixableDiagnosticIds
()
...
...
src/Samples/CSharp/AsyncPackage/RenameAsyncAnalyzer.cs
浏览文件 @
2432336c
...
@@ -11,7 +11,7 @@ namespace AsyncPackage
...
@@ -11,7 +11,7 @@ namespace AsyncPackage
/// <summary>
/// <summary>
/// This analyzer will run a codefix on any method that qualifies as async that renames it to follow naming conventions
/// This analyzer will run a codefix on any method that qualifies as async that renames it to follow naming conventions
/// </summary>
/// </summary>
[
DiagnosticAnalyzer
]
[
DiagnosticAnalyzer
(
LanguageNames
.
CSharp
,
LanguageNames
.
VisualBasic
)
]
public
class
RenameAsyncAnalyzer
:
DiagnosticAnalyzer
public
class
RenameAsyncAnalyzer
:
DiagnosticAnalyzer
{
{
internal
const
string
RenameAsyncId
=
"Async002"
;
internal
const
string
RenameAsyncId
=
"Async002"
;
...
...
src/Samples/CSharp/AsyncPackage/RenameAsyncCodeFix.cs
浏览文件 @
2432336c
...
@@ -18,7 +18,7 @@ namespace AsyncPackage
...
@@ -18,7 +18,7 @@ namespace AsyncPackage
/// <summary>
/// <summary>
/// This codefix adds "Async" to the end of the Method Identifier and does a basic spellcheck in case the user had already tried to type Async
/// This codefix adds "Async" to the end of the Method Identifier and does a basic spellcheck in case the user had already tried to type Async
/// </summary>
/// </summary>
[
ExportCodeFixProvider
(
RenameAsyncAnalyzer
.
RenameAsyncId
,
LanguageNames
.
CSharp
),
Shared
]
[
ExportCodeFixProvider
(
LanguageNames
.
CSharp
,
Name
=
RenameAsyncAnalyzer
.
RenameAsyncId
),
Shared
]
public
class
RenameAsyncCodeFix
:
CodeFixProvider
public
class
RenameAsyncCodeFix
:
CodeFixProvider
{
{
public
sealed
override
ImmutableArray
<
string
>
GetFixableDiagnosticIds
()
public
sealed
override
ImmutableArray
<
string
>
GetFixableDiagnosticIds
()
...
...
src/Samples/CSharp/MakeConst/Impl/CodeFixProvider.cs
浏览文件 @
2432336c
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
namespace
MakeConstCS
namespace
MakeConstCS
{
{
[
ExportCodeFixProvider
(
"MakeConstCS"
,
LanguageNames
.
CSharp
),
Shared
]
[
ExportCodeFixProvider
(
LanguageNames
.
CSharp
,
Name
=
"MakeConstCS"
),
Shared
]
internal
class
MakeConstCodeFixProvider
:
CodeFixProvider
internal
class
MakeConstCodeFixProvider
:
CodeFixProvider
{
{
public
sealed
override
ImmutableArray
<
string
>
GetFixableDiagnosticIds
()
public
sealed
override
ImmutableArray
<
string
>
GetFixableDiagnosticIds
()
...
...
src/Samples/VisualBasic/MakeConst/Impl/CodeFixProvider.vb
浏览文件 @
2432336c
...
@@ -11,7 +11,7 @@ Imports Microsoft.CodeAnalysis.Formatting
...
@@ -11,7 +11,7 @@ Imports Microsoft.CodeAnalysis.Formatting
Imports
Microsoft.CodeAnalysis.VisualBasic
Imports
Microsoft.CodeAnalysis.VisualBasic
Imports
Microsoft.CodeAnalysis.VisualBasic.Syntax
Imports
Microsoft.CodeAnalysis.VisualBasic.Syntax
<
ExportCodeFixProvider
(
"MakeConstVB"
,
LanguageNames
.
VisualBasic
),
[
Shared
]
>
<
ExportCodeFixProvider
(
LanguageNames
.
VisualBasic
,
Name
:
=
"MakeConstVB"
),
[
Shared
]
>
Class
MakeConstCodeFixProvider
Class
MakeConstCodeFixProvider
Inherits
CodeFixProvider
Inherits
CodeFixProvider
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录