예제 #1
0
		void CreateStruct(string code)
		{
			AddCodeFile("class.cs", code);
			ITypeDefinition typeDefinition = assemblyModel
				.TopLevelTypeDefinitions
				.First()
				.Resolve();
			
			codeStruct = new CodeStruct(codeModelContext, typeDefinition);
		}
예제 #2
0
		void CreateStruct()
		{
			codeStruct = new CodeStruct(helper.ProjectContent, fakeStruct);
		}