66 references to TargetLanguage
BoundTreeGenerator (66)
BoundNodeClassWriter.cs (63)
34
private readonly
TargetLanguage
_targetLang;
36
private BoundNodeClassWriter(TextWriter writer, Tree tree,
TargetLanguage
targetLang)
55
case
TargetLanguage
.CSharp:
69
case
TargetLanguage
.VB:
97
public static void Write(TextWriter writer, Tree tree,
TargetLanguage
targetLang)
154
case
TargetLanguage
.CSharp:
158
case
TargetLanguage
.VB:
176
if (_targetLang ==
TargetLanguage
.CSharp)
184
if (_targetLang ==
TargetLanguage
.VB)
208
case
TargetLanguage
.CSharp:
210
case
TargetLanguage
.VB:
221
case
TargetLanguage
.CSharp:
225
case
TargetLanguage
.VB:
238
case
TargetLanguage
.CSharp:
241
case
TargetLanguage
.VB:
254
case
TargetLanguage
.CSharp:
262
case
TargetLanguage
.VB:
295
case
TargetLanguage
.CSharp:
307
case
TargetLanguage
.VB:
330
case
TargetLanguage
.CSharp:
334
case
TargetLanguage
.VB:
375
case
TargetLanguage
.CSharp:
379
case
TargetLanguage
.VB:
419
case
TargetLanguage
.CSharp:
488
case
TargetLanguage
.VB:
565
case
TargetLanguage
.CSharp:
608
case
TargetLanguage
.VB:
673
case
TargetLanguage
.CSharp:
680
case
TargetLanguage
.VB:
778
if (_targetLang ==
TargetLanguage
.CSharp && (f.Null.ToUpperInvariant() is ("ALLOW" or "ALWAYS")) && !f.Type.EndsWith('?') && !IsValueType(f.Type))
827
case
TargetLanguage
.CSharp:
850
case
TargetLanguage
.VB:
873
case
TargetLanguage
.CSharp:
879
case
TargetLanguage
.VB:
914
foreach (var field in (_targetLang ==
TargetLanguage
.CSharp ? FieldsIncludingOverrides(node) : Fields(node)))
935
case
TargetLanguage
.CSharp:
939
case
TargetLanguage
.VB:
1061
case
TargetLanguage
.CSharp:
1105
case
TargetLanguage
.VB:
1173
case
TargetLanguage
.CSharp:
1198
case
TargetLanguage
.VB:
1231
case
TargetLanguage
.CSharp:
1294
case
TargetLanguage
.VB:
1359
case
TargetLanguage
.CSharp:
1401
case
TargetLanguage
.VB:
1455
case
TargetLanguage
.VB:
1458
case
TargetLanguage
.CSharp:
1655
TargetLanguage
.CSharp => "ImmutableArray<",
1656
TargetLanguage
.VB => "ImmutableArray(Of ",
1674
case
TargetLanguage
.CSharp:
1677
case
TargetLanguage
.VB:
1694
case
TargetLanguage
.CSharp:
1702
case
TargetLanguage
.VB:
1721
case
TargetLanguage
.CSharp:
1733
case
TargetLanguage
.VB:
1818
case
TargetLanguage
.CSharp:
1821
case
TargetLanguage
.VB:
1836
case
TargetLanguage
.CSharp:
1839
case
TargetLanguage
.VB:
1851
case
TargetLanguage
.CSharp:
1854
case
TargetLanguage
.VB:
1866
case
TargetLanguage
.CSharp:
1881
case
TargetLanguage
.VB:
Program.cs (3)
23
TargetLanguage
targetLanguage;
38
targetLanguage =
TargetLanguage
.VB;
42
targetLanguage =
TargetLanguage
.CSharp;