1 instantiation of VisitReleaser
Roslyn.Diagnostics.Analyzers (1)
AbstractDoNotCopyValue.cs (1)
201return new VisitReleaser<T>(set, value);
19 references to VisitReleaser
Roslyn.Diagnostics.Analyzers (19)
AbstractDoNotCopyValue.cs (19)
188private static VisitReleaser<T> TryAddForVisit<T>(HashSet<T> set, T? value, out bool added) 408using var releaser = TryAddForVisit(_handledOperations, value, out _); 511using var _1 = TryAddForVisit(_handledOperations, handledWhenTrue, out _); 512using var _2 = TryAddForVisit(_handledOperations, handledWhenFalse, out _); 700using var releaser = TryAddForVisit(_handledOperations, operation.Operation, out _); 726using var releaser = TryAddForVisit(_handledOperations, operation.Instance, out _); 786using var releaser = TryAddForVisit(_handledOperations, instance, out _); 787using var releaser2 = TryAddForVisit(_handledOperations, instance2, out _); 871using var releaser = TryAddForVisit(_handledOperations, instance, out _); 958using var releaser = TryAddForVisit(_handledOperations, operation.Initializer, out _); 1052using var releaser = TryAddForVisit(_handledOperations, instance, out _); 1114using var releaser = TryAddForVisit(_handledOperations, returnedValue, out _); 1134using var releaser1 = TryAddForVisit(_handledOperations, target, out _); 1135using var releaser2 = TryAddForVisit(_handledOperations, value, out _); 1272using var releaser = TryAddForVisit(_handledOperations, resource, out _); 1293using var releaser1 = TryAddForVisit(_handledOperations, initializer, out _); 1294using var releaser2 = TryAddForVisit(_handledOperations, initializer?.Value, out _); 1319using var releaser1 = TryAddForVisit(_handledOperations, initializer, out _); 1320using var releaser2 = TryAddForVisit(_handledOperations, initializer?.Value, out _);