You've already forked linux-packaging-mono
Imported Upstream version 5.14.0.78
Former-commit-id: 3494343bcc9ddb42b36b82dd9ae7b69e85e0229f
This commit is contained in:
parent
74b74abd9f
commit
19234507ba
10
external/cecil/Mono.Cecil/AssemblyWriter.cs
vendored
10
external/cecil/Mono.Cecil/AssemblyWriter.cs
vendored
@@ -2414,10 +2414,12 @@ namespace Mono.Cecil {
|
||||
var signature = CreateSignatureWriter ();
|
||||
signature.WriteUInt32 ((uint) async_method.catch_handler.Offset + 1);
|
||||
|
||||
for (int i = 0; i < async_method.yields.Count; i++) {
|
||||
signature.WriteUInt32 ((uint) async_method.yields [i].Offset);
|
||||
signature.WriteUInt32 ((uint) async_method.resumes [i].Offset);
|
||||
signature.WriteCompressedUInt32 (async_method.resume_methods [i].MetadataToken.RID);
|
||||
if (!async_method.yields.IsNullOrEmpty ()) {
|
||||
for (int i = 0; i < async_method.yields.Count; i++) {
|
||||
signature.WriteUInt32 ((uint) async_method.yields [i].Offset);
|
||||
signature.WriteUInt32 ((uint) async_method.resumes [i].Offset);
|
||||
signature.WriteCompressedUInt32 (async_method.resume_methods [i].MetadataToken.RID);
|
||||
}
|
||||
}
|
||||
|
||||
AddCustomDebugInformation (provider, async_method, signature);
|
||||
|
||||
3
external/cecil/Mono.Cecil/CustomAttribute.cs
vendored
3
external/cecil/Mono.Cecil/CustomAttribute.cs
vendored
@@ -9,7 +9,7 @@
|
||||
//
|
||||
|
||||
using System;
|
||||
|
||||
using System.Diagnostics;
|
||||
using Mono.Collections.Generic;
|
||||
|
||||
namespace Mono.Cecil {
|
||||
@@ -68,6 +68,7 @@ namespace Mono.Cecil {
|
||||
Collection<CustomAttributeArgument> ConstructorArguments { get; }
|
||||
}
|
||||
|
||||
[DebuggerDisplay ("{AttributeType}")]
|
||||
public sealed class CustomAttribute : ICustomAttribute {
|
||||
|
||||
internal CustomAttributeValueProjection projection;
|
||||
|
||||
@@ -276,6 +276,7 @@ namespace Mono.Cecil {
|
||||
TargetArchitecture architecture;
|
||||
ModuleAttributes attributes;
|
||||
ModuleCharacteristics characteristics;
|
||||
internal ushort linker_version = 8;
|
||||
Guid mvid;
|
||||
internal uint timestamp;
|
||||
|
||||
@@ -350,7 +351,7 @@ namespace Mono.Cecil {
|
||||
set { characteristics = value; }
|
||||
}
|
||||
|
||||
[Obsolete("Use FileName")]
|
||||
[Obsolete ("Use FileName")]
|
||||
public string FullyQualifiedName {
|
||||
get { return file_name; }
|
||||
}
|
||||
@@ -607,6 +608,7 @@ namespace Mono.Cecil {
|
||||
this.architecture = image.Architecture;
|
||||
this.attributes = image.Attributes;
|
||||
this.characteristics = image.Characteristics;
|
||||
this.linker_version = image.LinkerVersion;
|
||||
this.file_name = image.FileName;
|
||||
this.timestamp = image.Timestamp;
|
||||
|
||||
|
||||
1
external/cecil/Mono.Cecil/ModuleKind.cs
vendored
1
external/cecil/Mono.Cecil/ModuleKind.cs
vendored
@@ -38,6 +38,7 @@ namespace Mono.Cecil {
|
||||
public enum ModuleAttributes {
|
||||
ILOnly = 1,
|
||||
Required32Bit = 2,
|
||||
ILLibrary = 4,
|
||||
StrongNameSigned = 8,
|
||||
Preferred32Bit = 0x00020000,
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
//
|
||||
|
||||
using System;
|
||||
|
||||
using System.Diagnostics;
|
||||
using Mono.Collections.Generic;
|
||||
|
||||
namespace Mono.Cecil {
|
||||
@@ -38,6 +38,7 @@ namespace Mono.Cecil {
|
||||
Collection<SecurityDeclaration> SecurityDeclarations { get; }
|
||||
}
|
||||
|
||||
[DebuggerDisplay ("{AttributeType}")]
|
||||
public sealed class SecurityAttribute : ICustomAttribute {
|
||||
|
||||
TypeReference attribute_type;
|
||||
|
||||
Reference in New Issue
Block a user