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