34 references to IsReadOnly
System.Data.Entity (34)
System\Data\Common\CommandTrees\AbstractExpressions.cs (1)
345Debug.Assert(type.IsReadOnly, "Editable type metadata specified for DbExpression.Type");
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (5)
273Debug.Assert(elementType.IsReadOnly, "DbExpressionBinding Expression ResultType has editable element type"); 309Debug.Assert((elementType.IsReadOnly), "DbGroupExpressionBinding Expression ResultType has editable element type"); 1764if (!(item.IsReadOnly)) 1773if (!(item.IsReadOnly)) 1782if (!(item.IsReadOnly))
System\Data\Common\EntitySql\SemanticResolver.cs (2)
188Debug.Assert(paramDef.ResultType.IsReadOnly, "paramDef.ResultType.IsReadOnly must be set"); 215Debug.Assert(varDef.ResultType.IsReadOnly, "varDef.ResultType.IsReadOnly must be set");
System\Data\Metadata\Edm\AssociationSet.cs (1)
75if (!this.IsReadOnly)
System\Data\Metadata\Edm\AssociationSetEnd.cs (1)
144if (!IsReadOnly)
System\Data\Metadata\Edm\AssociationType.cs (2)
62Debug.Assert(IsReadOnly, "this is a wrapper around this.Members, don't call it during metadata loading, only call it after the metadata is set to read-only"); 119if (!IsReadOnly)
System\Data\Metadata\Edm\ComplexType.cs (1)
66Debug.Assert(IsReadOnly, "this is a wrapper around this.Members, don't call it during metadata loading, only call it after the metadata is set to readonly");
System\Data\Metadata\Edm\EdmFunction.cs (1)
314if (!IsReadOnly)
System\Data\Metadata\Edm\EdmMember.cs (1)
103if (!IsReadOnly)
System\Data\Metadata\Edm\EdmType.cs (1)
336if (!IsReadOnly)
System\Data\Metadata\Edm\EntityContainer.cs (1)
108if (!IsReadOnly)
System\Data\Metadata\Edm\EntitySetBase.cs (1)
201if (!this.IsReadOnly)
System\Data\Metadata\Edm\EntityType.cs (1)
157Debug.Assert(IsReadOnly, "this is a wrapper around this.Members, don't call it during metadata loading, only call it after the metadata is set to readonly");
System\Data\Metadata\Edm\EntityTypeBase.cs (1)
116if (!IsReadOnly)
System\Data\Metadata\Edm\EnumType.cs (1)
154if (!IsReadOnly)
System\Data\Metadata\Edm\FunctionParameter.cs (1)
134if (!IsReadOnly)
System\Data\Metadata\Edm\ItemCollection.cs (1)
89Debug.Assert(item.IsReadOnly, "The item is not readonly, it should be by the time it is added to the item collection");
System\Data\Metadata\Edm\MetadataItem.cs (3)
94if (IsReadOnly) 168if (!IsReadOnly) 270if (IsReadOnly && ((flag & MetadataFlags.Readonly) == MetadataFlags.Readonly))
System\Data\Metadata\Edm\MetadataProperty.cs (1)
145if (!IsReadOnly)
System\Data\Metadata\Edm\ReferentialConstraint.cs (1)
136if (!IsReadOnly)
System\Data\Metadata\Edm\RelationshipType.cs (1)
49Debug.Assert(IsReadOnly, "this is a wrapper around this.Members, don't call it during metadata loading, only call it after the metadata is set to readonly");
System\Data\Metadata\Edm\RowType.cs (1)
90Debug.Assert(IsReadOnly, "this is a wrapper around this.Members, don't call it during metadata loading, only call it after the metadata is set to readonly");
System\Data\Metadata\Edm\StructuralType.cs (1)
84if (!IsReadOnly)
System\Data\Metadata\Edm\util.cs (1)
32if (item.IsReadOnly)
System\Data\Metadata\EdmValidator.cs (1)
153if ( (item.IsReadOnly && SkipReadOnlyItems) || validatedItems.Contains(item) )
System\Data\Metadata\TypeHelpers.cs (1)
654if (!(type.IsReadOnly))