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