23 references to ForType
System.Data.Services.Design (23)
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (13)
201TypeReference.ForType(typeof(Func<,>), TypeReference.ForType(typeof(Type)), TypeReference.ForType(typeof(String))), 215TypeReference.ForType(typeof(Func<,>), TypeReference.ForType(typeof(String)), TypeReference.ForType(typeof(Type))), 251new CodeTypeReferenceExpression(TypeReference.ForType(typeof(StringComparison))), 259resolveTypeFromName.Parameters.Add(new CodeParameterDeclarationExpression(TypeReference.ForType(typeof(string)), "typeName")); 260resolveTypeFromName.ReturnType = TypeReference.ForType(typeof(Type)); 295new CodeTypeReferenceExpression(TypeReference.ForType(typeof(string))), 321resolveNameFromType.Parameters.Add(new CodeParameterDeclarationExpression(TypeReference.ForType(typeof(Type)), "clientType")); 322resolveNameFromType.ReturnType = TypeReference.ForType(typeof(String)); 348new CodeTypeReferenceExpression(TypeReference.ForType(typeof(string))), 418TypeReference.ForType(typeof(string)), 437new CodeTypeReferenceExpression(TypeReference.ForType(typeof(string))),
System\Data\EntityModel\Emitters\PropertyEmitter.cs (5)
133CodeMemberField complexInitField = new CodeMemberField(TypeReference.ForType(typeof(bool)), ComplexPropertyInitializedFieldName); 466return new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(TypeReference.ForType(type)), Enum.GetName(type, value)); 733_nonNullable = typeReference.ForType(type); 740_nullable = typeReference.ForType(type); 745CodeTypeReference primitiveTypeRef = typeReference.ForType(type);
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (1)
214TypeReference.ForType(typeof(ArgumentNullException)),
System\Data\EntityModel\Emitters\TypeReference.cs (4)
193typeRef.TypeArguments.Add(ForType(innerType)); 209_byteArray = ForType(typeof(byte[])); 223_dateTime = ForType(typeof(System.DateTime)); 236_guid = ForType(typeof(System.Guid));