コード例 #1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Before public void prepare()
        public virtual void Prepare()
        {
            Elements elements = CompilationRule.Elements;

            _types               = CompilationRule.Types;
            _typeMirrorUtils     = new TypeMirrorUtils(_types, elements);
            _typeMirrorTestUtils = new TypeMirrorTestUtils(CompilationRule);
        }
コード例 #2
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Before public void prepare()
        public virtual void Prepare()
        {
            Types           types       = Compilation.Types;
            Elements        elements    = Compilation.Elements;
            TypeMirrorUtils typeMirrors = new TypeMirrorUtils(types, elements);

            _typeMirrorTestUtils = new TypeMirrorTestUtils(Compilation);
            _visitor             = new RecordTypeVisitor(types, typeMirrors);
        }