1 override of IteratorElementTypeWithAnnotations
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Source\LocalFunctionOrSourceMemberMethodSymbol.cs (1)
23
internal sealed override TypeWithAnnotations
IteratorElementTypeWithAnnotations
8 references to IteratorElementTypeWithAnnotations
Microsoft.CodeAnalysis.CSharp (4)
Binder\InMethodBinder.cs (1)
142
return _methodSymbol.
IteratorElementTypeWithAnnotations
;
Lowering\AsyncRewriter\AsyncRewriter.AsyncIteratorRewriter.cs (1)
45
Debug.Assert(!TypeSymbol.Equals(method.
IteratorElementTypeWithAnnotations
.Type, null, TypeCompareKind.ConsiderEverything2));
Lowering\AsyncRewriter\AsyncStateMachine.cs (1)
35
var elementType = TypeMap.SubstituteType(asyncMethod.
IteratorElementTypeWithAnnotations
).Type;
Lowering\IteratorRewriter\IteratorRewriter.cs (1)
59
TypeWithAnnotations elementType = method.
IteratorElementTypeWithAnnotations
;
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\IteratorTests.cs (2)
39
Assert.Equal("System.Int32", i.
IteratorElementTypeWithAnnotations
.ToTestDisplayString());
44
Assert.Equal("System.Int32", i.
IteratorElementTypeWithAnnotations
.ToTestDisplayString());
Semantics\LocalFunctionTests.cs (2)
2377
Assert.Equal("System.Int32", local.
IteratorElementTypeWithAnnotations
.ToTestDisplayString());
2382
Assert.Equal("System.Int32", local.
IteratorElementTypeWithAnnotations
.ToTestDisplayString());