Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
dotNET Platform
runtime
提交
61587f4f
R
runtime
项目概览
dotNET Platform
/
runtime
大约 1 年 前同步成功
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
runtime
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
61587f4f
编写于
6月 07, 2021
作者:
B
Buyaa Namnan
提交者:
GitHub
6月 07, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add PlatformNeutralAssembly property for targeted builds of cross platform assembly (#53626)
上级
15eca914
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
6 addition
and
9 deletion
+6
-9
eng/Versions.props
eng/Versions.props
+1
-1
eng/versioning.targets
eng/versioning.targets
+5
-0
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ConnectHelper.cs
...p/src/System/Net/Http/SocketsHttpHandler/ConnectHelper.cs
+0
-1
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/Http3Connection.cs
...src/System/Net/Http/SocketsHttpHandler/Http3Connection.cs
+0
-1
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/Http3ConnectionException.cs
...m/Net/Http/SocketsHttpHandler/Http3ConnectionException.cs
+0
-1
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/Http3ProtocolException.cs
...tem/Net/Http/SocketsHttpHandler/Http3ProtocolException.cs
+0
-1
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/Http3RequestStream.cs
.../System/Net/Http/SocketsHttpHandler/Http3RequestStream.cs
+0
-1
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpConnectionPool.cs
.../System/Net/Http/SocketsHttpHandler/HttpConnectionPool.cs
+0
-2
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpConnectionSettings.cs
...tem/Net/Http/SocketsHttpHandler/HttpConnectionSettings.cs
+0
-1
未找到文件。
eng/Versions.props
浏览文件 @
61587f4f
...
...
@@ -45,7 +45,7 @@
<MicrosoftCodeAnalysisVersion>3.8.0</MicrosoftCodeAnalysisVersion>
</PropertyGroup>
<PropertyGroup>
<MicrosoftCodeAnalysisNetAnalyzersVersion>6.0.0-preview6.212
74.2
</MicrosoftCodeAnalysisNetAnalyzersVersion>
<MicrosoftCodeAnalysisNetAnalyzersVersion>6.0.0-preview6.212
81.1
</MicrosoftCodeAnalysisNetAnalyzersVersion>
<MicrosoftCodeAnalysisCSharpCodeStyleVersion>3.10.0-2.final</MicrosoftCodeAnalysisCSharpCodeStyleVersion>
<MicrosoftCodeAnalysisCSharpVersion>3.10.0-2.final</MicrosoftCodeAnalysisCSharpVersion>
<!-- Arcade dependencies -->
...
...
eng/versioning.targets
浏览文件 @
61587f4f
...
...
@@ -84,6 +84,11 @@
</ItemGroup>
</Target>
<!-- Add PlatformNeutralAssembly property for targeted builds of cross platform assemblies -->
<ItemGroup Condition="'$(TargetsAnyOS)' != 'true' and '$(IsTestProject)' != 'true' and '@(SupportedOSPlatforms)' == ''">
<CompilerVisibleProperty Include="PlatformNeutralAssembly" />
</ItemGroup>
<PropertyGroup>
<!-- corefx has never generated these attributes so don't let the SDK generate them -->
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
...
...
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ConnectHelper.cs
浏览文件 @
61587f4f
...
...
@@ -101,7 +101,6 @@ private static async ValueTask<SslStream> EstablishSslConnectionAsyncCore(bool a
return
sslStream
;
}
// TODO: SupportedOSPlatform doesn't work for internal APIs https://github.com/dotnet/runtime/issues/51305
[
SupportedOSPlatform
(
"windows"
)]
[
SupportedOSPlatform
(
"linux"
)]
[
SupportedOSPlatform
(
"macos"
)]
...
...
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/Http3Connection.cs
浏览文件 @
61587f4f
...
...
@@ -14,7 +14,6 @@
namespace
System.Net.Http
{
// TODO: SupportedOSPlatform doesn't work for internal APIs https://github.com/dotnet/runtime/issues/51305
[
SupportedOSPlatform
(
"windows"
)]
[
SupportedOSPlatform
(
"linux"
)]
[
SupportedOSPlatform
(
"macos"
)]
...
...
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/Http3ConnectionException.cs
浏览文件 @
61587f4f
...
...
@@ -7,7 +7,6 @@
namespace
System.Net.Http
{
[
Serializable
]
// TODO: SupportedOSPlatform doesn't work for internal APIs https://github.com/dotnet/runtime/issues/51305
[
SupportedOSPlatform
(
"windows"
)]
[
SupportedOSPlatform
(
"linux"
)]
[
SupportedOSPlatform
(
"macos"
)]
...
...
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/Http3ProtocolException.cs
浏览文件 @
61587f4f
...
...
@@ -7,7 +7,6 @@
namespace
System.Net.Http
{
[
Serializable
]
// TODO: SupportedOSPlatform doesn't work for internal APIs https://github.com/dotnet/runtime/issues/51305
[
SupportedOSPlatform
(
"windows"
)]
[
SupportedOSPlatform
(
"linux"
)]
[
SupportedOSPlatform
(
"macos"
)]
...
...
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/Http3RequestStream.cs
浏览文件 @
61587f4f
...
...
@@ -16,7 +16,6 @@
namespace
System.Net.Http
{
// TODO: SupportedOSPlatform doesn't work for internal APIs https://github.com/dotnet/runtime/issues/51305
[
SupportedOSPlatform
(
"windows"
)]
[
SupportedOSPlatform
(
"linux"
)]
[
SupportedOSPlatform
(
"macos"
)]
...
...
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpConnectionPool.cs
浏览文件 @
61587f4f
...
...
@@ -664,7 +664,6 @@ private void AddHttp2Connection(Http2Connection newConnection)
}
}
// TODO: SupportedOSPlatform doesn't work for internal APIs https://github.com/dotnet/runtime/issues/51305
[
SupportedOSPlatform
(
"windows"
)]
[
SupportedOSPlatform
(
"linux"
)]
[
SupportedOSPlatform
(
"macos"
)]
...
...
@@ -764,7 +763,6 @@ private async ValueTask<Http3Connection> GetHttp3ConnectionAsync(HttpRequestMess
}
// Returns null if HTTP3 cannot be used.
// TODO: SupportedOSPlatform doesn't work for internal APIs https://github.com/dotnet/runtime/issues/51305
[
SupportedOSPlatform
(
"windows"
)]
[
SupportedOSPlatform
(
"linux"
)]
[
SupportedOSPlatform
(
"macos"
)]
...
...
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpConnectionSettings.cs
浏览文件 @
61587f4f
...
...
@@ -187,7 +187,6 @@ private static bool AllowDraftHttp3
private
byte
[]?
_http3SettingsFrame
;
// TODO: SupportedOSPlatform doesn't work for internal APIs https://github.com/dotnet/runtime/issues/51305
[
SupportedOSPlatform
(
"windows"
)]
[
SupportedOSPlatform
(
"linux"
)]
[
SupportedOSPlatform
(
"macos"
)]
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录