Imported Upstream version 6.8.0.73

Former-commit-id: d18deab1b47cfd3ad8cba82b3f37d00eec2170af
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2019-12-10 18:00:56 +00:00
parent bceda29824
commit 73ee7591e8
1043 changed files with 16271 additions and 22080 deletions

View File

@ -1 +1 @@
675faa3a855f9b309b9764157c4f30f3a2eef014
23a53f6a657256c50759b9c4f4b3f27827d21a79

View File

@ -1 +1 @@
072b075c7d65a7754b26747e60ce1daab71dc0c1
ee94acf7f8f15010d1417f44b9131319ac821155

View File

@ -1 +1 @@
8de80e92b25690f3c330c1a77f4211e145e371ce
3e8933930502d0d8ded2c9654341153068d92d73

View File

@ -1 +1 @@
4eab3daf447a9db125e2b7d24282b35b14aa7f64
68d28c31b98019e06fa4ba81b96365aad2004da1

View File

@ -1 +1 @@
6b337acd79c5f1288e336dd395d2b0508a4b167e
b0e3f98db76152ae1cf353af732450926d11f876

View File

@ -30,7 +30,7 @@ namespace System.Net.Http
public ByteArrayContent(byte[] content) { }
public ByteArrayContent(byte[] content, int offset, int count) { }
protected override System.Threading.Tasks.Task<System.IO.Stream> CreateContentReadStreamAsync() { throw null; }
protected internal override System.Threading.Tasks.Task SerializeToStreamAsync(System.IO.Stream stream, System.Net.TransportContext context) { throw null; }
protected override System.Threading.Tasks.Task SerializeToStreamAsync(System.IO.Stream stream, System.Net.TransportContext context) { throw null; }
protected internal override bool TryComputeLength(out long length) { throw null; }
}
public enum ClientCertificateOption
@ -145,7 +145,7 @@ namespace System.Net.Http
public System.Threading.Tasks.Task<byte[]> ReadAsByteArrayAsync() { throw null; }
public System.Threading.Tasks.Task<System.IO.Stream> ReadAsStreamAsync() { throw null; }
public System.Threading.Tasks.Task<string> ReadAsStringAsync() { throw null; }
protected internal abstract System.Threading.Tasks.Task SerializeToStreamAsync(System.IO.Stream stream, System.Net.TransportContext context);
protected abstract System.Threading.Tasks.Task SerializeToStreamAsync(System.IO.Stream stream, System.Net.TransportContext context);
protected internal abstract bool TryComputeLength(out long length);
}
public abstract partial class HttpMessageHandler : System.IDisposable
@ -235,9 +235,10 @@ namespace System.Net.Http
public MultipartContent(string subtype) { }
public MultipartContent(string subtype, string boundary) { }
public virtual void Add(System.Net.Http.HttpContent content) { }
protected override System.Threading.Tasks.Task<System.IO.Stream> CreateContentReadStreamAsync() { throw null; }
protected override void Dispose(bool disposing) { }
public System.Collections.Generic.IEnumerator<System.Net.Http.HttpContent> GetEnumerator() { throw null; }
protected internal override System.Threading.Tasks.Task SerializeToStreamAsync(System.IO.Stream stream, System.Net.TransportContext context) { throw null; }
protected override System.Threading.Tasks.Task SerializeToStreamAsync(System.IO.Stream stream, System.Net.TransportContext context) { throw null; }
System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; }
protected internal override bool TryComputeLength(out long length) { throw null; }
}
@ -252,16 +253,43 @@ namespace System.Net.Http
public sealed partial class ReadOnlyMemoryContent : System.Net.Http.HttpContent
{
public ReadOnlyMemoryContent(System.ReadOnlyMemory<byte> content) { }
protected internal override System.Threading.Tasks.Task SerializeToStreamAsync(System.IO.Stream stream, System.Net.TransportContext context) { throw null; }
protected override System.Threading.Tasks.Task<System.IO.Stream> CreateContentReadStreamAsync() { throw null; }
protected override System.Threading.Tasks.Task SerializeToStreamAsync(System.IO.Stream stream, System.Net.TransportContext context) { throw null; }
protected internal override bool TryComputeLength(out long length) { throw null; }
}
public sealed partial class SocketsHttpHandler : System.Net.Http.HttpMessageHandler, System.IDisposable
{
public SocketsHttpHandler() { }
public bool AllowAutoRedirect { get { throw null; } set { } }
public System.Net.DecompressionMethods AutomaticDecompression { get { throw null; } set { } }
public System.TimeSpan ConnectTimeout { get { throw null; } set { } }
public System.Net.CookieContainer CookieContainer { get { throw null; } set { } }
public System.Net.ICredentials Credentials { get { throw null; } set { } }
public System.Net.ICredentials DefaultProxyCredentials { get { throw null; } set { } }
public System.TimeSpan Expect100ContinueTimeout { get { throw null; } set { } }
public int MaxAutomaticRedirections { get { throw null; } set { } }
public int MaxConnectionsPerServer { get { throw null; } set { } }
public int MaxResponseDrainSize { get { throw null; } set { } }
public int MaxResponseHeadersLength { get { throw null; } set { } }
public System.TimeSpan PooledConnectionIdleTimeout { get { throw null; } set { } }
public System.TimeSpan PooledConnectionLifetime { get { throw null; } set { } }
public bool PreAuthenticate { get { throw null; } set { } }
public System.Collections.Generic.IDictionary<string, object> Properties { get { throw null; } }
public System.Net.IWebProxy Proxy { get { throw null; } set { } }
public System.TimeSpan ResponseDrainTimeout { get { throw null; } set { } }
public System.Net.Security.SslClientAuthenticationOptions SslOptions { get { throw null; } set { } }
public bool UseCookies { get { throw null; } set { } }
public bool UseProxy { get { throw null; } set { } }
protected override void Dispose(bool disposing) { }
protected internal override System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage> SendAsync(System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) { throw null; }
}
public partial class StreamContent : System.Net.Http.HttpContent
{
public StreamContent(System.IO.Stream content) { }
public StreamContent(System.IO.Stream content, int bufferSize) { }
protected override System.Threading.Tasks.Task<System.IO.Stream> CreateContentReadStreamAsync() { throw null; }
protected override void Dispose(bool disposing) { }
protected internal override System.Threading.Tasks.Task SerializeToStreamAsync(System.IO.Stream stream, System.Net.TransportContext context) { throw null; }
protected override System.Threading.Tasks.Task SerializeToStreamAsync(System.IO.Stream stream, System.Net.TransportContext context) { throw null; }
protected internal override bool TryComputeLength(out long length) { throw null; }
}
public partial class StringContent : System.Net.Http.ByteArrayContent
@ -484,17 +512,18 @@ namespace System.Net.Http.Headers
public override string ToString() { throw null; }
public static bool TryParse(string input, out System.Net.Http.Headers.MediaTypeHeaderValue parsedValue) { throw null; }
}
public sealed partial class MediaTypeWithQualityHeaderValue : System.Net.Http.Headers.MediaTypeHeaderValue
public sealed partial class MediaTypeWithQualityHeaderValue : System.Net.Http.Headers.MediaTypeHeaderValue, System.ICloneable
{
public MediaTypeWithQualityHeaderValue(string mediaType) : base (default(string)) { }
public MediaTypeWithQualityHeaderValue(string mediaType, double quality) : base (default(string)) { }
public MediaTypeWithQualityHeaderValue(string mediaType) : base (default(System.Net.Http.Headers.MediaTypeHeaderValue)) { }
public MediaTypeWithQualityHeaderValue(string mediaType, double quality) : base (default(System.Net.Http.Headers.MediaTypeHeaderValue)) { }
public System.Nullable<double> Quality { get { throw null; } set { } }
public static new System.Net.Http.Headers.MediaTypeWithQualityHeaderValue Parse(string input) { throw null; }
object System.ICloneable.Clone() { throw null; }
public static bool TryParse(string input, out System.Net.Http.Headers.MediaTypeWithQualityHeaderValue parsedValue) { throw null; }
}
public partial class NameValueHeaderValue : System.ICloneable
{
protected internal NameValueHeaderValue(System.Net.Http.Headers.NameValueHeaderValue source) { }
protected NameValueHeaderValue(System.Net.Http.Headers.NameValueHeaderValue source) { }
public NameValueHeaderValue(string name) { }
public NameValueHeaderValue(string name, string value) { }
public string Name { get { throw null; } }
@ -622,12 +651,13 @@ namespace System.Net.Http.Headers
public override string ToString() { throw null; }
public static bool TryParse(string input, out System.Net.Http.Headers.TransferCodingHeaderValue parsedValue) { throw null; }
}
public sealed partial class TransferCodingWithQualityHeaderValue : System.Net.Http.Headers.TransferCodingHeaderValue
public sealed partial class TransferCodingWithQualityHeaderValue : System.Net.Http.Headers.TransferCodingHeaderValue, System.ICloneable
{
public TransferCodingWithQualityHeaderValue(string value) : base (default(string)) { }
public TransferCodingWithQualityHeaderValue(string value, double quality) : base (default(string)) { }
public TransferCodingWithQualityHeaderValue(string value) : base (default(System.Net.Http.Headers.TransferCodingHeaderValue)) { }
public TransferCodingWithQualityHeaderValue(string value, double quality) : base (default(System.Net.Http.Headers.TransferCodingHeaderValue)) { }
public System.Nullable<double> Quality { get { throw null; } set { } }
public static new System.Net.Http.Headers.TransferCodingWithQualityHeaderValue Parse(string input) { throw null; }
object System.ICloneable.Clone() { throw null; }
public static bool TryParse(string input, out System.Net.Http.Headers.TransferCodingWithQualityHeaderValue parsedValue) { throw null; }
}
public partial class ViaHeaderValue : System.ICloneable

