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) 778if (_targetLang == TargetLanguage.CSharp && (f.Null.ToUpperInvariant() is ("ALLOW" or "ALWAYS")) && !f.Type.EndsWith('?') && !IsValueType(f.Type)) 825switch (_targetLang) 865throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 871switch (_targetLang) 890throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 914foreach (var field in (_targetLang == TargetLanguage.CSharp ? FieldsIncludingOverrides(node) : Fields(node))) 933switch (_targetLang) 944throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1059switch (_targetLang) 1165throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1171switch (_targetLang) 1223throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1229switch (_targetLang) 1351throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1357switch (_targetLang) 1447throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1453switch (_targetLang) 1637throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1653string immutableArrayPrefix = _targetLang switch 1657_ => throw new InvalidOperationException($"Unknown target language {_targetLang}") 1672switch (_targetLang) 1681throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1692switch (_targetLang) 1713throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1719switch (_targetLang) 1748throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1816switch (_targetLang) 1825throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1834switch (_targetLang) 1843throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1849switch (_targetLang) 1858throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1864switch (_targetLang)