2 types derived from UnboundLambdaState
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder.QueryUnboundLambdaState.cs (1)
19private sealed class QueryUnboundLambdaState : UnboundLambdaState
BoundTree\UnboundLambda.cs (1)
1486internal sealed class PlainUnboundLambdaState : UnboundLambdaState
14 references to UnboundLambdaState
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder.QueryUnboundLambdaState.cs (1)
69protected override UnboundLambdaState WithCachingCore(bool includeCache)
Binder\Binder_Lambda.cs (1)
371var data = lambda.Data;
BoundTree\UnboundLambda.cs (8)
212/// Behavior of this function should be kept aligned with <see cref="UnboundLambdaState.ReturnInferenceCacheKey"/>. 437private UnboundLambda(SyntaxNode syntax, UnboundLambdaState state, FunctionTypeSymbol? functionType, bool withDependencies, NullableWalker.VariableState? nullableState, NullableWalker.GetterNullResilienceData? getterNullResilienceData, bool hasErrors) : 446var data = Data.WithCaching(true); 454var data = Data.WithCaching(false); 574protected abstract UnboundLambdaState WithCachingCore(bool includeCache); 576internal UnboundLambdaState WithCaching(bool includeCache) 583var state = WithCachingCore(includeCache); 1623protected override UnboundLambdaState WithCachingCore(bool includeCache)
Generated\BoundNodes.xml.Generated.cs (4)
7659public UnboundLambda(SyntaxNode syntax, UnboundLambdaState data, FunctionTypeSymbol? functionType, Boolean withDependencies, bool hasErrors) 7670public UnboundLambda(SyntaxNode syntax, UnboundLambdaState data, FunctionTypeSymbol? functionType, Boolean withDependencies) 7682public UnboundLambdaState Data { get; } 7689public UnboundLambda Update(UnboundLambdaState data, FunctionTypeSymbol? functionType, Boolean withDependencies)