View File

@ -1 +1 @@
a5b17251bf1b4f417ac562f2e9c98d4073d0ff5b
ed1414ca828ee9519a6607ede29370c74a68f69b

View File

@ -1 +1 @@
90d02a101ed04da6a18a169ddf1ec2799c16fcdf
3d86cbc178ecc58c1640325d9c50613a8db0a299

View File

@ -1 +1 @@
e1f35668ff12c7719a94dbad1f42fe4317d3f553
7d65de02df2ecf34d5528debc47da5e04ca08c3c

View File

@ -1 +1 @@
703aeb84b7f468abb1a4821829683c566a004026
d4965059d547194b07315ea2eccdd9324bcfbf8c

View File

@ -1 +1 @@
80b79ba367d12c121332316fea3dcc10f9ac278f
46468e5b458af1df7c4d502ad8f5c2a83527e649

View File

@ -1 +1 @@
00725101599ebd8c039e531859320754cb521f2e
d22c0752cbf3a18e72df8083ab5354f346c648f8

View File

@ -1 +1 @@
03f0d6f3e5645ad55d73b26135212076a5119877
422a5ed0cc55c2bd8c7a4e5ab98f378ce5d8aded

View File

@ -878,6 +878,7 @@ class Package:
elif orig_suffix is not None:
suffixed = os.path.join(
dest_dir, reldir, add_suffix(filename, orig_suffix))
trace(dest_orig_file)
trace(suffixed)
shutil.move(dest_orig_file, suffixed)
os.symlink(os.path.basename(suffixed), dest_orig_file)

