2 writes to _tagOrTags
Microsoft.Extensions.Caching.Hybrid (2)
Internal\TagSet.cs (2)
30_tagOrTags = tag; 42_tagOrTags = tags;
10 references to _tagOrTags
Microsoft.Extensions.Caching.Hybrid (10)
Internal\TagSet.cs (10)
45public string GetSinglePrechecked() => (string)_tagOrTags!; // we expect this to fail if used on incorrect types 46public Span<string> GetSpanPrechecked() => (string[])_tagOrTags!; // we expect this to fail if used on incorrect types 56public override string ToString() => _tagOrTags switch 63public bool IsEmpty => _tagOrTags is null; 65public int Count => _tagOrTags switch 73internal bool IsArray => _tagOrTags is string[]; 76public string this[int index] => _tagOrTags switch 85switch (_tagOrTags) 179switch (_tagOrTags) 203switch (_tagOrTags)