6 references to TryGetSpeculativeSemanticModelForMethodBody
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\InitOnlyMemberTests.cs (1)
3146
model.
TryGetSpeculativeSemanticModelForMethodBody
(
Semantics\SuppressAccessibilityChecksTests.cs (1)
221
model.
TryGetSpeculativeSemanticModelForMethodBody
(
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
Compilation\SemanticModelAPITests.cs (3)
2452
var success = model.
TryGetSpeculativeSemanticModelForMethodBody
(methodDecl.Body.Statements[0].SpanStart, speculatedMethod, out speculativeModel);
2494
var success = model.
TryGetSpeculativeSemanticModelForMethodBody
(methodDecl.Body.Statements[0].SpanStart, speculatedMethod, out speculativeModel);
2539
var success = model.
TryGetSpeculativeSemanticModelForMethodBody
(methodDecl.Body.Statements[0].SpanStart, speculatedMethod, out speculativeModel);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
SemanticModelReuse\CSharpSemanticModelReuseLanguageService.cs (1)
68
previousSemanticModel.
TryGetSpeculativeSemanticModelForMethodBody
(previousAccessorDeclaration.Body.SpanStart, currentAccessorDeclaration, out speculativeModel))