2 writes to _elementType
Microsoft.CodeAnalysis.VisualBasic (2)
Lowering\IteratorRewriter\IteratorRewriter.vb (2)
37
Me.
_elementType
= method.ContainingAssembly.GetSpecialType(SpecialType.System_Object)
40
Me.
_elementType
= DirectCast(methodReturnType, NamedTypeSymbol).TypeArgumentsNoUseSiteDiagnostics().Single().InternalSubstituteTypeParameters(Me.TypeMap).Type
4 references to _elementType
Microsoft.CodeAnalysis.VisualBasic (4)
Lowering\IteratorRewriter\IteratorRewriter.vb (4)
91
If MyBase.EnsureAllSymbolsAndSignature OrElse Me.Method.IsSub OrElse Me.
_elementType
.IsErrorType Then
142
_currentField = F.StateMachineField(
_elementType
, Me.Method, GeneratedNames.MakeIteratorCurrentFieldName(), Accessibility.Public)
181
Dim getEnumeratorGeneric = Me.OpenMethodImplementation(F.SpecialType(SpecialType.System_Collections_Generic_IEnumerable_T).Construct(
_elementType
),
275
Me.OpenPropertyImplementation(F.SpecialType(SpecialType.System_Collections_Generic_IEnumerator_T).Construct(
_elementType
),