Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/api-snapshot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonojenkins <jo.shields+jenkins@xamarin.com>2019-08-07 20:35:25 +0300
committermonojenkins <jo.shields+jenkins@xamarin.com>2019-08-07 20:35:25 +0300
commit720f61ffc70e147285010900e291096f795e8aa8 (patch)
tree5f2b50671ccb043b64a30b554dd8b42d099c391f
parentfc50bc4f8fbd110577e0e233161c935c3b43dc1d (diff)
Apply changes from https://github.com/mono/mono/pull/16014 to API snapshot
-rw-r--r--profiles/net_4_x/Mono.Cecil.cs10
1 files changed, 9 insertions, 1 deletions
diff --git a/profiles/net_4_x/Mono.Cecil.cs b/profiles/net_4_x/Mono.Cecil.cs
index ae5c2ba..e1f3566 100644
--- a/profiles/net_4_x/Mono.Cecil.cs
+++ b/profiles/net_4_x/Mono.Cecil.cs
@@ -447,7 +447,7 @@ namespace Mono.Cecil
public GenericParameter(Mono.Cecil.IGenericParameterProvider owner) : base (default(string), default(string)) { }
public GenericParameter(string name, Mono.Cecil.IGenericParameterProvider owner) : base (default(string), default(string)) { }
public Mono.Cecil.GenericParameterAttributes Attributes { get { throw null; } set { } }
- public Mono.Collections.Generic.Collection<Mono.Cecil.TypeReference> Constraints { get { throw null; } }
+ public Mono.Collections.Generic.Collection<Mono.Cecil.GenericParameterConstraint> Constraints { get { throw null; } }
public override bool ContainsGenericParameter { get { throw null; } }
public Mono.Collections.Generic.Collection<Mono.Cecil.CustomAttribute> CustomAttributes { get { throw null; } }
public Mono.Cecil.MethodReference DeclaringMethod { get { throw null; } }
@@ -484,6 +484,14 @@ namespace Mono.Cecil
SpecialConstraintMask = (ushort)28,
VarianceMask = (ushort)3,
}
+ public sealed partial class GenericParameterConstraint : Mono.Cecil.ICustomAttributeProvider, Mono.Cecil.IMetadataTokenProvider
+ {
+ public GenericParameterConstraint(Mono.Cecil.TypeReference constraintType) { }
+ public Mono.Cecil.TypeReference ConstraintType { get { throw null; } set { } }
+ public Mono.Collections.Generic.Collection<Mono.Cecil.CustomAttribute> CustomAttributes { get { throw null; } }
+ public bool HasCustomAttributes { get { throw null; } }
+ public Mono.Cecil.MetadataToken MetadataToken { get { throw null; } set { } }
+ }
public enum GenericParameterType
{
Method = 1,