public bool Equals(ClusterTypeEnum obj) { if ((object)obj == null) { return(false); } return(StringComparer.OrdinalIgnoreCase.Equals(this.Value, obj.Value)); }
public ExceptionHandlingCluster(ClusterTypeEnum clusterType, uint checkInstr, ExceptionHandlingRegion tryRegion, ExceptionHandlingRegion[] exceptionHandlingRegions) { m_clusterType = clusterType; m_checkInstr = checkInstr; m_tryRegion = tryRegion; m_exceptionHandlingRegions = exceptionHandlingRegions; m_isParsed = false; m_escapePaths = new SortedSet<uint>(); tryRegion.ContainingCluster = this; foreach (ExceptionHandlingRegion region in exceptionHandlingRegions) region.ContainingCluster = this; }