1 write to _targetLang
BoundTreeGenerator (1)
BoundNodeClassWriter.cs (1)
40
_targetLang
= targetLang;
57 references to _targetLang
BoundTreeGenerator (57)
BoundNodeClassWriter.cs (57)
53
switch (
_targetLang
)
152
switch (
_targetLang
)
161
throw new ArgumentException("Unexpected target language", nameof(
_targetLang
));
176
if (
_targetLang
== TargetLanguage.CSharp)
184
if (
_targetLang
== TargetLanguage.VB)
206
switch (
_targetLang
)
213
throw new ArgumentException("Unexpected target language", nameof(
_targetLang
));
219
switch (
_targetLang
)
230
throw new ArgumentException("Unexpected target language", nameof(
_targetLang
));
236
switch (
_targetLang
)
246
throw new ArgumentException("Unexpected target language", nameof(
_targetLang
));
252
switch (
_targetLang
)
272
throw new ArgumentException("Unexpected target language", nameof(
_targetLang
));
293
switch (
_targetLang
)
322
throw new ArgumentException("Unexpected target language", nameof(
_targetLang
));
328
switch (
_targetLang
)
340
throw new ArgumentException("Unexpected target language", nameof(
_targetLang
));
373
switch (
_targetLang
)
384
throw new ArgumentException("Unexpected target language", nameof(
_targetLang
));
417
switch (
_targetLang
)
555
throw new ArgumentException("Unexpected target language", nameof(
_targetLang
));
563
switch (
_targetLang
)
655
throw new ArgumentException("Unexpected target language", nameof(
_targetLang
));
671
switch (
_targetLang
)
778
if (
_targetLang
== TargetLanguage.CSharp && (f.Null.ToUpperInvariant() is ("ALLOW" or "ALWAYS")) && !f.Type.EndsWith('?') && !IsValueType(f.Type))
825
switch (
_targetLang
)
865
throw new ArgumentException("Unexpected target language", nameof(
_targetLang
));
871
switch (
_targetLang
)
890
throw new ArgumentException("Unexpected target language", nameof(
_targetLang
));
914
foreach (var field in (
_targetLang
== TargetLanguage.CSharp ? FieldsIncludingOverrides(node) : Fields(node)))
933
switch (
_targetLang
)
944
throw new ArgumentException("Unexpected target language", nameof(
_targetLang
));
1059
switch (
_targetLang
)
1165
throw new ArgumentException("Unexpected target language", nameof(
_targetLang
));
1171
switch (
_targetLang
)
1223
throw new ArgumentException("Unexpected target language", nameof(
_targetLang
));
1229
switch (
_targetLang
)
1351
throw new ArgumentException("Unexpected target language", nameof(
_targetLang
));
1357
switch (
_targetLang
)
1447
throw new ArgumentException("Unexpected target language", nameof(
_targetLang
));
1453
switch (
_targetLang
)
1637
throw new ArgumentException("Unexpected target language", nameof(
_targetLang
));
1653
string immutableArrayPrefix =
_targetLang
switch
1657
_ => throw new InvalidOperationException($"Unknown target language {
_targetLang
}")
1672
switch (
_targetLang
)
1681
throw new ArgumentException("Unexpected target language", nameof(
_targetLang
));
1692
switch (
_targetLang
)
1713
throw new ArgumentException("Unexpected target language", nameof(
_targetLang
));
1719
switch (
_targetLang
)
1748
throw new ArgumentException("Unexpected target language", nameof(
_targetLang
));
1816
switch (
_targetLang
)
1825
throw new ArgumentException("Unexpected target language", nameof(
_targetLang
));
1834
switch (
_targetLang
)
1843
throw new ArgumentException("Unexpected target language", nameof(
_targetLang
));
1849
switch (
_targetLang
)
1858
throw new ArgumentException("Unexpected target language", nameof(
_targetLang
));
1864
switch (
_targetLang
)