8 references to IsConstructor
Microsoft.CSharp (8)
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (2)
1002
if ((swt.Sym is MethodSymbol) && swt.Meth().
IsConstructor
())
1038
if (pSym is MethodSymbol meth && meth.
IsConstructor
())
Microsoft\CSharp\RuntimeBinder\Semantics\ExprFactory.cs (1)
68
TypeManager.GetPredefAgg(method.
IsConstructor
() ? PredefinedType.PT_CONSTRUCTORINFO : PredefinedType.PT_METHODINFO).getThisType(),
Microsoft\CSharp\RuntimeBinder\Semantics\MemberLookup.cs (1)
177
if (((_flags & MemLookFlags.Ctor) == 0) != (meth == null || !meth.
IsConstructor
()) ||
Microsoft\CSharp\RuntimeBinder\Semantics\MethodIterator.cs (1)
66
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)
263
if (expr.MethWithInst.Meth().
IsConstructor
())
835
Debug.Assert(expr.MethWithInst.Meth().
IsConstructor
());