1 instantiation of ParameterModifierType
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeManager.cs (1)
170pParamModifier = new ParameterModifierType(paramType, isOut);
21 references to ParameterModifierType
Microsoft.CSharp (21)
Microsoft\CSharp\RuntimeBinder\Errors\UserStringBuilder.cs (2)
508ParameterModifierType mod = (ParameterModifierType)pType;
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (1)
1106if (indir.Type is ParameterModifierType)
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (2)
960CType argStripped = _pArguments.types[ivar] is ParameterModifierType modArg ? 962CType varStripped = var is ParameterModifierType modVar ? modVar.ParameterType : var;
Microsoft\CSharp\RuntimeBinder\Semantics\ImplicitConversion.cs (1)
144Debug.Assert(ftDest != FUNDTYPE.FT_NONE || _typeDest is ParameterModifierType);
Microsoft\CSharp\RuntimeBinder\Semantics\MethodTypeInferrer.cs (2)
295if (pDest is ParameterModifierType modDest) 301if (pSource is ParameterModifierType modSource)
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeManager.cs (7)
164public static ParameterModifierType GetParameterModifier(CType paramType, bool isOut) 166ParameterModifierType pParamModifier = TypeTable.LookupParameterModifier(paramType, isOut); 267ParameterModifierType mod = (ParameterModifierType)type; 388if (!(typeDst is ParameterModifierType modDest) || modDest.IsOut != ((ParameterModifierType)typeSrc).IsOut) 596Debug.Assert(!(typeSrc is ParameterModifierType));
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeTable.cs (5)
57private static readonly Dictionary<KeyPair<CType, bool>, ParameterModifierType> s_parameterModifierTable = 58new Dictionary<KeyPair<CType, bool>, ParameterModifierType>(); 96public static ParameterModifierType LookupParameterModifier(CType elementType, bool isOut) 99s_parameterModifierTable.TryGetValue(new KeyPair<CType, bool>(elementType, isOut), out ParameterModifierType result); 103public static void InsertParameterModifier(CType elementType, bool isOut, ParameterModifierType parameterModifier)
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (1)
1645if (ctype is ParameterModifierType mod && p.IsOut && !p.IsIn)