7 references to SingleElement
Microsoft.CodeAnalysis.CSharp (7)
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (2)
565
? SynthesizedReadOnlyListKind.
SingleElement
577
SynthesizedReadOnlyListKind.
SingleElement
=> this.VisitExpression((BoundExpression)elements.Single()),
Symbols\Synthesized\GeneratedNames.cs (1)
481
SynthesizedReadOnlyListKind.
SingleElement
=> WellKnownGeneratedNames.SynthesizedReadOnlyList_SingleElementPrefix,
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeSymbol.cs (4)
279
SynthesizedReadOnlyListKind.
SingleElement
=> typeParameter,
285
_enumeratorType = kind == SynthesizedReadOnlyListKind.
SingleElement
? new SynthesizedReadOnlyListEnumeratorTypeSymbol(this, typeParameter) : null;
289
kind == SynthesizedReadOnlyListKind.
SingleElement
325
new SynthesizedReadOnlyListConstructor(this, fieldType, kind == SynthesizedReadOnlyListKind.
SingleElement
? "item" : "items"));