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