public LocalBuilder DeclareLocal (TypeSpec type, bool pinned) { if (IsAnonymousStoreyMutateRequired) type = CurrentAnonymousMethod.Storey.Mutator.Mutate (type); return ig.DeclareLocal (type.GetMetaInfo (), pinned); }
public void ResolveVariable (EmitContext ec) { if (HoistedVariant != null) return; if (builder == null) { builder = ec.DeclareLocal (VariableType, Pinned); } }