7 references to TryGetSpeculativeSemanticModel
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
SpeculationAnalyzer.cs (1)
163semanticModel.TryGetSpeculativeSemanticModel(position, (ArrowExpressionClauseSyntax)nodeToSpeculate, out speculativeModel);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
CSharpInlineDeclarationCodeFixProvider.cs (1)
407return semanticModel.TryGetSpeculativeSemanticModel(position, arrowExpression, out speculativeModel);
Microsoft.CodeAnalysis.CSharp.Features (1)
CSharpInlineDeclarationCodeFixProvider.cs (1)
407return semanticModel.TryGetSpeculativeSemanticModel(position, arrowExpression, out speculativeModel);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
Compilation\SemanticModelAPITests.cs (1)
1684bool success = model.TryGetSpeculativeSemanticModel(position, newExpressionBody, out speculativeModel);
Symbols\Source\NullablePublicAPITests.cs (2)
4580Assert.True(model.TryGetSpeculativeSemanticModel(type.SpanStart, arrow, out var speculativeModel)); 4610Assert.True(model.TryGetSpeculativeSemanticModel(type.SpanStart, arrow, out var speculativeModel));
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
SpeculationAnalyzer.cs (1)
163semanticModel.TryGetSpeculativeSemanticModel(position, (ArrowExpressionClauseSyntax)nodeToSpeculate, out speculativeModel);