18 references to GetPositionForBinding
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (5)
Semantics\LambdaTests.cs (1)
8230var names = model.LookupNames(GetPositionForBinding(source));
Semantics\LookupTests.cs (4)
30var position = testSrc.Contains("/*<bind>*/") ? GetPositionForBinding(tree) : GetPositionForBinding(testSrc); 39var position = testSrc.Contains("/*<bind>*/") ? GetPositionForBinding(tree) : GetPositionForBinding(testSrc); 733Assert.Equal('{', testSrc[GetPositionForBinding(testSrc)]); 784Assert.Equal('}', testSrc[GetPositionForBinding(testSrc)]);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (13)
Compilation\GetImportScopesTests.cs (13)
24var scopes = model.GetImportScopes(GetPositionForBinding(text)); 415var scopes = model.GetImportScopes(GetPositionForBinding(text)); 434var scopes = model.GetImportScopes(GetPositionForBinding(text)); 456var scopes = model.GetImportScopes(GetPositionForBinding(text)); 477var scopes = model.GetImportScopes(GetPositionForBinding(text)); 497var scopes = model.GetImportScopes(GetPositionForBinding(text)); 513var scopes = model.GetImportScopes(GetPositionForBinding(text)); 533var scopes = model.GetImportScopes(GetPositionForBinding(text)); 564var scopes = model.GetImportScopes(GetPositionForBinding(text)); 589var scopes = model.GetImportScopes(GetPositionForBinding(text)); 615var scopes = model.GetImportScopes(GetPositionForBinding(text)); 644var scopes = model.GetImportScopes(GetPositionForBinding(text)); 677var scopes = model.GetImportScopes(GetPositionForBinding(text));