10 references to IsAnalyzingAttribute
Microsoft.CodeAnalysis.CSharp (10)
FlowAnalysis\NullableWalker.cs (10)
7062if (IsAnalyzingAttribute) 7075if (IsAnalyzingAttribute) 7345bool parameterHasNotNullIfNotNull = !IsAnalyzingAttribute && !parametersOpt.IsDefault && parametersOpt.Any(static p => !p.NotNullIfParameterNotNull.IsEmpty); 7352ImmutableHashSet<string>? returnNotNullIfParameterNotNull = IsAnalyzingAttribute ? null : method?.ReturnNotNullIfParameterNotNull; 7465if (!IsAnalyzingAttribute && method is not null && (method.FlowAnalysisAnnotations & FlowAnalysisAnnotations.DoesNotReturn) == FlowAnalysisAnnotations.DoesNotReturn) 8095if (!IsAnalyzingAttribute && notNullParametersOpt is object) 10625var annotations = IsAnalyzingAttribute ? FlowAnalysisAnnotations.None : property.GetFlowAnalysisAnnotations(); 10662if (IsAnalyzingAttribute) 10691if (IsAnalyzingAttribute) 11478if (!IsAnalyzingAttribute)