Exemplo n.º 1
0
 public RelatedLocation(TextSpan location, DocumentId documentId, RelatedLocationType type, bool isReference = false, TextSpan complexifiedTargetSpan = default)
 {
     this.ConflictCheckSpan = location;
     this.Type                   = type;
     this.IsReference            = isReference;
     this.DocumentId             = documentId;
     this.ComplexifiedTargetSpan = complexifiedTargetSpan;
 }
Exemplo n.º 2
0
 public RelatedLocation(TextSpan conflictCheckSpan, DocumentId documentId, RelatedLocationType type, bool isReference = false, TextSpan complexifiedTargetSpan = default)
 {
     ConflictCheckSpan = conflictCheckSpan;
     Type                   = type;
     IsReference            = isReference;
     DocumentId             = documentId;
     ComplexifiedTargetSpan = complexifiedTargetSpan;
 }
Exemplo n.º 3
0
 public RelatedLocation(TextSpan location, DocumentId documentId, RelatedLocationType type, bool isReference = false, TextSpan complexifiedTargetSpan = default(TextSpan))
 {
     this.ConflictCheckSpan = location;
     this.Type = type;
     this.IsReference = isReference;
     this.DocumentId = documentId;
     this.ComplexifiedTargetSpan = complexifiedTargetSpan;
 }
Exemplo n.º 4
0
 public RelatedLocation WithType(RelatedLocationType type) =>
Exemplo n.º 5
0
 public RelatedLocation WithType(RelatedLocationType type)
 => new RelatedLocation(ConflictCheckSpan, DocumentId, type, IsReference, ComplexifiedTargetSpan);