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