6 references to Constant
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder_Statements.cs (2)
727
var kind = isConst ? LocalDeclarationKind.
Constant
: LocalDeclarationKind.RegularVariable;
1121
else if (kind == LocalDeclarationKind.
Constant
&& initializerOpt != null && !localDiagnostics.HasAnyResolvedErrors())
Binder\LocalScopeBinder.cs (1)
203
kind = LocalDeclarationKind.
Constant
;
Symbols\LocalSymbol.cs (2)
232
return this.DeclarationKind == LocalDeclarationKind.
Constant
;
306
case LocalDeclarationKind.
Constant
:
Symbols\Source\SourceLocalSymbol.cs (1)
436
case LocalDeclarationKind.
Constant
: