public MethodReturnValueAnalyzer(SymbolAnalysisContext context, [NotNull] IExternalAnnotationsResolver externalAnnotations, [NotNull] GeneratedCodeDocumentCache generatedCodeCache, [NotNull] FrameworkTypeCache typeCache, bool appliesToItem) : base(context, externalAnnotations, generatedCodeCache, typeCache, appliesToItem) { }
public SymbolAnalyzerFactory([NotNull] IExternalAnnotationsResolver externalAnnotations, [NotNull] GeneratedCodeDocumentCache generatedCodeCache, [NotNull] FrameworkTypeCache typeCache, bool appliesToItem) { Guard.NotNull(externalAnnotations, nameof(externalAnnotations)); Guard.NotNull(generatedCodeCache, nameof(generatedCodeCache)); Guard.NotNull(typeCache, nameof(typeCache)); this.externalAnnotations = externalAnnotations; this.generatedCodeCache = generatedCodeCache; this.typeCache = typeCache; this.appliesToItem = appliesToItem; }
protected BaseSymbolAnalyzer(SymbolAnalysisContext context, [NotNull] IExternalAnnotationsResolver externalAnnotations, [NotNull] GeneratedCodeDocumentCache generatedCodeCache, [NotNull] FrameworkTypeCache typeCache, bool appliesToItem) { Guard.NotNull(externalAnnotations, nameof(externalAnnotations)); Guard.NotNull(generatedCodeCache, nameof(generatedCodeCache)); Guard.NotNull(typeCache, nameof(typeCache)); this.context = context; this.externalAnnotations = externalAnnotations; this.generatedCodeCache = generatedCodeCache; this.typeCache = typeCache; AppliesToItem = appliesToItem; Symbol = (TSymbol)context.Symbol; }
public AnalysisScope([NotNull] IExternalAnnotationsResolver externalAnnotations, [NotNull] GeneratedCodeDocumentCache generatedCodeCache, [NotNull] FrameworkTypeCache typeCache, [NotNull] AnalyzerSettings settings, [NotNull] DiagnosticDescriptor disableReportOnNullableValueTypesRule, bool appliesToItem) { Guard.NotNull(externalAnnotations, nameof(externalAnnotations)); Guard.NotNull(generatedCodeCache, nameof(generatedCodeCache)); Guard.NotNull(typeCache, nameof(typeCache)); Guard.NotNull(settings, nameof(settings)); Guard.NotNull(disableReportOnNullableValueTypesRule, nameof(disableReportOnNullableValueTypesRule)); ExternalAnnotations = externalAnnotations; GeneratedCodeCache = generatedCodeCache; TypeCache = typeCache; Settings = settings; DisableReportOnNullableValueTypesRule = disableReportOnNullableValueTypesRule; AppliesToItem = appliesToItem; }