|
|
|
@ -1,4 +1,4 @@
@@ -1,4 +1,4 @@
|
|
|
|
|
// Copyright (c) 2010-2013 AlphaSierraPapa for the SharpDevelop Team
|
|
|
|
|
// Copyright (c) 2010-2013 AlphaSierraPapa for the SharpDevelop Team
|
|
|
|
|
//
|
|
|
|
|
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
|
|
|
|
|
// software and associated documentation files (the "Software"), to deal in the Software
|
|
|
|
@ -1760,7 +1760,7 @@ namespace ICSharpCode.Decompiler.CSharp.Resolver
@@ -1760,7 +1760,7 @@ namespace ICSharpCode.Decompiler.CSharp.Resolver
|
|
|
|
|
} |
|
|
|
|
// then look for a type
|
|
|
|
|
ITypeDefinition def = n.GetTypeDefinition(identifier, k); |
|
|
|
|
if (def != null) |
|
|
|
|
if (def != null && TopLevelTypeDefinitionIsAccessible(def)) |
|
|
|
|
{ |
|
|
|
|
IType result = def; |
|
|
|
|
if (parameterizeResultType && k > 0) |
|
|
|
|