public YieldExceptionHandlerInfo(HashSet <int> tryStates, MethodDefinition finallyMethodDef) { this(tryStates); this.handlerType = 0; this.finallyMethodDef = finallyMethodDef; return; }
public YieldExceptionHandlerInfo(int tryBegin, int tryEnd, int nextState, FieldReference enumeratorField, FieldReference disposableField) : this(tryBegin, tryEnd) { this.handlerType = enumeratorField == null ? YieldExceptionHandlerType.SimpleConditionalDispose : YieldExceptionHandlerType.ConditionalDispose; this.nextState = nextState; this.enumeratorField = enumeratorField; this.disposableField = disposableField; }
public YieldExceptionHandlerInfo(HashSet <int> tryStates, int nextState, FieldReference enumeratorField, FieldReference disposableField) : this(tryStates) { this.handlerType = enumeratorField == null ? YieldExceptionHandlerType.SimpleConditionalDispose : YieldExceptionHandlerType.ConditionalDispose; this.nextState = nextState; this.enumeratorField = enumeratorField; this.disposableField = disposableField; }
private YieldExceptionHandlerInfo(HashSet <int> tryStates) { this.tryStates = tryStates; this.handlerType = default(YieldExceptionHandlerType); this.finallyMethodDef = null; this.nextState = -1; this.enumeratorField = null; this.disposableField = null; }
private YieldExceptionHandlerInfo(int tryBegin, int tryEnd) { this.tryBegin = tryBegin; this.tryEnd = tryEnd; this.handlerType = default(YieldExceptionHandlerType); this.finallyMethodDef = null; this.nextState = -1; this.enumeratorField = null; this.disposableField = null; }
public YieldExceptionHandlerInfo(HashSet <int> tryStates, int nextState, FieldReference enumeratorField, FieldReference disposableField) { this(tryStates); if (enumeratorField == null) { stackVariable4 = 1; } else { stackVariable4 = 2; } this.handlerType = stackVariable4; this.nextState = nextState; this.enumeratorField = enumeratorField; this.disposableField = disposableField; return; }
public YieldExceptionHandlerInfo(int tryBegin, int tryEnd, MethodDefinition finallyMethodDef) : this(tryBegin, tryEnd) { this.handlerType = YieldExceptionHandlerType.Method; this.finallyMethodDef = finallyMethodDef; }
public YieldExceptionHandlerInfo(HashSet <int> tryStates, MethodDefinition finallyMethodDef) : this(tryStates) { this.handlerType = YieldExceptionHandlerType.Method; this.finallyMethodDef = finallyMethodDef; }