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