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