1 write to ElementType
Microsoft.CodeAnalysis (1)
Operations\Loops\ForEachLoopOperationInfo.cs (1)
63ElementType = elementType;
38 references to ElementType
Microsoft.CodeAnalysis (3)
Operations\ControlFlowGraphBuilder.cs (1)
4517AddStatement(getLoopControlVariableAssignment(applyConversion(info?.CurrentConversion, getCurrent(OperationCloner.CloneOperation(enumerator)), info?.ElementType)));
Operations\Loops\ForEachLoopOperationInfo.cs (2)
29/// The conversion from the type of the <see cref="CurrentProperty"/> to the <see cref="ElementType"/>. 34/// The conversion from the <see cref="ElementType"/> to the iteration variable type.
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (35)
RefStructInterfacesTests.cs (35)
7587AssertEx.Equal("System.Int32", op.Info.ElementType.ToTestDisplayString()); 7777AssertEx.Equal("System.Int32", op.Info.ElementType.ToTestDisplayString()); 7997AssertEx.Equal("System.Int32", op.Info.ElementType.ToTestDisplayString()); 8187AssertEx.Equal("System.Int32", op.Info.ElementType.ToTestDisplayString()); 8380AssertEx.Equal("System.Int32", op.Info.ElementType.ToTestDisplayString()); 8659AssertEx.Equal("System.Int32", op.Info.ElementType.ToTestDisplayString()); 9030AssertEx.Equal("System.Int32", op.Info.ElementType.ToTestDisplayString()); 9234AssertEx.Equal("System.Int32", op.Info.ElementType.ToTestDisplayString()); 9598AssertEx.Equal("System.Int32", op.Info.ElementType.ToTestDisplayString()); 9822AssertEx.Equal("System.Int32", op.Info.ElementType.ToTestDisplayString()); 10031AssertEx.Equal("System.Int32", op.Info.ElementType.ToTestDisplayString()); 10258AssertEx.Equal("System.Int32", op.Info.ElementType.ToTestDisplayString()); 10641AssertEx.Equal("System.Int32", op.Info.ElementType.ToTestDisplayString()); 10838AssertEx.Equal("System.Int32", op.Info.ElementType.ToTestDisplayString()); 11079AssertEx.Equal("System.Int32", op.Info.ElementType.ToTestDisplayString()); 11306AssertEx.Equal("System.Int32", op.Info.ElementType.ToTestDisplayString()); 11518AssertEx.Equal("System.Int32", op.Info.ElementType.ToTestDisplayString()); 11618AssertEx.Equal("System.Int32", op.Info.ElementType.ToTestDisplayString()); 11713AssertEx.Equal("System.Int32", op.Info.ElementType.ToTestDisplayString()); 14270AssertEx.Equal("System.Int32", op.Info.ElementType.ToTestDisplayString()); 14611AssertEx.Equal("System.Int32", op.Info.ElementType.ToTestDisplayString()); 14978AssertEx.Equal("System.Int32", op.Info.ElementType.ToTestDisplayString()); 15321AssertEx.Equal("System.Int32", op.Info.ElementType.ToTestDisplayString()); 15669AssertEx.Equal("System.Int32", op.Info.ElementType.ToTestDisplayString()); 16107AssertEx.Equal("System.Int32", op.Info.ElementType.ToTestDisplayString()); 17774AssertEx.Equal("System.Object", op.Info.ElementType.ToTestDisplayString()); 17971AssertEx.Equal("System.Object", op.Info.ElementType.ToTestDisplayString()); 18195AssertEx.Equal("System.Object", op.Info.ElementType.ToTestDisplayString()); 18391AssertEx.Equal("System.Object", op.Info.ElementType.ToTestDisplayString()); 18592AssertEx.Equal("System.Object", op.Info.ElementType.ToTestDisplayString()); 18876AssertEx.Equal("System.Object", op.Info.ElementType.ToTestDisplayString()); 19211AssertEx.Equal("System.Object", op.Info.ElementType.ToTestDisplayString()); 19382AssertEx.Equal("System.Object", op.Info.ElementType.ToTestDisplayString()); 19707AssertEx.Equal("System.Object", op.Info.ElementType.ToTestDisplayString()); 19875AssertEx.Equal("System.Object", op.Info.ElementType.ToTestDisplayString());