コード例 #1
0
        public ImplicitNullabilityProblemAnalyzer(
            CodeAnnotationAttributesChecker annotationAttributesChecker,
            CodeAnnotationsCache codeAnnotationsCache,
            ImplicitNullabilityProvider implicitNullabilityProvider)
        {
            _annotationAttributesChecker      = annotationAttributesChecker;
            _nullnessProvider                 = codeAnnotationsCache.GetProvider <NullnessProvider>();
            _containerElementNullnessProvider = codeAnnotationsCache.GetProvider <ContainerElementNullnessProvider>();
            _implicitNullabilityProvider      = implicitNullabilityProvider;

            _incorrectNullableAttributeUsageAnalyzer = new IncorrectNullableAttributeUsageAnalyzer(codeAnnotationsCache);
        }
コード例 #2
0
 public ReSharperCustomImplicitNullabilityProvider(ImplicitNullabilityProvider implicitNullabilityProvider)
 {
     Logger.Verbose(".ctor");
     _implicitNullabilityProvider = implicitNullabilityProvider;
 }