Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
b0cd7608
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,发现更多精彩内容 >>
提交
b0cd7608
编写于
3月 15, 2018
作者:
C
Cyrus Najmabadi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Remove dead code.
上级
eac9e96c
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
0 addition
and
210 deletion
+0
-210
src/EditorFeatures/TestUtilities/Classification/AbstractClassifierTests.cs
...s/TestUtilities/Classification/AbstractClassifierTests.cs
+0
-10
src/EditorFeatures/TestUtilities/Classification/ClassificationBuilder.cs
...res/TestUtilities/Classification/ClassificationBuilder.cs
+0
-200
未找到文件。
src/EditorFeatures/TestUtilities/Classification/AbstractClassifierTests.cs
浏览文件 @
b0cd7608
...
...
@@ -188,16 +188,6 @@ public abstract class AbstractClassifierTests
return
TestInMethodAsync
(
"C"
,
"M"
,
code
,
parseOptionsSet
,
expected
);
}
//<<<<<<< HEAD
// protected ClassificationBuilder.PunctuationClassificationTypes Punctuation => ClassificationBuilder.Punctuation;
// protected ClassificationBuilder.OperatorClassificationTypes Operators => ClassificationBuilder.Operator;
// protected ClassificationBuilder.XmlDocClassificationTypes XmlDoc => ClassificationBuilder.XmlDoc;
// protected ClassificationBuilder.RegexClassificationTypes Regex => ClassificationBuilder.Regex;
//=======
protected
Task
TestInMethodAsync
(
string
code
,
params
FormattedClassification
[]
expected
)
...
...
src/EditorFeatures/TestUtilities/Classification/ClassificationBuilder.cs
已删除
100644 → 0
浏览文件 @
eac9e96c
//// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
//using System;
//using System.Diagnostics;
//using Microsoft.CodeAnalysis.Classification;
//namespace Microsoft.CodeAnalysis.Editor.UnitTests.Classification
//{
// public partial class ClassificationBuilder
// {
// private readonly OperatorClassificationTypes _operator = new OperatorClassificationTypes();
// private readonly PunctuationClassificationTypes _punctuation = new PunctuationClassificationTypes();
// private readonly XmlDocClassificationTypes _xmlDoc = new XmlDocClassificationTypes();
// private readonly RegexClassificationTypes _regex = new RegexClassificationTypes();
// [DebuggerStepThrough]
// public Tuple<string, string> Struct(string value)
// {
// return Tuple.Create(value, ClassificationTypeNames.StructName);
// }
// [DebuggerStepThrough]
// public Tuple<string, string> Enum(string value)
// {
// return Tuple.Create(value, ClassificationTypeNames.EnumName);
// }
// [DebuggerStepThrough]
// public Tuple<string, string> Interface(string value)
// {
// return Tuple.Create(value, ClassificationTypeNames.InterfaceName);
// }
// [DebuggerStepThrough]
// public Tuple<string, string> Class(string value)
// {
// return Tuple.Create(value, ClassificationTypeNames.ClassName);
// }
// [DebuggerStepThrough]
// public Tuple<string, string> Delegate(string value)
// {
// return Tuple.Create(value, ClassificationTypeNames.DelegateName);
// }
// [DebuggerStepThrough]
// public Tuple<string, string> TypeParameter(string value)
// {
// return Tuple.Create(value, ClassificationTypeNames.TypeParameterName);
// }
// [DebuggerStepThrough]
// public Tuple<string, string> String(string value)
// {
// return Tuple.Create(value, ClassificationTypeNames.StringLiteral);
// }
// [DebuggerStepThrough]
// public Tuple<string, string> Verbatim(string value)
// {
// return Tuple.Create(value, ClassificationTypeNames.VerbatimStringLiteral);
// }
// [DebuggerStepThrough]
// public Tuple<string, string> Keyword(string value)
// {
// return Tuple.Create(value, ClassificationTypeNames.Keyword);
// }
// [DebuggerStepThrough]
// public Tuple<string, string> WhiteSpace(string value)
// {
// return Tuple.Create(value, ClassificationTypeNames.WhiteSpace);
// }
// [DebuggerStepThrough]
// public Tuple<string, string> Text(string value)
// {
// return Tuple.Create(value, ClassificationTypeNames.Text);
// }
// [DebuggerStepThrough]
// public Tuple<string, string> NumericLiteral(string value)
// {
// return Tuple.Create(value, ClassificationTypeNames.NumericLiteral);
// }
// [DebuggerStepThrough]
// public Tuple<string, string> PPKeyword(string value)
// {
// return Tuple.Create(value, ClassificationTypeNames.PreprocessorKeyword);
// }
// [DebuggerStepThrough]
// public Tuple<string, string> PPText(string value)
// {
// return Tuple.Create(value, ClassificationTypeNames.PreprocessorText);
// }
// [DebuggerStepThrough]
// public Tuple<string, string> Identifier(string value)
// {
// return Tuple.Create(value, ClassificationTypeNames.Identifier);
// }
// [DebuggerStepThrough]
// public Tuple<string, string> Inactive(string value)
// {
// return Tuple.Create(value, ClassificationTypeNames.ExcludedCode);
// }
// [DebuggerStepThrough]
// public Tuple<string, string> Comment(string value)
// {
// return Tuple.Create(value, ClassificationTypeNames.Comment);
// }
// [DebuggerStepThrough]
// public Tuple<string, string> Number(string value)
// {
// return Tuple.Create(value, ClassificationTypeNames.NumericLiteral);
// }
// public Tuple<string, string> LineContinuation
// {
// get
// {
// return Tuple.Create("_", ClassificationTypeNames.Punctuation);
// }
// }
// public Tuple<string, string> Module(string value)
// {
// return Tuple.Create(value, ClassificationTypeNames.ModuleName);
// }
// public Tuple<string, string> VBXmlName(string value)
// {
// return Tuple.Create(value, ClassificationTypeNames.XmlLiteralName);
// }
// public Tuple<string, string> VBXmlText(string value)
// {
// return Tuple.Create(value, ClassificationTypeNames.XmlLiteralText);
// }
// public Tuple<string, string> VBXmlProcessingInstruction(string value)
// {
// return Tuple.Create(value, ClassificationTypeNames.XmlLiteralProcessingInstruction);
// }
// public Tuple<string, string> VBXmlEmbeddedExpression(string value)
// {
// return Tuple.Create(value, ClassificationTypeNames.XmlLiteralEmbeddedExpression);
// }
// public Tuple<string, string> VBXmlDelimiter(string value)
// {
// return Tuple.Create(value, ClassificationTypeNames.XmlLiteralDelimiter);
// }
// public Tuple<string, string> VBXmlComment(string value)
// {
// return Tuple.Create(value, ClassificationTypeNames.XmlLiteralComment);
// }
// public Tuple<string, string> VBXmlCDataSection(string value)
// {
// return Tuple.Create(value, ClassificationTypeNames.XmlLiteralCDataSection);
// }
// public Tuple<string, string> VBXmlAttributeValue(string value)
// {
// return Tuple.Create(value, ClassificationTypeNames.XmlLiteralAttributeValue);
// }
// public Tuple<string, string> VBXmlAttributeQuotes(string value)
// {
// return Tuple.Create(value, ClassificationTypeNames.XmlLiteralAttributeQuotes);
// }
// public Tuple<string, string> VBXmlAttributeName(string value)
// {
// return Tuple.Create(value, ClassificationTypeNames.XmlLiteralAttributeName);
// }
// public Tuple<string, string> VBXmlEntityReference(string value)
// {
// return Tuple.Create(value, ClassificationTypeNames.XmlLiteralEntityReference);
// }
// public PunctuationClassificationTypes Punctuation => _punctuation;
// public OperatorClassificationTypes Operator => _operator;
// public XmlDocClassificationTypes XmlDoc => _xmlDoc;
// public RegexClassificationTypes Regex => _regex;
// }
//}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录