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()); 14668AssertEx.Equal("System.Int32", op.Info.ElementType.ToTestDisplayString()); 15009AssertEx.Equal("System.Int32", op.Info.ElementType.ToTestDisplayString()); 15376AssertEx.Equal("System.Int32", op.Info.ElementType.ToTestDisplayString()); 15719AssertEx.Equal("System.Int32", op.Info.ElementType.ToTestDisplayString()); 16067AssertEx.Equal("System.Int32", op.Info.ElementType.ToTestDisplayString()); 16505AssertEx.Equal("System.Int32", op.Info.ElementType.ToTestDisplayString()); 18172AssertEx.Equal("System.Object", op.Info.ElementType.ToTestDisplayString()); 18369AssertEx.Equal("System.Object", op.Info.ElementType.ToTestDisplayString()); 18593AssertEx.Equal("System.Object", op.Info.ElementType.ToTestDisplayString()); 18789AssertEx.Equal("System.Object", op.Info.ElementType.ToTestDisplayString()); 18990AssertEx.Equal("System.Object", op.Info.ElementType.ToTestDisplayString()); 19274AssertEx.Equal("System.Object", op.Info.ElementType.ToTestDisplayString()); 19609AssertEx.Equal("System.Object", op.Info.ElementType.ToTestDisplayString()); 19780AssertEx.Equal("System.Object", op.Info.ElementType.ToTestDisplayString()); 20105AssertEx.Equal("System.Object", op.Info.ElementType.ToTestDisplayString()); 20273AssertEx.Equal("System.Object", op.Info.ElementType.ToTestDisplayString());