11 references to IsConstructor
Microsoft.CodeAnalysis.CSharp (11)
Compiler\MethodCompiler.cs (1)
1921if (reportNullableDiagnostics && method.IsConstructor() && method.IsImplicitlyDeclared && nullableInitialState is object)
FlowAnalysis\NullableWalker.cs (6)
601if ((_symbol as MethodSymbol)?.IsConstructor() != true || _useConstructorExitWarnings) 632if (method.IsConstructor()) 798if (method.IsConstructor()) 1423Debug.Assert(method.IsConstructor()); 2148&& constructor.IsConstructor() 2793else if (methodSymbol.IsConstructor())
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.cs (1)
286Debug.Assert(_factory.CurrentFunction.IsConstructor());
Symbols\MemberSymbolExtensions.cs (1)
398return methodSymbol.IsConstructor()
Symbols\Source\SourceMemberContainerSymbol.cs (1)
2170(method1.IsConstructor() ? this.Name : method1.Name);
Symbols\Source\SourceMemberMethodSymbol.cs (1)
1004Debug.Assert(!this.IsConstructor()); // Constructors should use IsNullableEnabledForConstructorsAndInitializers() instead.