| File: BoundTree\BoundLocalDeclarationKind.cs | Web Access |
| Project: src\roslyn\src\Compilers\CSharp\Portable\Microsoft.CodeAnalysis.CSharp.csproj (Microsoft.CodeAnalysis.CSharp) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. namespace Microsoft.CodeAnalysis.CSharp { /// <summary> /// Indicates whether a bound local is also a declaration, and if so was it a declaration with an explicit or an inferred type. /// Ex: /// - In `M(x)`, `x` has `LocalDeclarationKind.None` /// - In `M(out int x)`, `x` has `LocalDeclarationKind.WithExplicitType` /// - In `M(out var x)`, `x` has `LocalDeclarationKind.WithInferredType` /// </summary> internal enum BoundLocalDeclarationKind { None = 0, WithExplicitType, WithInferredType } }