2 writes to _lazyIteratorElementType
Microsoft.CodeAnalysis.CSharp (2)
Symbols\Source\LocalFunctionOrSourceMemberMethodSymbol.cs (2)
19_lazyIteratorElementType = TypeWithAnnotations.Boxed.Sentinel; 36Interlocked.CompareExchange(ref _lazyIteratorElementType, new TypeWithAnnotations.Boxed(elementType), TypeWithAnnotations.Boxed.Sentinel);
4 references to _lazyIteratorElementType
Microsoft.CodeAnalysis.CSharp (4)
Symbols\Source\LocalFunctionOrSourceMemberMethodSymbol.cs (4)
27if (_lazyIteratorElementType == TypeWithAnnotations.Boxed.Sentinel) 38Debug.Assert(TypeSymbol.Equals(_lazyIteratorElementType.Value.Type, elementType.Type, TypeCompareKind.ConsiderEverything)); 41return _lazyIteratorElementType?.Value ?? default; 45internal sealed override bool IsIterator => _lazyIteratorElementType is object;