Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
32723672
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,发现更多精彩内容 >>
提交
32723672
编写于
3月 10, 2015
作者:
A
Andrew Casey
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Remove my alias from all TODOs.
上级
5b08d9b3
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
11 addition
and
11 deletion
+11
-11
src/ExpressionEvaluator/CSharp/Source/ExpressionCompiler/EvaluationContext.cs
...tor/CSharp/Source/ExpressionCompiler/EvaluationContext.cs
+1
-1
src/ExpressionEvaluator/CSharp/Source/ExpressionCompiler/SymUnmanagedReaderExtensions.cs
...Source/ExpressionCompiler/SymUnmanagedReaderExtensions.cs
+1
-1
src/ExpressionEvaluator/Core/Source/ExpressionCompiler/PDB/PortableImportRecord.cs
...ore/Source/ExpressionCompiler/PDB/PortableImportRecord.cs
+1
-1
src/ExpressionEvaluator/VisualBasic/Source/ExpressionCompiler/Binders/PlaceholderLocalBinder.vb
...urce/ExpressionCompiler/Binders/PlaceholderLocalBinder.vb
+3
-3
src/ExpressionEvaluator/VisualBasic/Source/ExpressionCompiler/EvaluationContext.vb
...isualBasic/Source/ExpressionCompiler/EvaluationContext.vb
+1
-1
src/ExpressionEvaluator/VisualBasic/Source/ExpressionCompiler/SymUnmanagedReaderExtensions.vb
...Source/ExpressionCompiler/SymUnmanagedReaderExtensions.vb
+2
-2
src/ExpressionEvaluator/VisualBasic/Test/ExpressionCompiler/PseudoVariableTests.vb
...isualBasic/Test/ExpressionCompiler/PseudoVariableTests.vb
+1
-1
src/Test/PdbUtilities/Shared/CustomDebugInfoReader.cs
src/Test/PdbUtilities/Shared/CustomDebugInfoReader.cs
+1
-1
未找到文件。
src/ExpressionEvaluator/CSharp/Source/ExpressionCompiler/EvaluationContext.cs
浏览文件 @
32723672
...
...
@@ -156,7 +156,7 @@ internal sealed class EvaluationContext : EvaluationContextBase
{
try
{
// TODO (
acasey): switch on the type of typedSymReader and call the appropriate helper. (GH #702)
// TODO (
https://github.com/dotnet/roslyn/issues/702): switch on the type of typedSymReader and call the appropriate helper.
methodDebugInfo
=
typedSymReader
.
GetMethodDebugInfo
(
methodToken
,
methodVersion
,
localNames
.
FirstOrDefault
());
inScopeHoistedLocalIndices
=
methodDebugInfo
.
GetInScopeHoistedLocalIndices
(
ilOffset
,
ref
methodContextReuseConstraints
);
}
...
...
src/ExpressionEvaluator/CSharp/Source/ExpressionCompiler/SymUnmanagedReaderExtensions.cs
浏览文件 @
32723672
...
...
@@ -107,6 +107,6 @@ internal static class SymUnmanagedReaderExtensions
defaultNamespaceName
:
""
);
// Unused in C#.
}
// TODO (
acasey): overload for portable format (GH #702)
// TODO (
https://github.com/dotnet/roslyn/issues/702): overload for portable format
}
}
\ No newline at end of file
src/ExpressionEvaluator/Core/Source/ExpressionCompiler/PDB/PortableImportRecord.cs
浏览文件 @
32723672
...
...
@@ -36,7 +36,7 @@ internal sealed class PortableImportRecord : ImportRecord
_targetNamespaceName
=
targetNamespaceName
;
}
// TODO (
acasey): Uncomment when ImportDefinition is available in this branch. (GH #702)
// TODO (
https://github.com/dotnet/roslyn/issues/702): Uncomment when ImportDefinition is available in this branch.
//public static bool TryCreateFromImportDefinition(
// ImportDefinition importDefinition,
// MetadataReader metadataReader,
...
...
src/ExpressionEvaluator/VisualBasic/Source/ExpressionCompiler/Binders/PlaceholderLocalBinder.vb
浏览文件 @
32723672
...
...
@@ -28,7 +28,7 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator
_inspectionContext
=
inspectionContext
_typeNameDecoder
=
typeNameDecoder
_containingMethod
=
containingMethod
' TODO (
acasey): pass comparer (GH #878)
. Until then, there is no need for a comparer,
' TODO (
https://github.com/dotnet/roslyn/issues/878): pass comparer
. Until then, there is no need for a comparer,
' since we're going to canonicalize all names.
_implicitDeclarations
=
If
(
allowImplicitDeclarations
,
New
Dictionary
(
Of
String
,
LocalSymbol
)(),
Nothing
)
End
Sub
...
...
@@ -45,7 +45,7 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator
Return
End
If
' TODO (
acasey): use name (GH #878)
' TODO (
https://github.com/dotnet/roslyn/issues/878): use name
Dim
canonicalName
=
Canonicalize
(
name
)
Dim
local
As
LocalSymbol
=
Nothing
...
...
@@ -76,7 +76,7 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator
Dim
typeChar
As
String
=
Nothing
Dim
specialType
=
GetSpecialTypeForTypeCharacter
(
identifier
.
GetTypeCharacter
(),
typeChar
)
Dim
type
=
Compilation
.
GetSpecialType
(
If
(
specialType
=
SpecialType
.
None
,
SpecialType
.
System_Object
,
specialType
))
' TODO (
acasey): don't canonicalize name (GH #878)
' TODO (
https://github.com/dotnet/roslyn/issues/878): don't canonicalize name
Dim
canonicalName
=
Canonicalize
(
identifier
.
GetIdentifierText
())
Dim
local
=
LocalSymbol
.
Create
(
_containingMethod
,
...
...
src/ExpressionEvaluator/VisualBasic/Source/ExpressionCompiler/EvaluationContext.vb
浏览文件 @
32723672
...
...
@@ -163,7 +163,7 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator
If
IsDteeEntryPoint
(
currentFrame
)
Then
methodDebugInfo
=
SynthesizeMethodDebugInfoForDtee
(
lazyAssemblyReaders
.
Value
)
ElseIf
typedSymReader
IsNot
Nothing
Then
' TODO (
acasey): Switch on the type of typedSymReader and call the appropriate helper. (GH #702)
' TODO (
https://github.com/dotnet/roslyn/issues/702): Switch on the type of typedSymReader and call the appropriate helper.
methodDebugInfo
=
typedSymReader
.
GetMethodDebugInfo
(
methodToken
,
methodVersion
)
Else
methodDebugInfo
=
Nothing
...
...
src/ExpressionEvaluator/VisualBasic/Source/ExpressionCompiler/SymUnmanagedReaderExtensions.vb
浏览文件 @
32723672
...
...
@@ -73,7 +73,7 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator
projectLevelImportRecords
.
ToImmutableAndFree
(),
fileLevelImportRecords
.
ToImmutableAndFree
())
' TODO (
acasey): portable format overload (GH #702)
' TODO (
https://github.com/dotnet/roslyn/issues/702): portable format overload
' Somehow construct hoistedLocalScopeRecords.
Dim
hoistedLocalScopeRecords
=
ImmutableArray
(
Of
HoistedLocalScopeRecord
).
Empty
...
...
@@ -86,6 +86,6 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator
dynamicLocalConstantMap
:
=
ImmutableDictionary
(
Of
String
,
ImmutableArray
(
Of
Boolean
)).
Empty
)
End
Function
' TODO (
acasey): portable format overload (GH #702)
' TODO (
https://github.com/dotnet/roslyn/issues/702): portable format overload
End
Module
End
Namespace
src/ExpressionEvaluator/VisualBasic/Test/ExpressionCompiler/PseudoVariableTests.vb
浏览文件 @
32723672
...
...
@@ -462,7 +462,7 @@ End Class"
expr
:
=
"$ReturnValue(Of Object)"
,
resultProperties
:
=
resultProperties
,
errorMessage
:
=
errorMessage
)
' TODO (
acasey): don't canonicalize name (GH #878)
' TODO (
https://github.com/dotnet/roslyn/issues/878): don't canonicalize name
Assert
.
Equal
(
"(1) : error BC32045: '$returnvalue' has no type parameters and so cannot have type arguments."
,
errorMessage
)
Const
source
=
"
...
...
src/Test/PdbUtilities/Shared/CustomDebugInfoReader.cs
浏览文件 @
32723672
...
...
@@ -464,7 +464,7 @@ public static ImmutableArray<string> GetVisualBasicImportStrings(this ISymUnmana
return
importStrings
;
}
// TODO (
acasey): caller should depend on abstraction (GH #702)
// TODO (
https://github.com/dotnet/roslyn/issues/702): caller should depend on abstraction
/// <exception cref="InvalidOperationException">Bad data.</exception>
public
static
void
GetCSharpDynamicLocalInfo
(
byte
[]
customDebugInfo
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录