Skip to content

Commit 9a2c8b9

Browse files
authored
Make AllAllomorphs a VirtualProperty for LT-22277 (#349)
1 parent 6ba44b8 commit 9a2c8b9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/SIL.LCModel/DomainImpl/OverridesLing_Lex.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2912,7 +2912,8 @@ public bool HasMoreThanOneSense
29122912
/// <summary>
29132913
/// Return all allomorphs of the entry: first the lexeme form, then the alternate forms.
29142914
/// </summary>
2915-
public IMoForm[] AllAllomorphs
2915+
[VirtualProperty(CellarPropertyType.ReferenceSequence, "MoForm")]
2916+
public IEnumerable<IMoForm> AllAllomorphs
29162917
{
29172918
get
29182919
{

src/SIL.LCModel/InterfaceAdditions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1331,7 +1331,7 @@ List<IMoMorphType> MorphTypes
13311331
}
13321332

13331333
/// <summary/>
1334-
IMoForm[] AllAllomorphs
1334+
IEnumerable<IMoForm> AllAllomorphs
13351335
{
13361336
get;
13371337
}

0 commit comments

Comments
 (0)