1 write to Type
Microsoft.CodeAnalysis.Workspaces (1)
Rename\ConflictEngine\RelatedLocation.cs (1)
44Type = type;
13 references to Type
Microsoft.CodeAnalysis.EditorFeatures (2)
InlineRename\IEditorInlineRenameService.cs (2)
88switch (location.Type) 101throw ExceptionUtilities.UnexpectedValue(location.Type);
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (1)
Rename\RenameEngineResult.vb (1)
247Assert.True(type.HasFlag(reference.Type))
Microsoft.CodeAnalysis.Workspaces (10)
Rename\ConflictEngine\ConflictResolver.Session.cs (7)
87Debug.Assert(location.ComplexifiedTargetSpan.Contains(location.ConflictCheckSpan) || location.Type == RelatedLocationType.UnresolvableConflict); 165.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) 231if (relatedLocation.Type == RelatedLocationType.PossiblyResolvableConflict) 282if (conflictResolution.ReplacementTextValid && conflictResolution.RelatedLocations.All(loc => (loc.Type & RelatedLocationType.UnresolvableConflict) == 0)) 461return conflictResolution.RelatedLocations.Any(r => r.Type == RelatedLocationType.PossiblyResolvableConflict);
Rename\ConflictEngine\RelatedLocation.cs (3)
59Type == other.Type && 69hashCode = hashCode * -1521134295 + ((int)Type).GetHashCode();