6 references to PT_G_OPTIONAL
Microsoft.CSharp (6)
Microsoft\CSharp\RuntimeBinder\Semantics\ImplicitConversion.cs (1)
404
!_typeDest.IsPredefType(PredefinedType.
PT_G_OPTIONAL
))
Microsoft\CSharp\RuntimeBinder\Semantics\PredefinedMembers.cs (2)
503
new PredefinedMethodInfo( PREDEFMETH.PM_G_OPTIONAL_CTOR, PredefinedType.
PT_G_OPTIONAL
, PredefinedName.PN_CTOR, MethodCallingConventionEnum.Instance, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_VOID, 1, (int)MethodSignatureEnum.SIG_CLASS_TYVAR, 0 }),
504
new PredefinedMethodInfo( PREDEFMETH.PM_G_OPTIONAL_GETVALUE, PredefinedType.
PT_G_OPTIONAL
, PredefinedName.PN_GETVALUE, MethodCallingConventionEnum.Instance, ACCESS.ACC_PUBLIC, 0, new int[] { (int)MethodSignatureEnum.SIG_CLASS_TYVAR, 0, 0 }),
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\MethodSymbol.cs (1)
73
return getClass().isPredefAgg(PredefinedType.
PT_G_OPTIONAL
) &&
Microsoft\CSharp\RuntimeBinder\Semantics\Types\PredefinedTypes.cs (1)
154
new PredefinedTypeInfo(PredefinedType.
PT_G_OPTIONAL
, typeof(Nullable<>), "System.Nullable`1", FUNDTYPE.FT_STRUCT),
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeManager.cs (1)
180
public static AggregateSymbol GetNullable() => GetPredefAgg(PredefinedType.
PT_G_OPTIONAL
);