10 references to IsAnalyzingAttribute
Microsoft.CodeAnalysis.CSharp (10)
FlowAnalysis\NullableWalker.cs (10)
7337
if (
IsAnalyzingAttribute
)
7350
if (
IsAnalyzingAttribute
)
7613
bool parameterHasNotNullIfNotNull = !
IsAnalyzingAttribute
&& !parametersOpt.IsDefault && parametersOpt.Any(static p => !p.NotNullIfParameterNotNull.IsEmpty);
7620
ImmutableHashSet<string>? returnNotNullIfParameterNotNull =
IsAnalyzingAttribute
? null : method?.ReturnNotNullIfParameterNotNull;
7733
if (!
IsAnalyzingAttribute
&& method is not null && (method.FlowAnalysisAnnotations & FlowAnalysisAnnotations.DoesNotReturn) == FlowAnalysisAnnotations.DoesNotReturn)
8388
if (!
IsAnalyzingAttribute
&& notNullParametersOpt is object)
11228
var annotations =
IsAnalyzingAttribute
? FlowAnalysisAnnotations.None : property.GetFlowAnalysisAnnotations();
11265
if (
IsAnalyzingAttribute
)
11294
if (
IsAnalyzingAttribute
)
12095
if (!
IsAnalyzingAttribute
)