34 references to OperationInfo
Microsoft.CodeAnalysis.CSharp.CodeStyle (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
810
TakesExpressionTree(info.
OperationInfo
, expressionType))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SemanticFacts\CSharpSemanticFacts.cs (3)
326
var hasOperationInfo = queryInfo.
OperationInfo
.Symbol != null;
333
return token.IsKind(SyntaxKind.InKeyword) ? queryInfo.CastInfo.GetBestOrAllSymbols() : queryInfo.
OperationInfo
.GetBestOrAllSymbols();
339
return queryInfo.
OperationInfo
.GetBestOrAllSymbols();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\SpeculationAnalyzer.cs (2)
739
!SymbolInfosAreCompatible(originalClauseInfo.
OperationInfo
, newClauseInfo.
OperationInfo
);
Microsoft.CodeAnalysis.CSharp.Features (3)
AddImport\CSharpAddImportFeatureService.cs (1)
281
=> InfoBoundSuccessfully(semanticInfo.
OperationInfo
);
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (2)
1508
MemberOrDelegateSignaturesEquivalent(oldQueryClauseInfo.
OperationInfo
.Symbol, newQueryClauseInfo.
OperationInfo
.Symbol);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (18)
Semantics\QueryTests.cs (18)
1463
Assert.Null(info0.
OperationInfo
.Symbol);
1470
Assert.Equal("SelectMany", info1.
OperationInfo
.Symbol.Name);
1471
Assert.NotEqual(MethodKind.ReducedExtension, ((IMethodSymbol)info1.
OperationInfo
.Symbol).MethodKind);
1478
Assert.Equal("SelectMany", info2.
OperationInfo
.Symbol.Name);
1672
Assert.Null(info0.
OperationInfo
.Symbol);
1679
Assert.Equal("SelectMany", info1.
OperationInfo
.Symbol.Name);
1680
Assert.Equal(MethodKind.ReducedExtension, ((IMethodSymbol)info1.
OperationInfo
.Symbol).MethodKind);
1687
Assert.Equal("SelectMany", info2.
OperationInfo
.Symbol.Name);
1728
Assert.Null(info0.
OperationInfo
.Symbol);
1733
Assert.Equal("SelectMany", info1.
OperationInfo
.Symbol.Name);
1766
Assert.Null(info0.
OperationInfo
.Symbol);
1772
Assert.Null(info1.
OperationInfo
.Symbol);
2393
Assert.Null(queryInfoForFrom1.
OperationInfo
.Symbol);
2396
Assert.Equal("SelectMany", queryInfoForFrom2.
OperationInfo
.Symbol.Name);
2905
Assert.Null(info0.
OperationInfo
.Symbol);
2938
Assert.Null(info0.
OperationInfo
.Symbol);
3430
Assert.Null(info0.
OperationInfo
.Symbol);
3435
Assert.Equal("SelectMany", info1.
OperationInfo
.Symbol.Name);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Compilation\SemanticModelGetSemanticInfoTests.cs (1)
15377
var infoSymbol = semanticModel.GetQueryClauseInfo(qc).
OperationInfo
.Symbol;
Microsoft.CodeAnalysis.CSharp.Workspaces (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
810
TakesExpressionTree(info.
OperationInfo
, expressionType))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SemanticFacts\CSharpSemanticFacts.cs (3)
326
var hasOperationInfo = queryInfo.
OperationInfo
.Symbol != null;
333
return token.IsKind(SyntaxKind.InKeyword) ? queryInfo.CastInfo.GetBestOrAllSymbols() : queryInfo.
OperationInfo
.GetBestOrAllSymbols();
339
return queryInfo.
OperationInfo
.GetBestOrAllSymbols();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\SpeculationAnalyzer.cs (2)
739
!SymbolInfosAreCompatible(originalClauseInfo.
OperationInfo
, newClauseInfo.
OperationInfo
);