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