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)
186
implicitUsageConflict.SourceSpan, conflictResolution.OldSolution.GetRequiredDocument(implicitUsageConflict.SourceTree).Id,
RelatedLocationType
.UnresolvableConflict));
210
implicitConflict.SourceSpan, conflictResolution.OldSolution.GetRequiredDocument(implicitConflict.SourceTree).Id,
RelatedLocationType
.UnresolvableConflict));
304
languageConflict.SourceSpan, conflictResolution.OldSolution.GetRequiredDocument(languageConflict.SourceTree).Id,
RelatedLocationType
.UnresolvableConflict));
331
oldLocation.SourceSpan, conflictResolution.OldSolution.GetRequiredDocument(oldLocation.SourceTree).Id,
RelatedLocationType
.UnresolvableConflict));
Rename\ConflictEngine\ConflictResolver.Session.cs (14)
81
Debug.Assert(location.ComplexifiedTargetSpan.Contains(location.ConflictCheckSpan) || location.Type ==
RelatedLocationType
.UnresolvableConflict);
160
.Where(loc => documentIdsThatGetsAnnotatedAndRenamed.Contains(loc.DocumentId) && loc.Type ==
RelatedLocationType
.PossiblyResolvableConflict && loc.IsReference)
176
.Where(loc => documentIdsThatGetsAnnotatedAndRenamed.Contains(loc.DocumentId) && loc.Type ==
RelatedLocationType
.PossiblyResolvableConflict)
189
.Where(l => (l.Type &
RelatedLocationType
.UnresolvedConflict) != 0)
230
if (relatedLocation.Type ==
RelatedLocationType
.PossiblyResolvableConflict)
231
conflictResolution.RelatedLocations[i] = relatedLocation.WithType(
RelatedLocationType
.UnresolvedConflict);
284
if (conflictResolution.ReplacementTextValid && conflictResolution.RelatedLocations.All(loc => (loc.Type &
RelatedLocationType
.UnresolvableConflict) == 0))
336
annotation.OriginalSpan, documentId,
RelatedLocationType
.UnresolvedConflict));
405
complexifiedLocationSpanForThisDocument.Contains(originalLocation) ?
RelatedLocationType
.ResolvedReferenceConflict :
RelatedLocationType
.NoConflict,
416
RelatedLocationType
.ResolvedNonReferenceConflict,
428
complexifiedTarget != null ?
RelatedLocationType
.PossiblyResolvableConflict :
RelatedLocationType
.UnresolvableConflict,
465
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)