Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
fcaf0eee
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,发现更多精彩内容 >>
未验证
提交
fcaf0eee
编写于
2月 25, 2019
作者:
J
Jared Parsons
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix packaging
上级
529bb615
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
18 addition
and
8 deletion
+18
-8
src/Compilers/CSharp/Portable/FlowAnalysis/NullableWalker.cs
src/Compilers/CSharp/Portable/FlowAnalysis/NullableWalker.cs
+2
-2
src/NuGet/Microsoft.Net.Compilers.Toolset/Microsoft.Net.Compilers.Toolset.Package.csproj
...rs.Toolset/Microsoft.Net.Compilers.Toolset.Package.csproj
+16
-6
未找到文件。
src/Compilers/CSharp/Portable/FlowAnalysis/NullableWalker.cs
浏览文件 @
fcaf0eee
...
...
@@ -4952,7 +4952,7 @@ public override BoundNode VisitUnaryOperator(BoundUnaryOperator node)
public
override
BoundNode
VisitPointerIndirectionOperator
(
BoundPointerIndirectionOperator
node
)
{
var
result
=
base
.
VisitPointerIndirectionOperator
(
node
);
var
type
=
TypeSymbolWithAnnotations
.
Create
(
node
.
Type
);
var
type
=
TypeSymbolWithAnnotations
.
Create
(
node
.
Type
);
SetResult
(
type
,
type
);
return
result
;
}
...
...
@@ -4960,7 +4960,7 @@ public override BoundNode VisitPointerIndirectionOperator(BoundPointerIndirectio
public
override
BoundNode
VisitPointerElementAccess
(
BoundPointerElementAccess
node
)
{
var
result
=
base
.
VisitPointerElementAccess
(
node
);
var
type
=
TypeSymbolWithAnnotations
.
Create
(
node
.
Type
);
var
type
=
TypeSymbolWithAnnotations
.
Create
(
node
.
Type
);
SetResult
(
type
,
type
);
return
result
;
}
...
...
src/NuGet/Microsoft.Net.Compilers.Toolset/Microsoft.Net.Compilers.Toolset.Package.csproj
浏览文件 @
fcaf0eee
<!-- Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -->
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework
>net472</TargetFramework
>
<TargetFramework
s>netcoreapp2.1;net472</TargetFrameworks
>
<RoslynProjectType>Custom</RoslynProjectType>
<IsPackable>true</IsPackable>
...
...
@@ -17,6 +17,9 @@
</PackageDescription>
<TargetsForTfmSpecificContentInPackage>$(TargetsForTfmSpecificContentInPackage);_GetFilesToPackage</TargetsForTfmSpecificContentInPackage>
<NoWarn>$(NoWarn);NU5100</NoWarn>
<_DependsOn Condition="'$(TargetFramework)' == 'net472'">InitializeDesktopCompilerArtifacts</_DependsOn>
<_DependsOn Condition="'$(TargetFramework)' == 'netcoreapp2.1'">InitializeCoreClrCompilerArtifacts</_DependsOn>
</PropertyGroup>
<ItemGroup>
...
...
@@ -25,9 +28,16 @@
<ProjectReference Include="..\..\Interactive\csi\csi.csproj" PrivateAssets="All"/>
<ProjectReference Include="..\..\Compilers\Core\MSBuildTask\Microsoft.Build.Tasks.CodeAnalysis.csproj" PrivateAssets="All"/>
<ProjectReference Include="..\..\Compilers\Server\VBCSCompiler\VBCSCompiler.csproj" PrivateAssets="All"/>
<ProjectReference Update="@(ProjectReference)"
Targets="Publish"
ReferenceOutputAssembly="false"
SkipGetTargetFrameworkProperties="true"
Condition="'$(TargetFramework)' == 'netcoreapp2.1'"
SetTargetFramework="TargetFramework=netcoreapp2.1" />
</ItemGroup>
<Target Name="_GetFilesToPackage" DependsOnTargets="
InitializeDesktopCompilerArtifacts;InitializeCoreClrCompilerArtifacts
">
<Target Name="_GetFilesToPackage" DependsOnTargets="
$(_DependsOn)
">
<ItemGroup>
<_File Include="@(DesktopCompilerArtifact)" TargetDir="tasks/net472"/>
<_File Include="@(DesktopCompilerResourceArtifact)" TargetDir="tasks/net472"/>
...
...
@@ -36,14 +46,14 @@
<_File Include="@(CoreClrCompilerBinArtifact)" TargetDir="tasks/netcoreapp2.1/bincore"/>
<_File Include="@(CoreClrCompilerBinRuntimesArtifact)" TargetDir="tasks/netcoreapp2.1/bincore/runtimes"/>
<_File Include="$(MSBuildProjectDirectory)\build\**\*.*" TargetDir="build" />
<_File Include="$(MSBuildProjectDirectory)\build\**\*.*" TargetDir="buildMultiTargeting" />
<_File Include="$(MSBuildProjectDirectory)\build\**\*.*"
Condition="'$(TargetFramework)' == 'net472'"
TargetDir="build" />
<_File Include="$(MSBuildProjectDirectory)\build\**\*.*"
Condition="'$(TargetFramework)' == 'net472'"
TargetDir="buildMultiTargeting" />
<!-- build multitargeting directory -->
<TfmSpecificPackageFile Include="@(_File)" PackagePath="%(_File.TargetDir)/%(_File.RecursiveDir)%(_File.FileName)%(_File.Extension)" />
</ItemGroup>
</Target>
<Import Project="DesktopCompilerArtifacts.targets"/>
<Import Project="CoreClrCompilerArtifacts.targets"/>
<Import Project="DesktopCompilerArtifacts.targets"
Condition="'$(TargetFramework)' == 'net472'"
/>
<Import Project="CoreClrCompilerArtifacts.targets"
Condition="'$(TargetFramework)' == 'netcoreapp2.1'"
/>
</Project>
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录