コード例 #1
0
        public static void Main()
        {
            WarnInIteratorBody.Test();
            SuppressInIteratorBody.Test();

            WarnInAsyncBody.Test();
            SuppressInAsyncBody.Test();

            WarnInAsyncIteratorBody.Test();
            SuppressInAsyncIteratorBody.Test();

            WarnInLocalFunction.Test();
            SuppressInLocalFunction.Test();

            WarnInLambda.Test();
            SuppressInLambda.Test();

            WarnInComplex.Test();
            SuppressInComplex.Test();

            StateMachinesOnlyReferencedViaReflection.Test();

            ComplexCases.AsyncBodyCallingMethodWithRequires.Test();
            ComplexCases.GenericAsyncBodyCallingMethodWithRequires.Test();
            ComplexCases.GenericAsyncEnumerableBodyCallingRequiresWithAnnotations.Test();
        }
コード例 #2
0
 public static void Main()
 {
     SuppressInIteratorBody.Test();
     SuppressInAsyncBody.Test();
     SuppressInLocalFunction.Test();
     SuppressInLambda.Test();
     SuppressInComplex.Test();
 }