10 references to IsAnalyzingAttribute
Microsoft.CodeAnalysis.CSharp (10)
FlowAnalysis\NullableWalker.cs (10)
7454
if (
IsAnalyzingAttribute
)
7467
if (
IsAnalyzingAttribute
)
7744
bool parameterHasNotNullIfNotNull = !
IsAnalyzingAttribute
&& !parametersOpt.IsDefault && parametersOpt.Any(static p => !p.NotNullIfParameterNotNull.IsEmpty);
7751
ImmutableHashSet<string>? returnNotNullIfParameterNotNull =
IsAnalyzingAttribute
? null : method?.ReturnNotNullIfParameterNotNull;
7865
if (!
IsAnalyzingAttribute
&& method is not null && (method.FlowAnalysisAnnotations & FlowAnalysisAnnotations.DoesNotReturn) == FlowAnalysisAnnotations.DoesNotReturn)
8516
if (!
IsAnalyzingAttribute
&& notNullParametersOpt is object)
11376
var annotations =
IsAnalyzingAttribute
? FlowAnalysisAnnotations.None : property.GetFlowAnalysisAnnotations();
11411
if (
IsAnalyzingAttribute
)
11440
if (
IsAnalyzingAttribute
)
12277
if (!
IsAnalyzingAttribute
)