View File

@ -4,7 +4,7 @@ class GtkSharp212ReleasePackage (Package):
Package.__init__(self, 'gtk-sharp',
sources=['git://github.com/mono/gtk-sharp.git'],
git_branch='gtk-sharp-2-12-branch',
revision='dedce8ddbe37ae467f18ff785255e04fd9ccd782',
revision='76a9a14ad72b75b66fdda12fab1532c2e5318cc5',
override_properties={
'configure': './bootstrap-2.12 --prefix=%{package_prefix}',
}

View File

@ -1,38 +0,0 @@
trigger:
- master
pr:
- master
jobs:
- job: Linux
pool:
vmImage: 'ubuntu-16.04'
steps:
- script: |
dotnet build -c Debug Mono.Cecil.sln
displayName: 'Build'
- script: |
dotnet test --no-build -c Debug -f netcoreapp2.1 Mono.Cecil.sln
displayName: 'Test .NET Core'
- task: NuGetToolInstaller@0
displayName: 'Install nuget'
- task: NuGetCommand@2
inputs:
command: 'custom'
arguments: 'install NUnit.Console -Version 3.9.0 -OutputDirectory ./packages'
displayName: 'Get NUnit.Console'
- script: |
mono ./packages/NUnit.ConsoleRunner.3.9.0/tools/nunit3-console.exe ./Mono.Cecil.nunit
displayName: 'Test .NET 4.0 using Mono'
- job: Windows
pool:
vmImage: 'vs2017-win2016'
steps:
- script: |
dotnet build -c Debug Mono.Cecil.sln
displayName: 'Build'
- script: |
dotnet test --no-build -c Debug Mono.Cecil.sln
displayName: 'Test'

View File

@ -0,0 +1,35 @@
name: CI
on:
push:
branches:
- master
- release/*
pull_request:
branches:
- master
- release/*
jobs:
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: Build
run: dotnet build -c Debug Mono.Cecil.sln
- name: Test
run: dotnet test --no-build -c Debug Mono.Cecil.sln
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Build
run: dotnet build -c Debug Mono.Cecil.sln
- name: Test .NET Core
run: dotnet test --no-build -c Debug Mono.Cecil.sln
- name: Get NuGet
run: curl -o ./nuget.exe https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
- name: Get NUnit.Console
run: mono ./nuget.exe install NUnit.Console -Version 3.9.0 -OutputDirectory ./packages
- name: Test .NET 4.0 using Mono
run: mono ./packages/NUnit.ConsoleRunner.3.9.0/tools/nunit3-console.exe ./Mono.Cecil.nunit

View File

@ -14,3 +14,5 @@ TestResults
project.lock.json
.vs/
.idea/
packages/*
nuget.exe

View File

@ -350,7 +350,7 @@ namespace Mono.Cecil.PE {
PointerToRawData = ReadInt32 (),
};
if (directory.PointerToRawData == 0) {
if (directory.PointerToRawData == 0 || directory.SizeOfData < 0) {
entries [i] = new ImageDebugHeaderEntry (directory, Empty<byte>.Array);
continue;
}

View File

@ -1,6 +1,6 @@
<NUnitProject>
<Settings activeconfig="Debug" />
<Config name="Debug" runtimeFramework="v4.0.30319">
<Config name="Debug" runtimeFramework="v4.0.30319" domainUsage="Single">
<assembly path="./Test/bin/Debug/net40/Mono.Cecil.Tests.dll" />
<assembly path="./rocks/Test/bin/Debug/net40/Mono.Cecil.Rocks.Tests.dll" />
<assembly path="./symbols/mdb/Test/bin/Debug/net40/Mono.Cecil.Mdb.Tests.dll" />

Some files were not shown because too many files have changed in this diff Show More