3 writes to LocationHash
Microsoft.AspNetCore.Components.Server (2)
CircuitPersistenceManagerSerializerContext.ComponentMarkerKey.g.cs (1)
61Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.ComponentMarkerKey>(obj).LocationHash = value!,
src\Shared\Components\ComponentMarker.cs (1)
120=> (LocationHash, FormattedComponentKey) = (locationHash, formattedComponentKey);
Microsoft.AspNetCore.Components.Server.Tests (1)
Circuits\RemoteRendererTest.cs (1)
677LocationHash = ssrComponentId.ToString(CultureInfo.CurrentCulture),
11 references to LocationHash
Microsoft.AspNetCore.Components.Server (9)
CircuitPersistenceManagerSerializerContext.ComponentMarkerKey.g.cs (2)
60Getter = static obj => ((global::Microsoft.AspNetCore.Components.ComponentMarkerKey)obj).LocationHash, 104writer.WriteString(PropName_LocationHash, ((global::Microsoft.AspNetCore.Components.ComponentMarkerKey)value).LocationHash);
src\Components\Shared\src\WebRootComponentManager.cs (2)
187if (!string.Equals(_key.LocationHash, newKey.Value.LocationHash, StringComparison.Ordinal) ||
src\Shared\Components\ComponentMarker.cs (5)
142=> string.Equals(LocationHash, other.LocationHash, StringComparison.Ordinal) 149=> HashCode.Combine(LocationHash, FormattedComponentKey); 151private readonly string GetDebuggerDisplay() => $"LocationHash: {LocationHash}, Key: {FormattedComponentKey ?? "null"}"; 157: $"{LocationHash}:{FormattedComponentKey}";
Microsoft.AspNetCore.Components.Server.Tests (2)
Circuits\CircuitPersistenceManagerTest.cs (2)
380Assert.Equal(key.LocationHash, marker.Key.Value.LocationHash);