67 references to NotAvailable
Microsoft.CodeAnalysis (1)
ConstantValue.cs (1)
359return (size == 0) ? ConstantValue.NotAvailable : ConstantValue.Create(size);
Microsoft.CodeAnalysis.CSharp (62)
Binder\Binder_Attributes.cs (1)
556lvalue = new BoundFieldAccess(nameSyntax, null, fieldSymbol, ConstantValue.NotAvailable, resultKind, fieldSymbol.Type);
Binder\Binder_Conversions.cs (9)
503constantValueOpt: ConstantValue.NotAvailable, 585constantValueOpt: ConstantValue.NotAvailable, 622constantValueOpt: ConstantValue.NotAvailable, 672expr = new BoundConversion(syntax, source, conversion, @checked: false, explicitCastInCode: isCast, conversionGroup, constantValueOpt: ConstantValue.NotAvailable, type: delegateType, hasErrors: true) { WasCompilerGenerated = source.WasCompilerGenerated }; 715constantValueOpt: ConstantValue.NotAvailable, 736return new BoundConversion(syntax, group, conversion, @checked: false, explicitCastInCode: isCast, conversionGroup, constantValueOpt: ConstantValue.NotAvailable, type: destination, hasErrors: hasErrors) { WasCompilerGenerated = group.WasCompilerGenerated }; 799DefaultValueFromAttributes: ConstantValue.NotAvailable 979constantValueOpt: ConstantValue.NotAvailable, 994constantValueOpt: ConstantValue.NotAvailable,
Binder\Binder_Invocation.cs (2)
1215defaultValue = new BoundFieldAccess(syntax, null, fieldSymbol, ConstantValue.NotAvailable) { WasCompilerGenerated = true }; 1398else if (defaultConstantValue == ConstantValue.NotAvailable)
Binder\Binder_Operators.cs (8)
415constantValueOpt: ConstantValue.NotAvailable, 518return new BoundBinaryOperator(node, kind, ConstantValue.NotAvailable, methodOpt: null, constrainedToTypeOpt: null, LookupResultKind.Empty, left, right, GetBinaryOperatorErrorType(kind, diagnostics, node), true); 921return new BoundBinaryOperator(node, kind, ConstantValue.NotAvailable, methodOpt: null, constrainedToTypeOpt: null, 1006ConstantValue.NotAvailable, 1017return new BoundBinaryOperator(node, kind, left, right, ConstantValue.NotAvailable, methodOpt: null, constrainedToTypeOpt: null, lookupResult, originalUserDefinedOperators, CreateErrorType(), true); 2696return new BoundUnaryOperator(node, kind, operand, ConstantValue.NotAvailable, 2717constantValueOpt: ConstantValue.NotAvailable, 2734ConstantValue.NotAvailable,
Binder\Binder_Statements.cs (6)
2546return BoundConversion.Synthesized(node, BindToTypeForErrorRecovery(expr), Conversion.NoConversion, false, explicitCastInCode: false, conversionGroupOpt: null, ConstantValue.NotAvailable, boolean, hasErrors: true); 2558ConstantValue.NotAvailable, 2612return BoundConversion.Synthesized(node, expr, Conversion.NoConversion, false, explicitCastInCode: false, conversionGroupOpt: null, ConstantValue.NotAvailable, boolean, hasErrors: true); 2631return new BoundUnaryOperator(node, signature.Kind, resultOperand, ConstantValue.NotAvailable, signature.Method, signature.ConstrainedToTypeOpt, resultKind, originalUserDefinedOperators, signature.ReturnType) 3241exceptionSource = new BoundLocal(declaration, local, ConstantValue.NotAvailable, local.Type); 3253if (boundFilter.ConstantValueOpt != ConstantValue.NotAvailable)
Binder\ForEachLoopBinder.cs (2)
548ConstantValue.NotAvailable, 1332ConstantValue.NotAvailable,
Binder\Semantics\Conversions\Conversions.cs (1)
76if (defaultValue != ConstantValue.NotAvailable)
Compiler\MethodBodySynthesizer.cs (5)
121new BoundFieldAccess(syntax, thisReference, hostObjectField, ConstantValue.NotAvailable) { WasCompilerGenerated = true }, 131ConstantValue.NotAvailable, 149new BoundFieldAccess(syntax, thisReference, field, ConstantValue.NotAvailable) { WasCompilerGenerated = true }, 160ConstantValue.NotAvailable, 187var fieldAccess = new BoundFieldAccess(syntax, thisReference, field, ConstantValue.NotAvailable) { WasCompilerGenerated = true };
FlowAnalysis\NullableWalker.cs (1)
7097return expr.ConstantValueOpt == ConstantValue.NotAvailable || !expr.ConstantValueOpt.IsNull || expr.IsSuppressed ? NullableAnnotation.NotAnnotated : NullableAnnotation.Annotated;
Lowering\LocalRewriter\LocalRewriter.cs (1)
280var result = new BoundFieldAccess(node.Syntax, new BoundThisReference(node.Syntax, primaryCtor.ContainingType), field, ConstantValue.NotAvailable, LookupResultKind.Viable, node.Type);
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (4)
745return new BoundUnaryOperator(syntax, UnaryOperatorKind.BoolLogicalNegation, converted, ConstantValue.NotAvailable, MethodSymbol.None, constrainedToTypeOpt: null, LookupResultKind.Viable, boolean) 1548ConstantValue.NotAvailable, 1910new BoundUnaryOperator(syntax, UnaryOperatorKind.BoolLogicalNegation, call, ConstantValue.NotAvailable, null, constrainedToTypeOpt: null, LookupResultKind.Viable, returnType); 2202ConstantValue.NotAvailable,
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (3)
1177MakeConversionNode(null, syntax, conditional.Consequence, conversion, @checked, explicitCastInCode: false, constantValueOpt: ConstantValue.NotAvailable, rewrittenType: type), 1178MakeConversionNode(null, syntax, conditional.Alternative, conversion, @checked, explicitCastInCode: false, constantValueOpt: ConstantValue.NotAvailable, rewrittenType: type), 1179ConstantValue.NotAvailable,
Lowering\LocalRewriter\LocalRewriter_FixedStatement.cs (1)
538new 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)
337ConstantValue.NotAvailable, 835return RewriteConditionalOperator(syntax, condition, consequence, alternative, ConstantValue.NotAvailable, operand.Type, isRef: false);
Lowering\SyntheticBoundNodeFactory.cs (4)
290return new BoundFieldAccess(Syntax, receiver, f, ConstantValue.NotAvailable, LookupResultKind.Viable, f.Type) { WasCompilerGenerated = true }; 530expression = BoundConversion.Synthesized(Syntax, expression, conversion, false, explicitCastInCode: false, conversionGroupOpt: null, ConstantValue.NotAvailable, CurrentFunction.ReturnType); 599return new BoundBinaryOperator(this.Syntax, kind, ConstantValue.NotAvailable, methodOpt: null, constrainedToTypeOpt: null, LookupResultKind.Viable, left, right, type) { WasCompilerGenerated = true }; 1742new BoundUnaryOperator(syntax, UnaryOperatorKind.BoolLogicalNegation, call, ConstantValue.NotAvailable, methodOpt: null, constrainedToTypeOpt: null, LookupResultKind.Viable, returnType);
Symbols\Metadata\PE\PEParameterSymbol.cs (1)
261_lazyDefaultValue = ConstantValue.NotAvailable;
Symbols\Source\SourceComplexParameterSymbol.cs (4)
107return (data != null && data.DefaultParameterValue != ConstantValue.Unset) ? data.DefaultParameterValue : ConstantValue.NotAvailable; 265DefaultValueFromAttributes == ConstantValue.NotAvailable) 361return ConstantValue.NotAvailable; 367return ConstantValue.NotAvailable;
Symbols\Source\SourceParameterSymbolBase.cs (2)
82if (defaultValue != ConstantValue.NotAvailable && 84DefaultValueFromAttributes == ConstantValue.NotAvailable)
Symbols\Source\SourceSimpleParameterSymbol.cs (1)
129get { return ConstantValue.NotAvailable; }
Symbols\Synthesized\SynthesizedParameterSymbol.cs (2)
195if (defaultValue != ConstantValue.NotAvailable && 196DefaultValueFromAttributes == ConstantValue.NotAvailable &&
Microsoft.CodeAnalysis.VisualBasic (4)
Lowering\SyntheticBoundNodeFactory.vb (1)
992Dim boundNode = New BoundConversion(_syntax, arg, convKind, isChecked, True, ConstantValue.NotAvailable, type)
Symbols\Metadata\PE\PEFieldSymbol.vb (1)
272Dim defaultValue As ConstantValue = CodeAnalysis.ConstantValue.NotAvailable
Symbols\Metadata\PE\PEParameterSymbol.vb (2)
179_lazyDefaultValue = ConstantValue.NotAvailable 329Dim defaultValue As ConstantValue = ConstantValue.NotAvailable