5 references to PreserveAliases
Microsoft.CodeAnalysis.CSharp (5)
Compilation\CSharpSemanticModel.cs (3)
1175SymbolInfo info = GetSymbolInfoWorker(nameSyntax, SymbolInfoOptions.PreferTypeToConstructors | SymbolInfoOptions.PreserveAliases, cancellationToken); 1208var symbolInfo = this.GetSymbolInfoForNode(SymbolInfoOptions.PreferTypeToConstructors | SymbolInfoOptions.PreserveAliases, 4900((options & SymbolInfoOptions.PreserveAliases) != 0), "Options are mutually exclusive");
Compilation\SpeculativeSyntaxTreeSemanticModel.cs (1)
121if ((options & SymbolInfoOptions.PreserveAliases) != 0)
Compilation\SyntaxTreeSemanticModel.cs (1)
284var symbol = GetSemanticInfoSymbolInNonMemberContext(node, bindVarAsAliasFirst: (options & SymbolInfoOptions.PreserveAliases) != 0);