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:
authordotnet-bot <dotnet-bot@microsoft.com>2017-09-23 01:00:29 +0300
committerdotnet-bot <dotnet-bot@microsoft.com>2017-09-23 01:00:29 +0300
commitc2668da46a95b95b1847dff6da6acadcd4de3515 (patch)
treeb9f2749e95216cb2cef536370f047f979f3c1d5a /src/ILCompiler.Compiler
parent3efdcc8aaa79447c7f5070f09db6fc03867ef180 (diff)
Changing the visibility of certain lookup results
[tfs-changeset: 1675737]
Diffstat (limited to 'src/ILCompiler.Compiler')
-rw-r--r--src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/GenericLookupResult.cs9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/GenericLookupResult.cs b/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/GenericLookupResult.cs
index 37f053ec3..0198e5b33 100644
--- a/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/GenericLookupResult.cs
+++ b/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/GenericLookupResult.cs
@@ -213,7 +213,7 @@ namespace ILCompiler.DependencyAnalysis
/// <summary>
/// Generic lookup result that points to an EEType.
/// </summary>
- internal sealed class TypeHandleGenericLookupResult : GenericLookupResult
+ public sealed class TypeHandleGenericLookupResult : GenericLookupResult
{
private TypeDesc _type;
@@ -238,6 +238,7 @@ namespace ILCompiler.DependencyAnalysis
sb.Append(nameMangler.GetMangledTypeName(_type));
}
+ public TypeDesc Type => _type;
public override string ToString() => $"TypeHandle: {_type}";
public override NativeLayoutVertexNode TemplateDictionaryNode(NodeFactory factory)
@@ -932,7 +933,7 @@ namespace ILCompiler.DependencyAnalysis
/// <summary>
/// Generic lookup result that points to the GC static base of a type.
/// </summary>
- internal sealed class TypeGCStaticBaseGenericLookupResult : GenericLookupResult
+ public sealed class TypeGCStaticBaseGenericLookupResult : GenericLookupResult
{
private MetadataType _type;
@@ -957,6 +958,7 @@ namespace ILCompiler.DependencyAnalysis
sb.Append(nameMangler.GetMangledTypeName(_type));
}
+ public MetadataType Type => _type;
public override string ToString() => $"GCStaticBase: {_type}";
public override NativeLayoutVertexNode TemplateDictionaryNode(NodeFactory factory)
@@ -1290,7 +1292,7 @@ namespace ILCompiler.DependencyAnalysis
}
}
- internal sealed class ThreadStaticOffsetLookupResult : GenericLookupResult
+ public sealed class ThreadStaticOffsetLookupResult : GenericLookupResult
{
private TypeDesc _type;
@@ -1317,6 +1319,7 @@ namespace ILCompiler.DependencyAnalysis
sb.Append(nameMangler.GetMangledTypeName(_type));
}
+ public TypeDesc Type => _type;
public override string ToString() => $"ThreadStaticOffset: {_type}";
public override NativeLayoutVertexNode TemplateDictionaryNode(NodeFactory factory)