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)
601
if ((_symbol as MethodSymbol)?.
IsConstructor
() != true || _useConstructorExitWarnings)
632
if (method.
IsConstructor
())
798
if (method.
IsConstructor
())
1423
Debug.Assert(method.
IsConstructor
());
2148
&& constructor.
IsConstructor
()
2793
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.