20 references to RelatedLocationType
Microsoft.CodeAnalysis.Workspaces (20)
Rename\ConflictEngine\ConflictResolver.cs (4)
193
implicitUsageConflict.SourceSpan, conflictResolution.OldSolution.GetRequiredDocument(implicitUsageConflict.SourceTree).Id,
RelatedLocationType
.UnresolvableConflict));
217
implicitConflict.SourceSpan, conflictResolution.OldSolution.GetRequiredDocument(implicitConflict.SourceTree).Id,
RelatedLocationType
.UnresolvableConflict));
310
languageConflict.SourceSpan, conflictResolution.OldSolution.GetRequiredDocument(languageConflict.SourceTree).Id,
RelatedLocationType
.UnresolvableConflict));
337
oldLocation.SourceSpan, conflictResolution.OldSolution.GetRequiredDocument(oldLocation.SourceTree).Id,
RelatedLocationType
.UnresolvableConflict));
Rename\ConflictEngine\ConflictResolver.Session.cs (14)
85
Debug.Assert(location.ComplexifiedTargetSpan.Contains(location.ConflictCheckSpan) || location.Type ==
RelatedLocationType
.UnresolvableConflict);
163
.Where(loc => documentIdsThatGetsAnnotatedAndRenamed.Contains(loc.DocumentId) && loc.Type ==
RelatedLocationType
.PossiblyResolvableConflict && loc.IsReference)
179
.Where(loc => documentIdsThatGetsAnnotatedAndRenamed.Contains(loc.DocumentId) && loc.Type ==
RelatedLocationType
.PossiblyResolvableConflict)
192
.Where(l => (l.Type &
RelatedLocationType
.UnresolvedConflict) != 0)
229
if (relatedLocation.Type ==
RelatedLocationType
.PossiblyResolvableConflict)
230
conflictResolution.RelatedLocations[i] = relatedLocation.WithType(
RelatedLocationType
.UnresolvedConflict);
282
if (conflictResolution.ReplacementTextValid && conflictResolution.RelatedLocations.All(loc => (loc.Type &
RelatedLocationType
.UnresolvableConflict) == 0))
332
annotation.OriginalSpan, documentId,
RelatedLocationType
.UnresolvedConflict));
401
complexifiedLocationSpanForThisDocument.Contains(originalLocation) ?
RelatedLocationType
.ResolvedReferenceConflict :
RelatedLocationType
.NoConflict,
412
RelatedLocationType
.ResolvedNonReferenceConflict,
424
complexifiedTarget != null ?
RelatedLocationType
.PossiblyResolvableConflict :
RelatedLocationType
.UnresolvableConflict,
461
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)