X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fmcs%2Fcontext.cs;h=8cbaeff0c5464d7956eebd1f5039ffa632e52e83;hb=47071c959e1717e753e086772478f7f3756993ae;hp=5ab84f260afd3ae85e8d9c6ee75f1e70c1582a97;hpb=3a86569d2768d0fb43d7eac5be868c0005501e4a;p=mono.git diff --git a/mcs/mcs/context.cs b/mcs/mcs/context.cs index 5ab84f260af..8cbaeff0c54 100644 --- a/mcs/mcs/context.cs +++ b/mcs/mcs/context.cs @@ -97,6 +97,9 @@ namespace Mono.CSharp if (rc.HasSet (ResolveContext.Options.CheckedScope)) flags |= ResolveContext.Options.CheckedScope; + if (!rc.ConstantCheckState) + flags &= ~Options.ConstantCheckState; + if (rc.IsInProbingMode) flags |= ResolveContext.Options.ProbingMode;