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

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2016-05-04 09:36:58 +0300
committerJan Kotas <jkotas@microsoft.com>2016-05-04 09:36:58 +0300
commit54df7b40e4955d9ed5f2b441f4fd1cc3992fc78d (patch)
treee20f5c1f61d81bf18fea67015165a0ebeca5655a /src/ILCompiler.MetadataTransform
parent2907f2df9e86fe0830659755bb50c6f2b66ed4d1 (diff)
Update System.Reflection.Metadata version (#1236)
Diffstat (limited to 'src/ILCompiler.MetadataTransform')
-rw-r--r--src/ILCompiler.MetadataTransform/src/ILCompiler/Metadata/Transform.CustomAttribute.cs12
-rw-r--r--src/ILCompiler.MetadataTransform/src/project.json2
-rw-r--r--src/ILCompiler.MetadataTransform/tests/project.json2
3 files changed, 8 insertions, 8 deletions
diff --git a/src/ILCompiler.MetadataTransform/src/ILCompiler/Metadata/Transform.CustomAttribute.cs b/src/ILCompiler.MetadataTransform/src/ILCompiler/Metadata/Transform.CustomAttribute.cs
index 303b0fdd9..041d93806 100644
--- a/src/ILCompiler.MetadataTransform/src/ILCompiler/Metadata/Transform.CustomAttribute.cs
+++ b/src/ILCompiler.MetadataTransform/src/ILCompiler/Metadata/Transform.CustomAttribute.cs
@@ -42,7 +42,7 @@ namespace ILCompiler.Metadata
return customAttributes;
}
- private CustomAttribute HandleCustomAttribute(Cts.MethodDesc constructor, Ecma.Decoding.CustomAttributeValue<Cts.TypeDesc> decodedValue)
+ private CustomAttribute HandleCustomAttribute(Cts.MethodDesc constructor, Ecma.CustomAttributeValue<Cts.TypeDesc> decodedValue)
{
CustomAttribute result = new CustomAttribute
{
@@ -119,7 +119,7 @@ namespace ILCompiler.Metadata
{
return HandleCustomAttributeConstantArray(
(Cts.ArrayType)type,
- (ImmutableArray<Ecma.Decoding.CustomAttributeTypedArgument<Cts.TypeDesc>>)value);
+ (ImmutableArray<Ecma.CustomAttributeTypedArgument<Cts.TypeDesc>>)value);
}
if (value == null)
@@ -136,7 +136,7 @@ namespace ILCompiler.Metadata
}
private MetadataRecord HandleCustomAttributeConstantArray(
- Cts.ArrayType type, ImmutableArray<Ecma.Decoding.CustomAttributeTypedArgument<Cts.TypeDesc>> value)
+ Cts.ArrayType type, ImmutableArray<Ecma.CustomAttributeTypedArgument<Cts.TypeDesc>> value)
{
Cts.TypeDesc elementType = type.ElementType;
@@ -192,7 +192,7 @@ namespace ILCompiler.Metadata
return result;
}
- private bool IsBlockedCustomAttribute(Cts.MethodDesc constructor, Ecma.Decoding.CustomAttributeValue<Cts.TypeDesc> decodedValue)
+ private bool IsBlockedCustomAttribute(Cts.MethodDesc constructor, Ecma.CustomAttributeValue<Cts.TypeDesc> decodedValue)
{
if (IsBlocked(constructor.OwningType))
return true;
@@ -220,7 +220,7 @@ namespace ILCompiler.Metadata
if (type.IsSzArray)
{
var arrayType = (Cts.ArrayType)type;
- var arrayValue = (ImmutableArray<Ecma.Decoding.CustomAttributeTypedArgument<Cts.TypeDesc>>)value;
+ var arrayValue = (ImmutableArray<Ecma.CustomAttributeTypedArgument<Cts.TypeDesc>>)value;
if (arrayType.ElementType.UnderlyingType.IsPrimitive || arrayType.ElementType.IsString)
return false;
@@ -244,7 +244,7 @@ namespace ILCompiler.Metadata
return false;
}
- private static TValue[] GetCustomAttributeConstantArrayElements<TValue>(ImmutableArray<Ecma.Decoding.CustomAttributeTypedArgument<Cts.TypeDesc>> value)
+ private static TValue[] GetCustomAttributeConstantArrayElements<TValue>(ImmutableArray<Ecma.CustomAttributeTypedArgument<Cts.TypeDesc>> value)
{
TValue[] result = new TValue[value.Length];
for (int i = 0; i < value.Length; i++)
diff --git a/src/ILCompiler.MetadataTransform/src/project.json b/src/ILCompiler.MetadataTransform/src/project.json
index 83c03aa6f..0cb1973fa 100644
--- a/src/ILCompiler.MetadataTransform/src/project.json
+++ b/src/ILCompiler.MetadataTransform/src/project.json
@@ -1,7 +1,7 @@
{
"dependencies": {
"NETStandard.Library": "1.5.0-rc2-23911",
- "System.Reflection.Metadata": "1.3.0-rc2-23911"
+ "System.Reflection.Metadata": "1.3.0-rc3-24102-00"
},
"frameworks": {
"netstandard1.3": {}
diff --git a/src/ILCompiler.MetadataTransform/tests/project.json b/src/ILCompiler.MetadataTransform/tests/project.json
index 817b17bb3..b46e3b8c1 100644
--- a/src/ILCompiler.MetadataTransform/tests/project.json
+++ b/src/ILCompiler.MetadataTransform/tests/project.json
@@ -1,7 +1,7 @@
{
"dependencies": {
"NETStandard.Library": "1.5.0-rc2-23911",
- "System.Reflection.Metadata": "1.3.0-rc2-23911",
+ "System.Reflection.Metadata": "1.3.0-rc3-24102-00",
"xunit": "2.1.0",
"test-runtime": {
"target": "project",