20 references to RelatedLocationType
Microsoft.CodeAnalysis.Workspaces (20)
Rename\ConflictEngine\ConflictResolver.cs (4)
192
implicitUsageConflict.SourceSpan, conflictResolution.OldSolution.GetRequiredDocument(implicitUsageConflict.SourceTree).Id,
RelatedLocationType
.UnresolvableConflict));
216
implicitConflict.SourceSpan, conflictResolution.OldSolution.GetRequiredDocument(implicitConflict.SourceTree).Id,
RelatedLocationType
.UnresolvableConflict));
309
languageConflict.SourceSpan, conflictResolution.OldSolution.GetRequiredDocument(languageConflict.SourceTree).Id,
RelatedLocationType
.UnresolvableConflict));
336
oldLocation.SourceSpan, conflictResolution.OldSolution.GetRequiredDocument(oldLocation.SourceTree).Id,
RelatedLocationType
.UnresolvableConflict));
Rename\ConflictEngine\ConflictResolver.Session.cs (14)
84
Debug.Assert(location.ComplexifiedTargetSpan.Contains(location.ConflictCheckSpan) || location.Type ==
RelatedLocationType
.UnresolvableConflict);
162
.Where(loc => documentIdsThatGetsAnnotatedAndRenamed.Contains(loc.DocumentId) && loc.Type ==
RelatedLocationType
.PossiblyResolvableConflict && loc.IsReference)
178
.Where(loc => documentIdsThatGetsAnnotatedAndRenamed.Contains(loc.DocumentId) && loc.Type ==
RelatedLocationType
.PossiblyResolvableConflict)
191
.Where(l => (l.Type &
RelatedLocationType
.UnresolvedConflict) != 0)
228
if (relatedLocation.Type ==
RelatedLocationType
.PossiblyResolvableConflict)
229
conflictResolution.RelatedLocations[i] = relatedLocation.WithType(
RelatedLocationType
.UnresolvedConflict);
281
if (conflictResolution.ReplacementTextValid && conflictResolution.RelatedLocations.All(loc => (loc.Type &
RelatedLocationType
.UnresolvableConflict) == 0))
331
annotation.OriginalSpan, documentId,
RelatedLocationType
.UnresolvedConflict));
400
complexifiedLocationSpanForThisDocument.Contains(originalLocation) ?
RelatedLocationType
.ResolvedReferenceConflict :
RelatedLocationType
.NoConflict,
411
RelatedLocationType
.ResolvedNonReferenceConflict,
423
complexifiedTarget != null ?
RelatedLocationType
.PossiblyResolvableConflict :
RelatedLocationType
.UnresolvableConflict,
460
return conflictResolution.RelatedLocations.Any(r => r.Type ==
RelatedLocationType
.PossiblyResolvableConflict);
Rename\ConflictEngine\RelatedLocation.cs (2)
25
[property: DataMember(Order = 2)]
RelatedLocationType
Type,
29
public RelatedLocation WithType(
RelatedLocationType
type)