2 overrides of IteratorElementTypeWithAnnotations
Microsoft.CodeAnalysis.CSharp (2)
Symbols\Extensions\RewrittenMethodSymbol.cs (1)
47
internal override TypeWithAnnotations
IteratorElementTypeWithAnnotations
Symbols\Source\LocalFunctionOrSourceMemberMethodSymbol.cs (1)
23
internal sealed override TypeWithAnnotations
IteratorElementTypeWithAnnotations
10 references to IteratorElementTypeWithAnnotations
Microsoft.CodeAnalysis.CSharp (5)
Binder\InMethodBinder.cs (1)
143
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
;
Symbols\Extensions\RewrittenMethodSymbol.cs (1)
51
TypeWithAnnotations iteratorElementTypeWithAnnotations = _originalMethod.
IteratorElementTypeWithAnnotations
;
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (5)
Semantics\IteratorTests.cs (3)
43
Assert.Equal("System.Int32", i.
IteratorElementTypeWithAnnotations
.ToTestDisplayString());
49
Assert.Equal("System.Int32", i.
IteratorElementTypeWithAnnotations
.ToTestDisplayString());
92
Assert.Equal("System.Int32", i.
IteratorElementTypeWithAnnotations
.ToTestDisplayString());
Semantics\LocalFunctionTests.cs (2)
2378
Assert.Equal("System.Int32", local.
IteratorElementTypeWithAnnotations
.ToTestDisplayString());
2384
Assert.Equal("System.Int32", local.
IteratorElementTypeWithAnnotations
.ToTestDisplayString());