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

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/mcs/const.cs')
-rw-r--r--mcs/mcs/const.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/mcs/mcs/const.cs b/mcs/mcs/const.cs
index 5f90e75170d..2e562ff2fe5 100644
--- a/mcs/mcs/const.cs
+++ b/mcs/mcs/const.cs
@@ -135,8 +135,7 @@ namespace Mono.CSharp {
}
in_transit = true;
- // TODO: IResolveContext here
- EmitContext ec = new EmitContext (this, Parent, Location, null, MemberType, ModFlags);
+ EmitContext ec = new EmitContext (Parent, Location, null, MemberType, ModFlags);
value = initializer.ResolveAsConstant (ec, this);
in_transit = false;