11 references to UsingVariable
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder_Statements.cs (4)
1108if (kind == LocalDeclarationKind.FixedVariable || kind == LocalDeclarationKind.UsingVariable) 1196LocalDeclarationKind kind = outerKind == LocalDeclarationKind.UsingVariable ? LocalDeclarationKind.UsingVariable : LocalDeclarationKind.RegularVariable; 2803Debug.Assert(typeSyntax is not ScopedTypeSyntax || localKind is LocalDeclarationKind.RegularVariable or LocalDeclarationKind.UsingVariable);
Binder\LocalScopeBinder.cs (1)
207kind = LocalDeclarationKind.UsingVariable;
Binder\UsingStatementBinder.cs (2)
58locals.Add(MakeLocal(declarationSyntax, declarator, LocalDeclarationKind.UsingVariable, allowScoped: true)); 128originalBinder.BindForOrUsingOrFixedDeclarations(declarationSyntax, LocalDeclarationKind.UsingVariable, diagnostics, out declarationsOpt);
FlowAnalysis\DefiniteAssignment.cs (1)
2261if (local.DeclarationKind == LocalDeclarationKind.UsingVariable)
Symbols\LocalSymbol.cs (2)
249return this.DeclarationKind == LocalDeclarationKind.UsingVariable; 309case LocalDeclarationKind.UsingVariable:
Symbols\Source\SourceLocalSymbol.cs (1)
438case LocalDeclarationKind.UsingVariable: