3 instantiations of ExtensionScope
Microsoft.CodeAnalysis.CSharp (3)
Binder\ExtensionScope.cs (3)
54
_current = new
ExtensionScope
();
84
return new
ExtensionScope
(scope);
88
return new
ExtensionScope
();
17 references to ExtensionScope
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder_Expressions.cs (6)
8555
foreach (
var
scope in new ExtensionScopes(this))
8614
ExtensionScope
scope,
8846
ExtensionScope
scope,
8884
private void LookupExtensionMethods(LookupResult lookupResult,
ExtensionScope
scope, string rightName, int arity, ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo)
10897
foreach (
var
scope in new ExtensionScopes(this))
11074
foreach (
var
scope in new ExtensionScopes(this))
Binder\Binder_Lookup.cs (2)
52
foreach (
var
scope in new ExtensionScopes(this))
535
private void LookupExtensionMethodsInSingleBinder(
ExtensionScope
scope, LookupResult result, string name, int arity, LookupOptions options, ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo)
Binder\Binder_Operators.cs (4)
581
foreach (
var
scope in new ExtensionScopes(this))
2026
foreach (
var
scope in new ExtensionScopes(this))
2314
foreach (
var
scope in new ExtensionScopes(this))
3540
foreach (
var
scope in new ExtensionScopes(this))
Binder\Binder_Symbols.cs (1)
1565
foreach (
var
scope in new ExtensionScopes(this))
Binder\ExtensionScope.cs (3)
49
private
ExtensionScope
_current;
57
public
ExtensionScope
Current
78
private static
ExtensionScope
GetNextScope(Binder binder)
Compilation\CSharpSemanticModel.cs (1)
4641
foreach (
var
scope in new ExtensionScopes(binder))