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