8 references to IsConstructor
Microsoft.CSharp (8)
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (2)
979
if ((swt.Sym is MethodSymbol) && swt.Meth().
IsConstructor
())
1015
if (pSym is MethodSymbol meth && meth.
IsConstructor
())
Microsoft\CSharp\RuntimeBinder\Semantics\ExprFactory.cs (1)
60
TypeManager.GetPredefAgg(method.
IsConstructor
() ? PredefinedType.PT_CONSTRUCTORINFO : PredefinedType.PT_METHODINFO).getThisType(),
Microsoft\CSharp\RuntimeBinder\Semantics\MemberLookup.cs (1)
176
if (((_flags & MemLookFlags.Ctor) == 0) != (meth == null || !meth.
IsConstructor
()) ||
Microsoft\CSharp\RuntimeBinder\Semantics\MethodIterator.cs (1)
65
0 == (_flags & EXPRFLAG.EXF_CTOR) != !((MethodSymbol)CurrentSymbol).
IsConstructor
() ||
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\MethodSymbol.cs (1)
76
IsConstructor
();
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExpressionTreeRewriter.cs (2)
262
if (expr.MethWithInst.Meth().
IsConstructor
())
834
Debug.Assert(expr.MethWithInst.Meth().
IsConstructor
());