12 writes to _typeUsage
System.Data.Entity (12)
System\Data\EntityModel\SchemaObjectModel\CollectionTypeElement.cs (3)
181
_typeUsage
= TypeUsage.Create(collectionType);
199
_typeUsage
= TypeUsage.Create(new CollectionType(_typeUsageBuilder.TypeUsage));
208
_typeUsage
= TypeUsage.Create(new CollectionType(_typeUsageBuilder.TypeUsage));
System\Data\EntityModel\SchemaObjectModel\ReferenceTypeElement.cs (1)
87
_typeUsage
= TypeUsage.Create(refType);
System\Data\EntityModel\SchemaObjectModel\RowTypeElement.cs (1)
117
_typeUsage
= TypeUsage.Create(rowType);
System\Data\EntityModel\SchemaObjectModel\RowTypePropertyElement.cs (5)
188
_typeUsage
= _typeSubElement.GetTypeUsage();
206
_typeUsage
= _typeUsageBuilder.TypeUsage;
217
_typeUsage
= TypeUsage.Create(new RefType(entityType));
222
_typeUsage
= _typeUsageBuilder.TypeUsage;
228
_typeUsage
= TypeUsage.Create(new CollectionType(_typeUsage));
System\Data\EntityModel\SchemaObjectModel\TypeRefElement.cs (2)
69
_typeUsage
= _typeUsageBuilder.TypeUsage;
78
_typeUsage
= _typeUsageBuilder.TypeUsage;
21 references to _typeUsage
System.Data.Entity (21)
System\Data\EntityModel\SchemaObjectModel\CollectionTypeElement.cs (5)
170
if (
_typeUsage
!= null)
172
return
_typeUsage
;
183
return
_typeUsage
;
188
if (
_typeUsage
== null)
211
return
_typeUsage
!= null;
System\Data\EntityModel\SchemaObjectModel\ReferenceTypeElement.cs (2)
71
return
_typeUsage
;
76
if (
_typeUsage
== null)
System\Data\EntityModel\SchemaObjectModel\ReturnType.cs (2)
78
else if (
_typeUsage
!= null)
80
return
_typeUsage
;
System\Data\EntityModel\SchemaObjectModel\RowTypeElement.cs (3)
94
if (
_typeUsage
== null)
119
return
_typeUsage
;
125
if (
_typeUsage
== null)
System\Data\EntityModel\SchemaObjectModel\RowTypePropertyElement.cs (6)
180
if (
_typeUsage
!= null)
182
return
_typeUsage
;
190
return
_typeUsage
;
195
if (
_typeUsage
== null)
228
_typeUsage = TypeUsage.Create(new CollectionType(
_typeUsage
));
231
return
_typeUsage
!= null;
System\Data\EntityModel\SchemaObjectModel\TypeRefElement.cs (3)
81
return
_typeUsage
!= null;
93
Debug.Assert(
_typeUsage
!= null);
94
return
_typeUsage
;