4 references to WithExplicitType
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Deconstruct.cs (2)
642
BoundLocal { DeclarationKind: BoundLocalDeclarationKind.
WithExplicitType
or BoundLocalDeclarationKind.WithInferredType, LocalSymbol: var symbol } => symbol,
910
return new BoundLocal(syntax, localSymbol, BoundLocalDeclarationKind.
WithExplicitType
, constantValueOpt: null, isNullableUnknown: false, type: declTypeWithAnnotations.Type, hasErrors: hasErrors);
Binder\Binder_Expressions.cs (1)
3191
return new BoundLocal(declarationExpression, localSymbol, BoundLocalDeclarationKind.
WithExplicitType
, constantValueOpt: null, isNullableUnknown: false, type: declType.Type);
Binder\Binder_Patterns.cs (1)
900
syntax: designation, localSymbol: localSymbol, localSymbol.IsVar ? BoundLocalDeclarationKind.WithInferredType : BoundLocalDeclarationKind.
WithExplicitType
, constantValueOpt: null, isNullableUnknown: false, type: declType.Type);