59 references to NotAvailable
Microsoft.CodeAnalysis.CSharp (59)
Binder\Binder_Attributes.cs (1)
576lvalue = new BoundFieldAccess(nameSyntax, null, fieldSymbol, ConstantValue.NotAvailable, resultKind, fieldSymbol.Type);
Binder\Binder_Conversions.cs (9)
2468constantValueOpt: ConstantValue.NotAvailable, 2558constantValueOpt: ConstantValue.NotAvailable, 2603constantValueOpt: ConstantValue.NotAvailable, 2664constantValueOpt: ConstantValue.NotAvailable, type: delegateType, hasErrors: true) 2716constantValueOpt: ConstantValue.NotAvailable, 2743return new BoundConversion(syntax, group, conversion, @checked: false, explicitCastInCode: isCast, conversionGroup, inConversionGroupFlags, constantValueOpt: ConstantValue.NotAvailable, type: destination, hasErrors: hasErrors) { WasCompilerGenerated = group.WasCompilerGenerated }; 2816DefaultValueFromAttributes: ConstantValue.NotAvailable 3007constantValueOpt: ConstantValue.NotAvailable, 3024constantValueOpt: ConstantValue.NotAvailable,
Binder\Binder_Invocation.cs (2)
1478defaultValue = new BoundFieldAccess(syntax, null, fieldSymbol, ConstantValue.NotAvailable) { WasCompilerGenerated = true }; 1715else if (defaultConstantValue == ConstantValue.NotAvailable)
Binder\Binder_Operators.cs (8)
850constantValueOpt: ConstantValue.NotAvailable, 951return new BoundBinaryOperator(node, kind, ConstantValue.NotAvailable, methodOpt: null, constrainedToTypeOpt: null, LookupResultKind.Empty, left, right, GetBinaryOperatorErrorType(kind, diagnostics, node), true); 1463return new BoundBinaryOperator(node, kind, ConstantValue.NotAvailable, methodOpt: null, constrainedToTypeOpt: null, 1583ConstantValue.NotAvailable, 1594return new BoundBinaryOperator(node, kind, left, right, ConstantValue.NotAvailable, methodOpt: null, constrainedToTypeOpt: null, lookupResult, originalUserDefinedOperators, CreateErrorType(), true); 4338return new BoundUnaryOperator(node, kind, operand, ConstantValue.NotAvailable, 4359constantValueOpt: ConstantValue.NotAvailable, 4380ConstantValue.NotAvailable,
Binder\Binder_Statements.cs (6)
2693return BoundConversion.Synthesized(node, BindToTypeForErrorRecovery(expr), Conversion.NoConversion, false, explicitCastInCode: false, conversionGroupOpt: null, InConversionGroupFlags.Unspecified, ConstantValue.NotAvailable, boolean, hasErrors: true); 2705ConstantValue.NotAvailable, 2761return BoundConversion.Synthesized(node, expr, Conversion.NoConversion, false, explicitCastInCode: false, conversionGroupOpt: null, InConversionGroupFlags.Unspecified, ConstantValue.NotAvailable, boolean, hasErrors: true); 2781return new BoundUnaryOperator(node, signature.Kind, resultOperand, ConstantValue.NotAvailable, signature.Method, signature.ConstrainedToTypeOpt, resultKind, originalUserDefinedOperators, signature.ReturnType) 3393exceptionSource = new BoundLocal(declaration, local, ConstantValue.NotAvailable, local.Type); 3405if (boundFilter.ConstantValueOpt != ConstantValue.NotAvailable)
Binder\ForEachLoopBinder.cs (2)
672ConstantValue.NotAvailable, 1567ConstantValue.NotAvailable,
Binder\Semantics\Conversions\Conversions.cs (1)
76if (defaultValue != ConstantValue.NotAvailable)
Compiler\MethodBodySynthesizer.cs (5)
122new BoundFieldAccess(syntax, thisReference, hostObjectField, ConstantValue.NotAvailable) { WasCompilerGenerated = true }, 133ConstantValue.NotAvailable, 151new BoundFieldAccess(syntax, thisReference, field, ConstantValue.NotAvailable) { WasCompilerGenerated = true }, 163ConstantValue.NotAvailable, 190var fieldAccess = new BoundFieldAccess(syntax, thisReference, field, ConstantValue.NotAvailable) { WasCompilerGenerated = true };
FlowAnalysis\NullableWalker.cs (1)
8657return expr.ConstantValueOpt == ConstantValue.NotAvailable || !expr.ConstantValueOpt.IsNull || expr.IsSuppressed ? NullableAnnotation.NotAnnotated : NullableAnnotation.Annotated;
Lowering\LocalRewriter\LocalRewriter.cs (1)
322var result = new BoundFieldAccess(node.Syntax, new BoundThisReference(node.Syntax, primaryCtor.ContainingType), field, ConstantValue.NotAvailable, LookupResultKind.Viable, node.Type);
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (4)
757return new BoundUnaryOperator(syntax, UnaryOperatorKind.BoolLogicalNegation, converted, ConstantValue.NotAvailable, MethodSymbol.None, constrainedToTypeOpt: null, LookupResultKind.Viable, boolean) 1648ConstantValue.NotAvailable, 2009new BoundUnaryOperator(syntax, UnaryOperatorKind.BoolLogicalNegation, call, ConstantValue.NotAvailable, null, constrainedToTypeOpt: null, LookupResultKind.Viable, returnType); 2301ConstantValue.NotAvailable,
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (3)
1339MakeConversionNode(null, syntax, conditional.Consequence, conversion, @checked, explicitCastInCode: false, constantValueOpt: ConstantValue.NotAvailable, rewrittenType: type), 1340MakeConversionNode(null, syntax, conditional.Alternative, conversion, @checked, explicitCastInCode: false, constantValueOpt: ConstantValue.NotAvailable, rewrittenType: type), 1341ConstantValue.NotAvailable,
Lowering\LocalRewriter\LocalRewriter_FixedStatement.cs (1)
572new BoundConditionalOperator(factory.Syntax, false, condition, consequenceAssignment, alternativeAssignment, ConstantValue.NotAvailable, localType, wasTargetTyped: false, localType));
Lowering\LocalRewriter\LocalRewriter_Literal.cs (1)
159constantValueOpt: ConstantValue.NotAvailable, initializerExpressionOpt: null, type: ctor.ContainingType);
Lowering\LocalRewriter\LocalRewriter_PreviousSubmissionReference.cs (1)
24return new BoundFieldAccess(syntax, thisReference, targetScriptReference, ConstantValue.NotAvailable);
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (2)
343ConstantValue.NotAvailable, 1011return RewriteConditionalOperator(syntax, condition, consequence, alternative, ConstantValue.NotAvailable, operand.Type, isRef: false);
Lowering\SyntheticBoundNodeFactory.cs (4)
251return new BoundFieldAccess(Syntax, receiver, f, ConstantValue.NotAvailable, LookupResultKind.Viable, f.Type) { WasCompilerGenerated = true }; 576expression = BoundConversion.Synthesized(Syntax, expression, conversion, false, explicitCastInCode: false, conversionGroupOpt: null, InConversionGroupFlags.Unspecified, ConstantValue.NotAvailable, CurrentFunction.ReturnType); 645return new BoundBinaryOperator(this.Syntax, kind, ConstantValue.NotAvailable, methodOpt: null, constrainedToTypeOpt: null, LookupResultKind.Viable, left, right, type) { WasCompilerGenerated = true }; 1884new BoundUnaryOperator(syntax, UnaryOperatorKind.BoolLogicalNegation, call, ConstantValue.NotAvailable, methodOpt: null, constrainedToTypeOpt: null, LookupResultKind.Viable, returnType);
Symbols\Metadata\PE\PEParameterSymbol.cs (1)
273_lazyDefaultValue = ConstantValue.NotAvailable;
Symbols\Source\SourceComplexParameterSymbol.cs (1)
279DefaultValueFromAttributes == ConstantValue.NotAvailable)
Symbols\Source\SourceParameterSymbolBase.cs (2)
88if (defaultValue != ConstantValue.NotAvailable && 91sourceParameter.DefaultValueFromAttributes == ConstantValue.NotAvailable)
Symbols\Synthesized\SynthesizedParameterSymbol.cs (3)
207if (defaultValue != ConstantValue.NotAvailable && 208DefaultValueFromAttributes == ConstantValue.NotAvailable && 419internal override ConstantValue? DefaultValueFromAttributes => _baseParameterForAttributes?.DefaultValueFromAttributes ?? ConstantValue.NotAvailable;