1 write to _targetLang
BoundTreeGenerator (1)
BoundNodeClassWriter.cs (1)
40_targetLang = targetLang;
57 references to _targetLang
BoundTreeGenerator (57)
BoundNodeClassWriter.cs (57)
53switch (_targetLang) 152switch (_targetLang) 161throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 176if (_targetLang == TargetLanguage.CSharp) 184if (_targetLang == TargetLanguage.VB) 206switch (_targetLang) 213throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 219switch (_targetLang) 230throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 236switch (_targetLang) 246throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 252switch (_targetLang) 272throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 293switch (_targetLang) 322throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 328switch (_targetLang) 340throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 373switch (_targetLang) 384throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 417switch (_targetLang) 555throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 563switch (_targetLang) 655throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 671switch (_targetLang) 788if (_targetLang == TargetLanguage.CSharp && (f.Null.ToUpperInvariant() is ("ALLOW" or "ALWAYS")) && !f.Type.EndsWith('?') && !IsValueType(f.Type)) 835switch (_targetLang) 875throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 881switch (_targetLang) 900throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 922foreach (var field in (_targetLang == TargetLanguage.CSharp ? FieldsIncludingOverrides(node) : Fields(node))) 941switch (_targetLang) 952throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1070switch (_targetLang) 1176throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1182switch (_targetLang) 1234throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1240switch (_targetLang) 1362throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1368switch (_targetLang) 1489throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1495switch (_targetLang) 1679throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1695string immutableArrayPrefix = _targetLang switch 1699_ => throw new InvalidOperationException($"Unknown target language {_targetLang}") 1714switch (_targetLang) 1723throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1734switch (_targetLang) 1755throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1761switch (_targetLang) 1790throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1858switch (_targetLang) 1867throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1876switch (_targetLang) 1885throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1891switch (_targetLang) 1900throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1906switch (_targetLang)