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)); 924foreach (var field in (_targetLang == TargetLanguage.CSharp ? FieldsIncludingOverrides(node) : Fields(node))) 943switch (_targetLang) 954throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1072switch (_targetLang) 1178throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1184switch (_targetLang) 1236throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1242switch (_targetLang) 1364throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1370switch (_targetLang) 1491throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1497switch (_targetLang) 1681throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1697string immutableArrayPrefix = _targetLang switch 1701_ => throw new InvalidOperationException($"Unknown target language {_targetLang}") 1716switch (_targetLang) 1725throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1736switch (_targetLang) 1757throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1763switch (_targetLang) 1792throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1860switch (_targetLang) 1869throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1878switch (_targetLang) 1887throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1893switch (_targetLang) 1902throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1908switch (_targetLang)