- Timestamp:
- 09/16/19 16:12:21 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Data/3.3/ValueTypeMatrix.cs
r17251 r17253 190 190 191 191 public virtual ValueTypeMatrix<T> AsReadOnly() { 192 if ( readOnly) return this;193 var readOnlyValueTypeMatrix= (ValueTypeMatrix<T>)this.Clone();194 readOnlyValueTypeMatrix.readOnly = true;195 return readOnlyValueTypeMatrix;192 if (ReadOnly) return this; 193 var clone = (ValueTypeMatrix<T>)this.Clone(); 194 clone.readOnly = true; 195 return clone; 196 196 } 197 197
Note: See TracChangeset
for help on using the changeset viewer.