35 references to MakeReadOnly
System.Data.Entity (35)
System\Data\Common\Utils\Boolean\BoolExpr.cs (1)
338
_children.
MakeReadOnly
();
System\Data\Common\Utils\Boolean\ConversionContext.cs (1)
184
var constraint = new DomainConstraint<T_Variable, T_Element>(domainVariable, range.
MakeReadOnly
());
System\Data\Common\Utils\Boolean\Converter.cs (4)
106
_dnf = new DnfSentence<T_Identifier>(emptyClauseSet.
MakeReadOnly
());
114
_cnf = new CnfSentence<T_Identifier>(emptyClauseSet.
MakeReadOnly
());
127
_cnf = new CnfSentence<T_Identifier>(cnfClauses.
MakeReadOnly
());
128
_dnf = new DnfSentence<T_Identifier>(dnfClauses.
MakeReadOnly
());
System\Data\Common\Utils\Boolean\DomainConstraint.cs (1)
109
: this(variable, new Set<T_Element>(new T_Element[] { element }).
MakeReadOnly
())
System\Data\Common\Utils\Set.cs (1)
33
internal static readonly Set<TElement> Empty = new Set<TElement>().
MakeReadOnly
();
System\Data\EntityClient\EntityCommandDefinition.cs (1)
124
_entitySets.
MakeReadOnly
();
System\Data\Mapping\FunctionImportMapping.cs (1)
324
this.DiscriminatorColumns[i], discriminatorDomains[i].
MakeReadOnly
());
System\Data\Mapping\StorageMappingItemLoader.cs (2)
468
entitySetMapping.ImplicitlyMappedAssociationSetEnds).
MakeReadOnly
();
506
actualEnds.
MakeReadOnly
();
System\Data\Mapping\Update\Internal\AssociationSetMetadata.cs (1)
139
set.
MakeReadOnly
();
System\Data\Mapping\Update\Internal\ExtractorMetadata.cs (3)
58
keyMembers = new Set<EdmMember>(((RowType)type).Properties).
MakeReadOnly
();
63
keyMembers = new Set<EdmMember>(entityType.KeyMembers).
MakeReadOnly
();
65
.SelectMany(fk => fk.Item2.ToProperties)).
MakeReadOnly
();
System\Data\Mapping\Update\Internal\ViewLoader.cs (1)
223
m_affectedTables.Add(entitySetBase, affectedTables.
MakeReadOnly
());
System\Data\Mapping\ViewGeneration\Structures\BoolLiteral.cs (4)
53
domain.
MakeReadOnly
();
54
range.
MakeReadOnly
();
184
Set<Constant> variableDomain = new Set<Constant>(possibleValues, Constant.EqualityComparer).
MakeReadOnly
();
185
Set<Constant> thisDomain = new Set<Constant>(actualValues, Constant.EqualityComparer).
MakeReadOnly
();
System\Data\Mapping\ViewGeneration\Validation\ForeignConstraint.cs (1)
557
Set<EdmProperty> keyMembers = new Set<EdmProperty>(propertyList).
MakeReadOnly
();
System\Data\Mapping\ViewGeneration\Validation\KeyConstraint.cs (1)
29
m_keySlots = new Set<TSlot>(keySlots, comparer).
MakeReadOnly
();
System\Data\Query\PlanCompiler\StructuredTypeInfo.cs (1)
244
return new Common.Utils.Set<md.EntitySet>(m_entitySetIdToEntitySetMap).
MakeReadOnly
();
System\Data\SqlClient\SqlGen\SqlFunctionCallHandler.cs (6)
64
StringComparer.OrdinalIgnoreCase).
MakeReadOnly
();
66
StringComparer.Ordinal).
MakeReadOnly
();
73
StringComparer.Ordinal).
MakeReadOnly
();
75
StringComparer.Ordinal).
MakeReadOnly
();
80
StringComparer.Ordinal).
MakeReadOnly
();
88
StringComparer.Ordinal).
MakeReadOnly
();
System\Data\SqlClient\SqlGen\SqlGenerator.cs (5)
310
StringComparer.Ordinal).
MakeReadOnly
();
313
StringComparer.Ordinal).
MakeReadOnly
();
316
StringComparer.Ordinal).
MakeReadOnly
();
326
StringComparer.Ordinal).
MakeReadOnly
();
329
StringComparer.Ordinal).
MakeReadOnly
();