8 references to TryGetSpeculativeSemanticModelForMethodBody
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
FieldKeywordTests.cs (2)
10494Assert.True(model.TryGetSpeculativeSemanticModelForMethodBody(previousAccessor.Body.SpanStart, modifiedAccessor, out var speculativeModel)); 10528Assert.True(model.TryGetSpeculativeSemanticModelForMethodBody(previousAccessor.Body.SpanStart, modifiedAccessor, out var speculativeModel));
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))