Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats
    Version Source
  • .NET Upgrade Planner
  1. Catalog
  2. Mono.CSharp
  3. Constant
  4. IsDefaultValue
  • Constant
    • Constant(Location)
    • IsDefaultValue
    • IsLiteral
    • IsNegative
    • IsOneInteger
    • IsSideEffectFree
    • IsZeroInteger
    • Clone(CloneContext)
    • CloneTo(CloneContext, Expression)
    • ContainsEmitWithAwait()
    • ConvertExplicitly(Boolean, TypeSpec)
    • ConvertImplicitly(TypeSpec)
    • CreateConstantFromValue(TypeSpec, Object, Location)
    • CreateExpressionTree(ResolveContext)
    • DoResolve(ResolveContext)
    • EmitSideEffect(EmitContext)
    • Error_ValueCannotBeConverted(ResolveContext, TypeSpec, Boolean)
    • ExtractConstantFromValue(TypeSpec, Object, Location)
    • GetTypedValue()
    • GetValue()
    • GetValueAsLiteral()
    • GetValueAsLong()
    • ImplicitConversionRequired(ResolveContext, TypeSpec)
    • IsDefaultInitializer(TypeSpec)
    • MakeExpression(BuilderContext)
    • Reduce(ResolveContext, TypeSpec)
    • Resolve(ResolveContext)
    • ToString()
    • TryReduce(ResolveContext, TypeSpec)
monoandroid
namespace Mono.CSharp
{
    public abstract class Constant : Expression
    {
        public abstract bool IsDefaultValue { get; }
    }
}
Xamarin Android
0.0
Xamarin iOS
0.0
Xamarin macOS
0.0
Xamarin tvOS
0.0
Xamarin watchOS
0.0
Information specific to monoandroid
Assembly

Mono.CSharp , Version=2.0.5.0, PublicKeyToken=0738eb9f132ed756

Referencing

The API is automatically referenced.

Platform Restrictions

This framework does not have platform annotations.

  • Built-in API
  • Package-provided API
Search

10/24/2026
This site is managed by Microsoft | © 2026 Microsoft. All rights reserved.
  • Privacy Statement
  • Consumer Health Privacy
  • Terms of Use
  • Contact Us
  • Hosted on Microsoft Azure
  • Manage cookies
  • Your Privacy Choices
Oops, we couldn't process your request. Reload 🗙