public virtual RegionVersionOne VisitRegionVersionOne(RegionVersionOne node) { if (node != null) { } return(node); }
/// <summary> /// Initializes a new instance of the <see cref="RegionVersionOne" /> class from the specified instance. /// </summary> /// <param name="other"> /// The instance from which the new instance is to be initialized. /// </param> /// <exception cref="ArgumentNullException"> /// Thrown if <paramref name="other" /> is null. /// </exception> public RegionVersionOne(RegionVersionOne other) { if (other == null) { throw new ArgumentNullException(nameof(other)); } Init(other.StartLine, other.StartColumn, other.EndLine, other.EndColumn, other.Offset, other.Length); }
private void Init(Uri uri, string uriBaseId, RegionVersionOne region) { if (uri != null) { Uri = new Uri(uri.OriginalString, uri.IsAbsoluteUri ? UriKind.Absolute : UriKind.Relative); } UriBaseId = uriBaseId; if (region != null) { Region = new RegionVersionOne(region); } }
public bool ValueEquals(RegionVersionOne other) => ValueComparer.Equals(this, other);
/// <summary> /// Initializes a new instance of the <see cref="PhysicalLocationVersionOne" /> class from the supplied values. /// </summary> /// <param name="uri"> /// An initialization value for the <see cref="P: Uri" /> property. /// </param> /// <param name="uriBaseId"> /// An initialization value for the <see cref="P: UriBaseId" /> property. /// </param> /// <param name="region"> /// An initialization value for the <see cref="P: Region" /> property. /// </param> public PhysicalLocationVersionOne(Uri uri, string uriBaseId, RegionVersionOne region) { Init(uri, uriBaseId, region); }