26 references to RelatedLocationType
Microsoft.CodeAnalysis.EditorFeatures (6)
InlineRename\IEditorInlineRenameService.cs (6)
86
case
RelatedLocationType
.NoConflict:
88
case
RelatedLocationType
.ResolvedReferenceConflict:
90
case
RelatedLocationType
.ResolvedNonReferenceConflict:
92
case
RelatedLocationType
.UnresolvableConflict:
93
case
RelatedLocationType
.UnresolvedConflict:
96
case
RelatedLocationType
.PossiblyResolvableConflict:
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));
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)
84
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)
233
if (relatedLocation.Type ==
RelatedLocationType
.PossiblyResolvableConflict)
234
conflictResolution.RelatedLocations[i] = relatedLocation.WithType(
RelatedLocationType
.UnresolvedConflict);
287
if (conflictResolution.ReplacementTextValid && conflictResolution.RelatedLocations.All(loc => (loc.Type &
RelatedLocationType
.UnresolvableConflict) == 0))
339
annotation.OriginalSpan, documentId,
RelatedLocationType
.UnresolvedConflict));
410
complexifiedLocationSpanForThisDocument.Contains(originalLocation) ?
RelatedLocationType
.ResolvedReferenceConflict :
RelatedLocationType
.NoConflict,
421
RelatedLocationType
.ResolvedNonReferenceConflict,
433
complexifiedTarget != null ?
RelatedLocationType
.PossiblyResolvableConflict :
RelatedLocationType
.UnresolvableConflict,
470
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)