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