32 references to GetCTypeFromType
Microsoft.CSharp (32)
Microsoft\CSharp\RuntimeBinder\RuntimeBinder.cs (13)
32context = ((AggregateType)SymbolTable.GetCTypeFromType(contextType)).OwningAggregate; 232CType actualType = SymbolTable.GetCTypeFromType(t); 340CType type = SymbolTable.GetCTypeFromType(parameter.Type); 394ctype = TypeManager.GetParameterModifier(SymbolTable.GetCTypeFromType(type.GetElementType()), true); 398ctype = SymbolTable.GetCTypeFromType(type); 454arg = ExprFactory.CreateConstant(SymbolTable.GetCTypeFromType(argument.Type), default(ConstVal)); 463arg = ExprFactory.CreateConstant(SymbolTable.GetCTypeFromType(argument.Type), ConstVal.Get(argument.Value)); 506arg.RuntimeObjectActualType = SymbolTable.GetCTypeFromType(argument.Value.GetType()); 695callingObject = ExprFactory.CreateClass(SymbolTable.GetCTypeFromType(t)); 707SymbolTable.GetCTypeFromType(arguments[0].Type)); 1111ExprFactory.CreateClass(SymbolTable.GetCTypeFromType(argument.Value as Type)) : 1199CType destinationType = SymbolTable.GetCTypeFromType(returnType); 1234CType destinationType = SymbolTable.GetCTypeFromType(returnType);
Microsoft\CSharp\RuntimeBinder\Semantics\Types\AggregateType.cs (1)
104AggregateType baseClass = SymbolTable.GetCTypeFromType(baseSysType) as AggregateType;
Microsoft\CSharp\RuntimeBinder\Semantics\Types\PredefinedTypes.cs (1)
20AggregateType type = (AggregateType)SymbolTable.GetCTypeFromType(PredefinedTypeFacts.GetAssociatedSystemType(pt));
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (17)
174CType cType = GetCTypeFromType(type); 365ctype = GetCTypeFromType(t); 596return TypeManager.GetNullable(GetCTypeFromType(t.GetGenericArguments()[0])); 676types.Add(GetCTypeFromType(argument)); 702GetCTypeFromType(t.GetElementType()), 711return TypeManager.GetPointer(GetCTypeFromType(t.GetElementType())); 824ctypes[i] = GetCTypeFromType(t); 860agg.SetUnderlyingType((AggregateType)GetCTypeFromType(Enum.GetUnderlyingType(type))); 975agg.SetBaseClass((AggregateType)GetCTypeFromType(t)); 1064field.SetType(GetCTypeFromType(fieldInfo.FieldType)); 1110ev.type = GetCTypeFromType(eventInfo.EventHandlerType); 1229prop.RetType = GetCTypeFromType(property.PropertyType); 1411methodSymbol.RetType = GetCTypeFromType(method.ReturnType); 1641ctype = GetCTypeFromType(t); 1695AggregateSymbol aggregate = ((AggregateType)GetCTypeFromType(baseMethodInfo.DeclaringType)).OwningAggregate; 1709CType t = GetCTypeFromType(baseMemberInfo.DeclaringType); 1766CType t = GetCTypeFromType(type);