2 overrides of IteratorElementTypeWithAnnotations
Microsoft.CodeAnalysis.CSharp (2)
Symbols\Extensions\RewrittenMethodSymbol.cs (1)
47internal override TypeWithAnnotations IteratorElementTypeWithAnnotations
Symbols\Source\LocalFunctionOrSourceMemberMethodSymbol.cs (1)
23internal sealed override TypeWithAnnotations IteratorElementTypeWithAnnotations
10 references to IteratorElementTypeWithAnnotations
Microsoft.CodeAnalysis.CSharp (5)
Binder\InMethodBinder.cs (1)
143return _methodSymbol.IteratorElementTypeWithAnnotations;
Lowering\AsyncRewriter\AsyncRewriter.AsyncIteratorRewriter.cs (1)
45Debug.Assert(!TypeSymbol.Equals(method.IteratorElementTypeWithAnnotations.Type, null, TypeCompareKind.ConsiderEverything2));
Lowering\AsyncRewriter\AsyncStateMachine.cs (1)
35var elementType = TypeMap.SubstituteType(asyncMethod.IteratorElementTypeWithAnnotations).Type;
Lowering\IteratorRewriter\IteratorRewriter.cs (1)
59TypeWithAnnotations elementType = method.IteratorElementTypeWithAnnotations;
Symbols\Extensions\RewrittenMethodSymbol.cs (1)
51TypeWithAnnotations iteratorElementTypeWithAnnotations = _originalMethod.IteratorElementTypeWithAnnotations;
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (5)
Semantics\IteratorTests.cs (3)
43Assert.Equal("System.Int32", i.IteratorElementTypeWithAnnotations.ToTestDisplayString()); 49Assert.Equal("System.Int32", i.IteratorElementTypeWithAnnotations.ToTestDisplayString()); 92Assert.Equal("System.Int32", i.IteratorElementTypeWithAnnotations.ToTestDisplayString());
Semantics\LocalFunctionTests.cs (2)
2378Assert.Equal("System.Int32", local.IteratorElementTypeWithAnnotations.ToTestDisplayString()); 2384Assert.Equal("System.Int32", local.IteratorElementTypeWithAnnotations.ToTestDisplayString());