1 write to _targetLang
BoundTreeGenerator (1)
BoundNodeClassWriter.cs (1)
40_targetLang = targetLang;
58 references to _targetLang
BoundTreeGenerator (58)
BoundNodeClassWriter.cs (58)
53switch (_targetLang) 152switch (_targetLang) 161throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 176if (_targetLang == TargetLanguage.CSharp) 184if (_targetLang == TargetLanguage.VB) 207switch (_targetLang) 214throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 220switch (_targetLang) 231throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 237switch (_targetLang) 247throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 253switch (_targetLang) 273throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 294switch (_targetLang) 323throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 329switch (_targetLang) 341throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 374switch (_targetLang) 385throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 418switch (_targetLang) 556throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 564switch (_targetLang) 656throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 672switch (_targetLang) 789if (_targetLang == TargetLanguage.CSharp && (f.Null.ToUpperInvariant() is ("ALLOW" or "ALWAYS")) && !f.Type.EndsWith('?') && !IsValueType(f.Type)) 836switch (_targetLang) 876throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 882switch (_targetLang) 901throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 923foreach (var field in (_targetLang == TargetLanguage.CSharp ? FieldsIncludingOverrides(node) : Fields(node))) 942switch (_targetLang) 953throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1071switch (_targetLang) 1177throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1183switch (_targetLang) 1235throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1241switch (_targetLang) 1363throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1369if (_targetLang != TargetLanguage.CSharp) 1402switch (_targetLang) 1523throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1529switch (_targetLang) 1713throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1729string immutableArrayPrefix = _targetLang switch 1733_ => throw new InvalidOperationException($"Unknown target language {_targetLang}") 1748switch (_targetLang) 1757throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1768switch (_targetLang) 1789throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1795switch (_targetLang) 1824throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1892switch (_targetLang) 1901throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1910switch (_targetLang) 1919throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1925switch (_targetLang) 1934throw new ArgumentException("Unexpected target language", nameof(_targetLang)); 1940switch (_targetLang)