1 write to _isFrozen
Microsoft.AspNetCore.StaticAssets (1)
StaticAssetDescriptor.cs (1)
78_isFrozen = true;
5 references to _isFrozen
Microsoft.AspNetCore.StaticAssets (5)
StaticAssetDescriptor.cs (5)
28set => _route = !_isFrozen ? value : throw new InvalidOperationException("StaticAssetDescriptor is frozen and doesn't accept further changes"); 38set => _assetFile = !_isFrozen ? value : throw new InvalidOperationException("StaticAssetDescriptor is frozen and doesn't accept further changes"); 48set => _selectors = !_isFrozen ? value : throw new InvalidOperationException("StaticAssetDescriptor is frozen and doesn't accept further changes"); 58set => _endpointProperties = !_isFrozen ? value : throw new InvalidOperationException("StaticAssetDescriptor is frozen and doesn't accept further changes"); 68set => _responseHeaders = !_isFrozen ? value : throw new InvalidOperationException("StaticAssetDescriptor is frozen and doesn't accept further changes");